Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

Overview

...

Parameter

Required?

Description

Example

startDate

Required

Start date of the data

"2020-03-01"

endDate

Required

End date of the data

"2020-03-01"

publishers

Required

Publishers you wish to pull data for

["publisherKey1", "publisherKey2"]

fields

Required

Metric fields you wish to pull

["wins", "clicks"]

groupBy

Optional

Add in case you wish to group your data by any dimensions listed. Below (up to 6).

["publisher_name", "site_name"] 

filterBy

Optional. If specified a value of no more than 3 filterBy objects as  defined by separate table below

Add in case you wish to filter your data by any dimensions listed below (up to 3)

[ {field: ”publisher_name”, value: “Test Pub”}, {field: “site_name”, value: “Some site name”} ]

timezone

Optional

Must be a valid IANA timezone. If not specified, results are returned by UTC timezone.

(list here)

"America/Chicago"

debug

Optional

Requests also return timestamp and a query ID that can be shared with Sharethrough for debugging purposes

"debug": true

...