Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Type of Call

Example

Calling from curl with results in CSV

curl --user "<username>:<password>" --header "Accept: application/csv" "http://api.citygridmedia.com/ads/performance/v2/daily?publisher_code=guest&placement=placement_1&placement=placement_2"

Calling from curl with results in JSON

curl --user "<username>:<password>" --header "Accept: application/json" "http://api.citygridmedia.com/ads/performance/v2/daily?publisher_code=guest&reportTimereport_time=lastWeek&view_type=ads"

Response

...