Get Network Counts

Troubleshooting Notes

  1. You are required to pass either the days parameter or the start and end parameters.
  2. Unlike other real-time reporting endpoints, the /network endpoint will NOT return data without query parameters. You must specify a time period within the past 90 days. There is no lifetime network reporting data.
  3. If days and start/end are both present in a request (not recommended) start/end will take precedence.

Parameters

days

start

end

Response Example

{
  "network": {
    "12345": {
      "2017-09-12": {
        "impressions": 100,
        "revenue": 10,
        "clicks": 6,
        "passbacks": 0,
        "conversions": 0
      },
      "total": {
        "impressions": 100,
        "revenue": 10,
        "clicks": 6,
        "passbacks": 0,
        "conversions": 0
      }
    }
  }
}

Example cURL Requests

  1. With Days
curl -X GET -H 'X-Adzerk-ApiKey:<API-KEY>' 'https://api.kevel.co/v1/instantcounts/network?days=42'
  1. With Start/End
curl -X GET -H 'X-Adzerk-ApiKey:<API-KEY>' 'https://api.kevel.co/v1/instantcounts/network?start=2017-04-18&end=2017-04-20'