Use this API to receive all the reporting data about the cost from user acquisition campaigns you run with AppSamurai, including multiple metrics and fields such as campaign ID, app/bundle ID, campaign name, countries and date along with the spent.
Note: Our Cost Reporting API has not any request limit.
Authentication type
Bearer API authentication
Method
Note: Token will be given you by your account manager.
Parameters
With the AppSamurai Cost Reporting API, reports can be filtered by any one of the parameters below. Doing so searches for a direct match to any of the filters. Otherwise, API will give bulk data.
Name | Type | Description |
campaign_id | String | AppSamurai campaign ID |
bundle_id | String | Advertised apps' app/bundle ID |
platform | String | Platform of advertised apps ("ios" for apple, "play" for google play) |
campaign_name | String | Campaign name in AppSamurai platform |
countries | String | Country code of campaigns; US, UK, CA, ES, FR, etc. |
campaign_names_by_update_date | String | If a campaign name has changed, you can use this parameter to call old ones. |
spent | Integer | Amount of Spent |
start_date | String | YYYY-MM-DD (UTC Timezone) |
end_date | String | YYYY-MM-DD (UTC Timezone) |
Request Example URL
JSON Example Response
{
"campaign_id": 123456,
"bundle_id": "com.whatsapp",
"platform": "play",
"campaign_name": "Whatsapp_UA_Android",
"campaign_names_by_update_date": {
"2023-06-29 14:32:43": "Whatsapp_UA_Android"
},
"countries": "UK",
"spent": {
"2023-02-01": "2.20",
"2023-02-02": "2.20",
"2023-02-03": "5.90",
"2023-02-04": "3.70",
"2023-02-05": "1.30",
"2023-02-06": "3.55",
"2023-02-07": "0.55",
}
},