ÿÿ アナリティクスデータã®å–å¾— (API)
POST /api/v1/client-api/metrics/analytics/

アナリティクスデータã®å–å¾—

ãƒãƒ£ãƒ¼ãƒˆã§ã®ãƒ¦ãƒ¼ã‚¶ãƒ¼è¡Œå‹•ã¨ãƒ‘フォーマンス指標ã®ã‚¤ãƒ³ã‚µã‚¤ãƒˆã‚’å¾—ã‚‹ãŸã‚ã®ã‚¢ãƒŠãƒªãƒ†ã‚£ã‚¯ã‚¹ãƒ‡ãƒ¼ã‚¿ã‚’å–å¾—ã—ã¾ã™ã€‚

ã“ã®ã‚¨ãƒ³ãƒ‰ãƒã‚¤ãƒ³ãƒˆã®åŽç›Šã¯ã‚¤ãƒ™ãƒ³ãƒˆãƒ™ãƒ¼ã‚¹ã§ã™ã€‚å„値ã¯ãƒˆãƒ©ãƒ³ã‚¶ã‚¯ã‚·ãƒ§ãƒ³æ—¥ï¼ˆè³¼å…¥ã€æ›´æ–°ã€ã¾ãŸã¯è¿”金ãŒç™ºç”Ÿã—ãŸæ—¥ï¼‰ã«ç´ä»˜ã‘られã¾ã™ã€‚åŽç›Šã‚’トランザクション日ã§ã¯ãªãå„ユーザーã®ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«æ—¥ã«ç´ä»˜ã‘ã‚‹å ´åˆï¼ˆä¾‹ï¼šAds Manager ã¨ã®ç…§åˆï¼‰ã¯ã€ã‚³ãƒ›ãƒ¼ãƒˆã‚¨ãƒ³ãƒ‰ãƒã‚¤ãƒ³ãƒˆï¼ˆPOST /api/v1/client-api/metrics/cohort/)を使用ã—ã¦ãã ã•ã„。

レート制é™ï¼š1 ç§’ã‚ãŸã‚Š 2 リクエスト。

Request body

chart_idstringrequired

å–å¾—ã™ã‚‹ãƒãƒ£ãƒ¼ãƒˆã‚’指定ã—ã¾ã™ã€‚1 回ã®ãƒªã‚¯ã‚¨ã‚¹ãƒˆã§æŒ‡å®šã§ãã‚‹ãƒãƒ£ãƒ¼ãƒˆã‚¿ã‚¤ãƒ—㯠1 ã¤ã®ã¿ã§ã™ã€‚

One of: "revenue", "mrr", "arr", "arppu", "subscriptions_active", "subscriptions_new", "subscriptions_renewal_cancelled", "subscriptions_expired", "trials_active", "trials_new", "trials_renewal_cancelled", "trials_expired", "grace_period", "billing_issue", "refund_events", "refund_money", "non_subscriptions", "arpu", "installs"

filtersobjectrequired
datearray of stringrequired

ãƒãƒ£ãƒ¼ãƒˆãƒ‡ãƒ¼ã‚¿ã‚’å–å¾—ã™ã‚‹æ—¥ä»˜ã¾ãŸã¯æœŸé–“を入力ã—ã¾ã™

compare_datearray of string

比較ã™ã‚‹æ—¥ä»˜ã¾ãŸã¯æœŸé–“を入力ã—ã¾ã™

storearray of string

購入ãŒè¡Œã‚れãŸã‚¢ãƒ—リストアã§ãƒ•ィルタリングã—ã¾ã™

countryarray of string

購入ãŒè¡Œã‚れãŸå›½ã® 2 文字ã®å›½ã‚³ãƒ¼ãƒ‰ã§ãƒ•ィルタリングã—ã¾ã™

store_product_idarray of string

アプリストアã®ãƒ—ロダクト固有識別å­

durationarray of string

ã‚µãƒ–ã‚¹ã‚¯ãƒªãƒ—ã‚·ãƒ§ãƒ³ã®æœŸé–“を指定ã—ã¾ã™

attribution_sourcearray of string

アトリビューションã®ã‚½ãƒ¼ã‚¹ã‚¤ãƒ³ãƒ†ã‚°ãƒ¬ãƒ¼ã‚·ãƒ§ãƒ³

attribution_statusarray of string

アトリビューションãŒã‚ªãƒ¼ã‚¬ãƒ‹ãƒƒã‚¯ã‹éžã‚ªãƒ¼ã‚¬ãƒ‹ãƒƒã‚¯ã‹ã‚’示ã—ã¾ã™

attribution_channelarray of string

トランザクションã«è‡³ã£ãŸãƒžãƒ¼ã‚±ãƒ†ã‚£ãƒ³ã‚°ãƒãƒ£ãƒãƒ«

attribution_campaignarray of string

トランザクションをもãŸã‚‰ã—ãŸãƒžãƒ¼ã‚±ãƒ†ã‚£ãƒ³ã‚°ã‚­ãƒ£ãƒ³ãƒšãƒ¼ãƒ³

attribution_adgrouparray of string

トランザクションをもãŸã‚‰ã—ãŸã‚¢ãƒˆãƒªãƒ“ューション広告グループ

attribution_adsetarray of string

トランザクションã«è‡³ã£ãŸã‚¢ãƒˆãƒªãƒ“ューション広告セット

attribution_creativearray of string

効果測定ã®ãŸã‚ã«è¿½è·¡ã•れる広告ã¾ãŸã¯ã‚­ãƒ£ãƒ³ãƒšãƒ¼ãƒ³å†…ã®ç‰¹å®šã®ãƒ“ジュアルã¾ãŸã¯ãƒ†ã‚­ã‚¹ãƒˆè¦ç´ 

offer_categoryarray of string

データをå–å¾—ã™ã‚‹ã‚ªãƒ•ァーカテゴリを指定ã—ã¾ã™

offer_typearray of string

データをå–å¾—ã™ã‚‹ã‚ªãƒ•ァータイプを指定ã—ã¾ã™

offer_idarray of string

データをå–å¾—ã™ã‚‹ç‰¹å®šã®ã‚ªãƒ•ァーを指定ã—ã¾ã™

period_unitstring

アナリティクスデータを集計ã™ã‚‹æ™‚間間隔を指定ã—ã¾ã™

One of: "day", "week", "month", "quarter", "year"

date_typestring

ユーザーã®å‚加日ã¨ã—ã¦æ‰±ã†æ—¥ä»˜ã‚’指定ã—ã¾ã™

One of: "purchase_date", "profile_install_date"

segmentationstring

セグメンテーションã®åŸºæº–を設定ã—ã¾ã™

formatstring

エクスãƒãƒ¼ãƒˆãƒ•ァイルã®å½¢å¼ã‚’指定ã—ã¾ã™

One of: "json", "csv"

Responses

アナリティクスデータを正常ã«å–å¾—ã—ã¾ã—ãŸ

Schema

リクエストã•れãŸãƒãƒ£ãƒ¼ãƒˆã‚¿ã‚¤ãƒ—ã®ã‚¢ãƒŠãƒªãƒ†ã‚£ã‚¯ã‚¹ãƒ‡ãƒ¼ã‚¿ã‚’å«ã‚€ãƒ¬ã‚¹ãƒãƒ³ã‚¹

dataobject

ç•°ãªã‚‹æŒ‡æ¨™ã‚¿ã‚¤ãƒ—(revenueã€proceedsã€net_revenue ãªã©ï¼‰ã‚’å«ã‚€ã‚ªãƒ–ジェクト

Example
{
  "data": {
    "revenue": {
      "data": [],
      "value": 0,
      "value_from": null,
      "value_to": null,
      "compare_value_from": null,
      "compare_value_to": null,
      "title": "revenue",
      "type": "multi",
      "default_aggregation": "sum",
      "description": "<div>Total money received from both subscriptions and one-time purchases. Does not include\nrevenue from subscriptions and purchases that were refunded afterward. Calculated before the store's fee.<br />\nFor example, there were 5 monthly $10 subs, 1 yearly $100 sub and 10 one-time $50 purchases today,<br />\nrevenue = 5*$10 + 1*$100 + 10*$50 = $650</div>",
      "metric_name": "Revenue",
      "is_json": true,
      "unit": "USD",
      "recommended_period": null
    },
    "proceeds": {
      "data": [],
      "value": 0,
      "value_from": null,
      "value_to": null,
      "compare_value_from": null,
      "compare_value_to": null,
      "title": "revenue",
      "type": "multi",
      "default_aggregation": "sum",
      "description": "<div>Total money received from both subscriptions and one-time purchases. Does not include\nrevenue from subscriptions and purchases that were refunded afterward. Calculated before the store's fee.<br />\nFor example, there were 5 monthly $10 subs, 1 yearly $100 sub and 10 one-time $50 purchases today,<br />\nrevenue = 5*$10 + 1*$100 + 10*$50 = $650</div>",
      "metric_name": "Revenue",
      "is_json": true,
      "unit": "USD",
      "recommended_period": null
    },
    "net_revenue": {
      "data": [],
      "value": 0,
      "value_from": null,
      "value_to": null,
      "compare_value_from": null,
      "compare_value_to": null,
      "title": "revenue",
      "type": "multi",
      "default_aggregation": "sum",
      "description": "<div>Total money received from both subscriptions and one-time purchases. Does not include\nrevenue from subscriptions and purchases that were refunded afterward. Calculated before the store's fee.<br />\nFor example, there were 5 monthly $10 subs, 1 yearly $100 sub and 10 one-time $50 purchases today,<br />\nrevenue = 5*$10 + 1*$100 + 10*$50 = $650</div>",
      "metric_name": "Revenue",
      "is_json": true,
      "unit": "USD",
      "recommended_period": null
    }
  }
}

リクエストãŒä¸æ­£ã§ã™

Schema
errorsarray of object
sourcestring
errorsarray of string
error_codestring
status_codeinteger

èªè¨¼ã•れã¦ã„ã¾ã›ã‚“

Schema
errorsarray of object
sourcestring
errorsarray of string
error_codestring
status_codeinteger

レート制é™ã‚’è¶…éŽã—ã¾ã—ãŸã€‚API キーã”ã¨ã« 1 ç§’ã‚ãŸã‚Šæœ€å¤§ 2 リクエストã§ã™ã€‚

ÿÿÿÿ