At a glance: InCost API, part of AppsFlyer ROI360, lets ad networks programmatically send advertising cost data to AppsFlyer. Doing so provides advertisers with aggregate cost data and lets them understand the true impact of your network.
About InCost API
InCost API is the optimal solution for ad networks to send cost data to AppsFlyer. Ad network partners send detailed advertising cost data to AppsFlyer using the API. AppsFlyer ingests and processes the data, and makes it available to advertisers and partners via dashboards and reports.
Benefits
- Help your customers understand the true impact of your network with frictionless cost reporting. Without cost data, your customers are missing a crucial piece of the measurement puzzle and can't accurately measure ROAS. As such, they may mistakenly invest in other media sources, negatively impacting your bottom line.
- Prove your ROI with a solution that guarantees accurate, complete, and real-time cost measurement.
- InCost API is quick and simple to deploy, and the impact is almost immediate. You also get complete control over how and when you send the data, including the ability to send cost data for up to 90 days back.
- InCost API supports all campaign pricing models; not just CPI (which is the only model available when sending cost by click).
- Stand out in the AppsFlyer Partner Marketplace with a “Cost” badge that indicates this is a feature you support.
Implementing InCost API
Prerequisites: For InCost API eligibility, your ad network requires:
- That 90% of campaigns contain the Campaign ID in attribution.
- The ability to send data at least 6 times per day for increased data freshness. The specific times are up to the ad network.
- [If the ad network updates data retroactively] The ability to send data for the last 7 days every time, for increased data completion.
To implement InCost API and start sending cost data to AppsFlyer:
- Follow the steps in the following table.
Step # | Action |
---|---|
1 | Apply for InCost:
|
2 | Make sure campaign hierarchies (campaign ID, and optionally, adset ID and ad ID) are included on your attribution links for more than 90% of your traffic. |
3 | Get the AppsFlyer API token from the AppsFlyer dashboard. |
4 | Give the API token to your developer to use in the API authorization header and ask them to follow their instructions to implement the 3 API methods:
|
5 | Test the integration:
|
6 | In the ticket thread (from step 1), confirm with AppsFlyer that your integration is operational. |
7 | Make sure your advertisers enable get cost data in the cost tab of their AppsFlyer integrated partner page. Then they'll begin to receive cost data. |
Fields for InCost Upload JSON
Field | Mandatory | Remarks |
---|---|---|
date | Yes |
|
app_id | Yes |
|
media_source | Yes |
|
af_prt | No* |
|
campaign_id | Yes |
|
campaign_name | Yes |
|
adset_id | No* |
|
adset_name | No |
|
ad_id | No* |
|
site_id | No |
|
ad_name | No |
|
geo | No |
|
currency | Yes |
|
spend | Yes |
|
channel | No |
|
keywords | No |
|
* See the remarks column, as in some cases you must send this field. |