get https://sfx.freewheel.tv/api/remote-campaign/get-stats?token=MY_CAMPAIGN_TOKEN'.
This method uses GET to retrieve statistics for a campaign.
Retrieve Statistics Return Parameters
The service provides the following information for the campaign by day from the first day of the campaign to the last day of the campaign (or today if it's active) .
Note
If there is no data present on a given day (i.e. no impressions and no clicks), there will be no corresponding item in the results array. Typically, a campaign that was running on the 19th and the 21st only will not show any data for the 20th. As a consequence, the stats of a campaign that was never active will be an empty array.
Property | Description | Type |
---|---|---|
date | The date in the timezone of the private exchange. in YYYYMMDD format | Integer |
timezone | The timezone in which the date was expressed. This is the timezone of the private exchange. Note: Due to DST, this is _not a GMT offset._ | string, e,g., "Europe/Paris" |
impressions | The number of impressions for this campaign on this day. | Integer |
clicks | The number of clicks for this campaign on this day. | Integer |