v8
OpenAPI 3.1.02026-08-033623795.0 MBRetrieve ad report
Performance report for a company, ad campaigns, ad groups, or ads. Always returns aggregate summary totals summed across the scope. Set granularity to additionally get a time series, or set breakdown (campaign/ad_group/ad) to additionally get per-entity rows inside the requested scope. Exactly one of companyId, adCampaignIds, adGroupIds, or adIds must be provided.
Required permissions:
- ad_campaign:stats:read
Query parameters
Scope the report to these ad campaigns (max 100); stats are summed across them. Mutually exclusive with companyId, adGroupIds, and adIds.
Scope the report to these ad groups (max 100); stats are summed across them. Mutually exclusive with companyId, adCampaignIds, and adIds.
Scope the report to these ads (max 100); stats are summed across them. Mutually exclusive with companyId, adCampaignIds, and adGroupIds.
Entity level to group an ad report by.
The unique identifier of a company. Mutually exclusive with adCampaignIds, adGroupIds, and adIds. Use with breakdown to fan out across every campaign, ad group, or ad in the company without paging.
ISO 4217 currency code to report spend in. Defaults to the company's ads reporting currency.
Inclusive start of the reporting window.
Bucket size for external ad stat rows.
Inclusive end of the reporting window.
Response
A successful response
Example response
{
"breakdown": [
{
"granularity": [
{
"bucket_start": "2023-12-01T05:00:00.401Z",
"clicks": 42,
"impressions": 42,
"reach": 42,
"result_count": 42,
"spend": 6.9,
"stat_date": "2023-12-01T05:00:00.401Z",
"stat_hour": 42
}
],
"summary": {
"click_through_rate": 6.9,
"clicks": 42,
"cost_per_click": 6.9,
"cost_per_mille": 6.9,
"cost_per_result": 6.9,
"frequency": 6.9,
"impressions": 42,
"reach": 42,
"result_count": 42,
"return_on_ad_spend": 6.9,
"spend": 6.9
}
}
],
"granularity": [
{
"bucket_start": "2023-12-01T05:00:00.401Z",
"clicks": 42,
"impressions": 42,
"reach": 42,
"result_count": 42,
"spend": 6.9,
"stat_date": "2023-12-01T05:00:00.401Z",
"stat_hour": 42
}
],
"summary": {
"click_through_rate": 6.9,
"clicks": 42,
"cost_per_click": 6.9,
"cost_per_mille": 6.9,
"cost_per_result": 6.9,
"frequency": 6.9,
"impressions": 42,
"reach": 42,
"result_count": 42,
"return_on_ad_spend": 6.9,
"spend": 6.9
}
}