Get Campaign Counts
This returns real time reporting data for a campaign.
get/v1/instantcounts/campaign/{CampaignID}
Request
- Base URLhttps://api.kevel.co
- URLhttps://api.kevel.co/v1/instantcounts/campaign/{CampaignID}
- AuthAPI key in header X-Adzerk-ApiKey
Path parameters
CampaignIDinteger required
ID of the Campaign
Query parameters
daysinteger
Returns data for the number of days since the current day. You can request a maximum of 90 days of data and a minimum of 0. days=0 returns data for the current day.
startstring
In the format of YYYY-MM-DD. Returns data starting from the date specified. Must be within the past 90 days. If no end is included, this will return data up to the current day.
endstring
In the format of YYYY-MM-DD. Returns data ending at the date specified. Must be within the past 90 days.
Response
200
Example response
{
"campaigns": {
"123": {
"impressions": 123,
"revenue": 0.117
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.