get https://powerinbox.azure-api.net/reporting/lines/
Retrieve a campaign line report with daily or hourly grain.
Campaign line reports are refreshed once an hour. They become final 12h after the end of the previous day in the UTC timezone.
The query and response are OData V4 format. The response may include a "next" link. OData conventions are used for filtering and paging. You can find more information on OData here.
Filter expression
The following fields are filterable
Filter | Description | Format |
---|---|---|
Date (required) | An exact date or a date range in EDM format | YYYY-MM-DDThh:mm:ssZ or YYYY-MM-DDZ |
CompanyId | The company ID to filter by. Most advertisers will only have access to a single company | integer |
You must pass a Date filter
Queries are limited to a maximum time range of 31 days.
Your
Date
filter must be either an exact date or an interval within that maximum time range.
Example:
Date eq 2023-01-01Z and CompanyId eq 1234
Response
The data is returned as an array of reporting entries.
Field | Description | Format |
---|---|---|
Date | The date in EDM format | YYYY-MM-DDThh:mm:ssZ |
CompanyId | The company ID | integer |
CampaignId | The campaign ID | integer |
CampaignLineId | The campaign line ID | integer |
Impressions | The total number of impressions | integer |
Clicks | The total number of clicks | integer |
Conversions | The number of recorded conversions | integer |
Cost | The cost / spend | float |