Get Ad Counts

This returns real time reporting data for an ad.

get/v1/instantcounts/ad/{AdID}

Request

  • Base URL
    https://api.kevel.co
  • URL
    https://api.kevel.co/v1/instantcounts/ad/{AdID}
  • Auth
    API key in header X-Adzerk-ApiKey

Path parameters

AdIDinteger required

The ID of the AD

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

OR

Example response

{
  "ads": {
    "123": {
      "impressions": 123,
      "revenue": 0.117
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.