Ad spend callbacks
The ad spend data point is specifically for accessing ad spend data that networks send to us through our Partner ad spend push API. You need to confirm with the networks you’re running campaigns with whether they are using the Partner ad spend API or the ad spend on engagement method to send us ad spend data.
If they're using ad spend on engagement, you can append thes following placeholders to an impression, click, install, and/or global callback URL instead.
Recommended placeholders
Placeholder | Description | Example |
---|---|---|
{cost_type} | The campaign pricing model | cpi |
{cost_amount} | Cost of the user engagement | 4.99 |
{cost_currency} | ISO 4217 currency code of the cost data | eur |
{reporting_cost} | Cost of the user engagement converted to your app’s reporting currency and as displayed in Datascape | 2.56 |
{cost_id_md5} | An MD5 hash of the cost ID provided by a network using our ad spend API | 73a00ef928d55b23071bff981c098d48 |
Callback example
Other recommended placeholders
We also advise that you include the following placeholders in all callback URLs. These placeholders will ensure that you always receive basic information that you can use to identify the app, link, data point, and device to which the rest of your callback data belongs.
Placeholder | Description | Example |
---|---|---|
{gps_adid} | Google Play Store advertising ID (Android only) | 38400000-8cf0-11bd-b23e-10b96e40000d |
{idfa} | ID for advertisers (iOS only) | 8C6CBCOD-5F43-4765-A6E6-84DFF3D24707 |
{idfv} | ID for vendors (iOS only) | CCB300A0-DE1B-4D48-BC7E-599E453B8DD4 |
{adid} | Adjust device ID | 18546f6171f67e29d1cb983322ad1329 |
{tracker} | Adjust link token | abc123 |
{tracker_name} | Current link name as defined in Campaign Lab | Network1%3A%3AChristmas%3A%3AReindeers%3A%3A320x70_en |
{app_name} | Name of the app | MyApp |
{activity_kind} | This will allow you to determine the data point: impression, click, install, rejected install, rejected reattribution, session, reattribution, uninstall, reinstall, reattribution reinstall, updated attribution, in-app event, or ad spend (cost_updated ) | rejected_reattribution |
{created_at} | The timestamp for when the data point occurred | 1404214665 |