Analytics
Get ad analytics
Retrieve analytics for a single ad in a project.
GET
Authorizations
Path Parameters
The numeric ID of your project
The ID of the ads campaign
Query Parameters
The way to aggregate the analytics. Possible values are all (aggregate all data together),
year (aggregate data on a yearly basis), month (aggregate data on a yearly basis),
week (aggregate data on a yearly basis), day (aggregate data on a yearly basis), or hour
(aggregate data on an hourly basis, limited to a time_range 7 days or less).
Available options:
all
, hour
, day
, week
, month
, year
The start date of the aggregation period. The value of this property should be a string in the format yyyy-mm-dd according to ISO 8601.
The end date of the aggregation period. The value of this property should be a string in the format yyyy-mm-dd according to ISO 8601.
The metrics that you want to fetch data for
The media variants to fetch data for
Available options:
article
, summary