Reporting Metrics

Pull an SKAdNetwork report from Apple postbacks

Columns of a row by group_by, besides date (absent with granularity=totals-daily) and the requested metrics. A group_by of several values always includes app, and has the columns of each value.

group_byColumns
appapp_id, app_name, platform, bundle_id, store_id
channelad_network_id, ad_network_name, ad_network_short_id
campaigncampaign_id, campaign_name, the app columns, ad_network_id, ad_network_name
conversion_valueconversion_value
fidelity_typefidelity_type
sk_ad_networksk_ad_network_id
sk_campaignsk_campaign_id
sk_source_appsk_source_app_id
get/v2/reports/skan_apple

Request

  • Base URL
    https://api.tenjin.com
  • Auth
    HTTP bearer

Query parameters

start_datestring date
Example:2026-09-01

First day to include, YYYY-MM-DD. Defaults to 30 days before today

end_datestring date
Example:2026-09-30

Last day to include, YYYY-MM-DD. Defaults to today

app_idsstring[]

Ids of the apps to report on, comma-separated; all accessible apps when blank

[
  "5ca0d40e-a595-430d-bb99-e188ee10d291"
]
channel_idsinteger[]

Ids of the channels to report on, comma-separated; all channels when blank

[
  3
]
granularity'daily' | 'totals-daily'

Period of each row. With totals-daily, one row covers the whole date range

group_bystring[]

Dimensions to group the rows by, comma-separated: one dimension, or several that include app; sk_campaign only together with sk_ad_network

[
  "app",
  "conversion_value"
]
metricsstring[]

Metrics to report, comma-separated; see the Metric Definitions

[
  "conversion_value_count",
  "conversion_value_avg"
]
metric_filtersstring[]

Keep only rows where every filter holds. A filter is metric:op:value; op is gt, gte, lt, lte or eq

omit_blank_rowsboolean

Drop rows where every requested metric is zero or null

pageinteger

Page of results to fetch.

per_pageinteger

Number of results to return per page.

Response

The report

Example response

{
  "data": [
    {
      "attributes": {
        "date": "2026-09-01",
        "app_name": "My Game",
        "platform": "ios",
        "bundle_id": "com.example.mygame",
        "store_id": "655745678",
        "ad_network_id": 3,
        "ad_network_name": "Facebook",
        "ad_network_short_id": "facebook",
        "campaign_name": "Facebook Campaign",
        "conversion_value": 12,
        "fidelity_type": 1,
        "sk_ad_network_id": "v9wttpbfk9.skadnetwork",
        "sk_campaign_id": 7,
        "sk_source_app_id": 1234567890
      }
    }
  ],
  "meta": {
    "per_page": 100,
    "granularity": "daily"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.