SKAdNetwork Reporting API v4

Leverage the SKAN Reporting API to access and analyze attribution data from SKAdNetwork campaigns for your iOS apps.

Read time 10 minutes

Authentication

Bearer API authentication

Description: This API lets you retrieve SKAdNetwork campaign data, including impressions, installs, spend. You can also use it to break down data by campaign, country, ad unit, date and more.

The data can be retrieved in JSON or CSV formats.

SKAN reporting

Method: GET

Endpoint: https://api.ironsrc.com/advertisers/v4/reports/skan?

Parameters

NameMandatoryData typeDescriptionPossible values
startDate
YesDate (UTC); String in the format: YYYY-MM-DD
endDate
YesDate(UTC); String in the format: YYYY-MM-DD
metrics
YesComma-separated list of stringsA list of metrics to be included in the response.impressions
breakdowns
NoComma-separated list of stringsA list of breakdowns by which the response data is returned. The default is none.day
format
NoStringThe format of the response. The default is JSON.json
campaignId
NoComma-separated list of integersList of campaign IDs to filter. Applicable only for SKAN reporting or SKAN reporting and Optimization campaigns.
bundleId
NoComma-separated list of strings

List of bundle IDs to filter. (for example, com.bundle.name.com)

country
NoComma-separated list of strings by ISO 3166-2List of countries to filter.
adUnit
NoStringPresent data for chosen ad units only.rewardedVideo
count
NoIntegerThe maximum number of records to return in the response. The default is 10000.
order
NoStringOrder the results by breakdown/metric.day
direction
NoStringOrder by direction. Default is asc.asc

Request example

https://api.ironsrc.com/advertisers/v4/reports/skan?campaignId=1234567,7654321&country=US,CA&breakdowns=country,day&metrics=impressions, installs,spend&count=100&startDate=2021-04-14&endDate=2021-04-23&direction=desc

Response

If the data in the request exceeds the count parameter, the response will contain a "next" link that will retrieve the next batch of records.

In a JSON response, the "next" link is included in the "paging" property of the response body object. In a CSV response, the "next" link is included in the "Link" header of the response.

If a response is empty and no data exists for the requested filters, the JSON format will result in an empty "data" array and the CSV format will lead to a 204 response (no content).

{
    data: [
     {
            "date": "2021-04-15T00:00:00.000Z",
            "campaignId": 7654321,
            "campaignName": "campaignA",
            "titleBundleId": "com.abc.abc.il",
            "country": "US",
            "impressions": 1308816,
            "storeOpens": 98675
            "installs" : 9765, 
            "spend": 5503.4,
        },
        {
            "date": "2021-04-16T00:00:00.000Z",
            "campaignId": 1234567,
            "campaignName": "campaign_b",
            "titleBundleId": "com.abc.abc.il", 
            "country": "US",
            "impressions": 42960008,
            "storeOpens": 985675 
            "installs" : 87643,
            "spend": 4839.2,
        }, 
        {             
            "date": "2021-04-16T00:00:00.000Z",             
            "campaignId": 1234567,             
            "campaignName": "campaign_b",
            "titleBundleId": "com.abc.abc.il", 
            "country": "CA", 
            "impressions": 2954600,
            "storeOpens": 98675             
            "installs" : 23456,             
            "spend": 3234.98,    
        }
    ],
    paging: {
        "next": "https://api.ironsrc.com/advertisers/v4/reports?campaignId=1234567,7654321&country=US,CA&breakdowns=country,day&metrics=impressions,storeOpens,installs,spend&count=100&startDate=2021-05-01&endDate=2021-06-7&direction=desc&cursor=anVzdF9zb21lX2N1cnNvcl92YWx1ZQ%3D%3D"
    }
}

SKAN CV reporting

Method: GET

Endpoint: https://api.ironsrc.com/advertisers/v4/reports/skan/cv?

NameMandatoryData typeDescriptionPossible values
startDateYesDate (UTC); String in the format: YYYY-MM-DD
endDateYesDate(UTC); String in the format: YYYY-MM-DD
breakdownsNoComma-separated list of stringsA list of breakdowns by which the response data is returned. The default is none.day
formatNoStringThe format of the response. The default is JSON.json
campaignIdNoComma-separated list of integersList of campaign IDs to filter. Applicable only for SKAN reporting or SKAN reporting and Optimization campaigns.
bundleIdNoComma-separated list of strings

List of bundle IDs to filter. (For example, com.bundle.name.com)

countNoIntegerThe maximum number of records to return in the response. The default is 10000.
orderNoStringOrder the results by breakdown.day
directionNoStringOrder by direction. Default is asc.asc

Request example

https://api.ironsrc.com/advertisers/v4/reports/skan/cv?breakdowns=day,campaign,title&startDate=2021-11-10&endDate=2021-11-10&bundleId=com.abcd.game&campaignId=1234567

Response

If the data in the request exceeds the count parameter, the response will contain a "next" link that will retrieve the next batch of records.

In a JSON response, the "next" link is included in the "paging" property of the response body object. In a CSV response, the "next" link is included in the "Link" header of the response.

If a response is empty and no data exists for the requested filters, the JSON format will result in an empty "data" array and the CSV format will lead to a 204 response (no content).

{
    "data": [
        {
            "date": "2021-11-10T00:00:00.000Z",
            "campaignId": 1234567,
            "campaignName": "abcd_campaign_example",
            "titleName": "Sample Title",
            "titleBundleId": "com.abcd.game",
            "conversionValues": {
                "0": 68,
                "1": 0,
                "2": 0,
                "3": 0,
                "4": 0,
                "5": 1,
                ....
                "60": 0,
                "61": 0,
                "62": 0,
                "63": 0
            }
        }
    ]
    paging: {         "next": "https://api.ironsrc.com/advertisers/v4/reports/skan/cv?breakdowns=day,campaign,title&startDate=2021-11-10&endDate=2021-11-10&bundleId=com.abcd.game&campaignId=1234567&direction=desc&cursor=anVzdF9zb21lX2N1cnNvcl92YWx1ZQ%3D%3D"     }
}