Please note that this feature requires a unique API key and password. Please contact your account representative for more information.
Introduction
Content.ad offers this REST API to make detailed click data available to advertisers in either XML or JSON format.
Implementation FAQ
How often is performance data updated?
Performance reports are updated by Content.ad once per hour.
How long can I run the report for?
This report can be run for any period 31 days or less. You can use the “startDate” and “endDate” parameters to specify a date range.
How is reporting data grouped?
Depending on your preferences, you can view the specific country, device type, and domain ID of each ad click in a given hour, day, or aggregate time period. See the “Optional Query String Parameters” section below for more information. Because of the granularity of this data, impressions are not available via this report.
Setting Up the API Call
Place the desired parameters into the API call below.
https://rest.content.ad/reports/advertiser/click
Optional Query String Parameters
Example JSON Result Set
{
"rows": [
{
"date":"2016-05-01T00:00:00-07:00",
"campaign_id":00001,
"campaign_name":"Campaign 1",
"ad_id":4567890,
"device":"d",
"country":"US",
"domain_id":"01234",
"clicks":180,
"spend":17.28
"excluded_clicks":2
"conversions":2
"eCPC":0.52
"spend":2.60
},
{
"date":"2016-05-02T00:00:00-07:00",
"campaign_id":00001,
"campaign_name":"Campaign 1",
"ad_id":4567890,
"device":"d",
"country":"US",
"domain_id":"01234",
"clicks":180,
"spend":17.28
"excluded_clicks":2
"conversions":2
"eCPC":0.52
"spend":2.60
}
]
}
If you have a support question or bug report, please contact our support team.