POST /api/v1/client-api/metrics/analytics/

Analitik verilerini al

Kullanıcı davranışı ve performans metriklerine ilişkin içgörüler için grafiklerde kullanılmak üzere analitik verilerini alır.

Hız sınırı: Saniyede 2 istek.

Request body

chart_idstringrequired

Hangi grafiğe ihtiyaç duyduğunuzu belirtin. Her istekte yalnızca bir grafik türü belirtebilirsiniz.

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

Grafik verilerini almak istediğiniz tarihi veya zaman dilimini girin

compare_datearray of string

Karşılaştırma tarihini veya zaman dilimini girin

storearray of string

Satın almanın yapıldığı uygulama mağazasına göre filtrele

countryarray of string

Satın almanın gerçekleştiği 2 harfli ülke koduna göre filtrele

store_product_idarray of string

Uygulama mağazasındaki ürünün benzersiz tanımlayıcısı

durationarray of string

Abonelik süresini belirtin

attribution_sourcearray of string

Attribution için kaynak entegrasyon

attribution_statusarray of string

Attribution'ın organik mi yoksa organik olmayan mı olduğunu gösterir

attribution_channelarray of string

İşleme yol açan pazarlama kanalı

attribution_campaignarray of string

İşlemi getiren pazarlama kampanyası

attribution_adgrouparray of string

İşlemi getiren attribution reklam grubu

attribution_adsetarray of string

İşleme yol açan attribution reklam seti

attribution_creativearray of string

Etkinliği ölçmek için izlenen bir reklam veya kampanyadaki belirli görsel ya da metin ögeleri

offer_categoryarray of string

Veri almak istediğiniz teklif kategorilerini belirtin

offer_typearray of string

Veri almak istediğiniz teklif türlerini belirtin

offer_idarray of string

Veri almak istediğiniz belirli teklifleri belirtin

period_unitstring

Analitik verilerinin toplanacağı zaman aralığını belirtin

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

date_typestring

Kullanıcının katılım tarihi olarak hangi tarihin kullanılacağını belirtin

One of: "purchase_date", "profile_install_date"

segmentationstring

Segmentasyonun temelini belirler

formatstring

Dışa aktarma dosya formatını belirtin

One of: "json", "csv"

Responses

Analitik verileri başarıyla alındı

Schema

İstenen grafik türü için analitik verilerini içeren yanıt

dataobject

Farklı metrik türlerini içeren nesne (revenue, proceeds, net_revenue vb.)

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
    }
  }
}

Hatalı İstek

Schema
errorsarray of object
sourcestring
errorsarray of string
error_codestring
status_codeinteger

Yetkisiz

Schema
errorsarray of object
sourcestring
errorsarray of string
error_codestring
status_codeinteger

Hız sınırı aşıldı. API anahtarı başına saniyede maksimum 2 istek.