Given a publisher ID and an optional date, this API retrieves all the active advertisers added to the system for the publisher since the provided date. If no date is specified, this request returns all the active advertisers for the publisher ID. "Active" advertisers are ones who had a minimum number of impressions recorded by ads in their account. The description below details the request URL and supported parameters. The content and responses for this report are identical to those for Get Advertisers API.
To retrieve active advertisers, make a request to the following URL:
http:///jivox/serverAPIs/externalReporting/getActiveAdvertisers.php
The request URL supports the following parameters:
| Parameter | Description |
|---|---|
| apiId | (Required) ID of the API |
| apiKey | (Required) Authentication key |
| apiVersion | (Required) Version number of the API for which authentication key is generated. |
| publisherId | (Required) ID of the publisher or agency for which authentication key is generated. |
| startDate | (Required) Return advertisers with activity since this date. |
| endDate | (Required) Return advertisers with activity before this date |
| minImpressions | (Optional) Return only those advertisers that have at least this many impressions recorded between the start date and the end date. Defaults to 50. |
Using cURL (this command includes hard returns for readability):
xxxxxxxxxxcurl -d 'apiId=jivox.externalReporting&apiKey=MyAPIKey&apiVersion=2.0& publisherId=939&startDate=2013-01-01&endDate=2013-01-31' http:__testserver.jivox.com_jivox_serverAPIs_externalReporting_getActiveAdvertisers.php