Get ad analytics
Returns detailed performance analytics for an ad. Includes summary metrics, a daily timeline over the requested date range, and optional demographic breakdowns (Meta and TikTok only). If no date range is provided, defaults to the last 90 days. Date range is capped at 730 days max.
Path parameters
Query parameters
Start of date range (YYYY-MM-DD). Defaults to 90 days ago.
End of date range (YYYY-MM-DD). Defaults to today. Max 730-day range.
Comma-separated breakdown dimensions.
Meta: age, gender, country, publisher_platform, device_platform, region.
TikTok: gender, age, country_code, platform, ac, language.
LinkedIn (firmographics): job_title, job_function, seniority, industry, company, company_size, country, region. Rows carry the raw pivot value plus a resolved name. LinkedIn serves these aggregated over the whole range, delays the data 12-24h, and omits segments with fewer than 3 events.
Response
Ad analytics
Example response
{
"analytics": {
"summary": {
"actions": {
"link_click": 160,
"post_engagement": 300,
"offsite_conversion.fb_pixel_purchase": 42
},
"actionValues": {
"offsite_conversion.fb_pixel_purchase": 2456.78,
"offsite_conversion.fb_pixel_add_to_cart": 980.5
},
"costPerAction": {
"link_click": 0.1052,
"offsite_conversion.fb_pixel_purchase": 4.0114
}
},
"daily": [
{
"actions": {
"link_click": 160,
"post_engagement": 300,
"offsite_conversion.fb_pixel_purchase": 42
},
"actionValues": {
"offsite_conversion.fb_pixel_purchase": 2456.78,
"offsite_conversion.fb_pixel_add_to_cart": 980.5
},
"costPerAction": {
"link_click": 0.1052,
"offsite_conversion.fb_pixel_purchase": 4.0114
}
}
]
}
}Changes
Changed in 2 of the 26 revisions of this API.1115
- ▲
the
backfillPendingresponse property const valuetruewas removed for the status202response-property-const-removed
- ▲
- ●
removed the optional property
ad/triggerfrom the response with the200statusresponse-optional-property-removed
- ○
added the media type
application/jsonfor the response with the status202response-media-type-added
- ○
added the optional property
analytics/daily/items/allOf[AdMetrics]/costPerActionto the response with the200statusresponse-optional-property-added
- ○
added the optional property
analytics/daily/items/allOf[AdMetrics]/inlineLinkClickCtrto the response with the200statusresponse-optional-property-added
- ○
added the optional property
analytics/daily/items/allOf[AdMetrics]/inlineLinkClicksto the response with the200statusresponse-optional-property-added
- ○
added the optional property
analytics/daily/items/allOf[AdMetrics]/outboundClicksto the response with the200statusresponse-optional-property-added
- ○
added the optional property
analytics/daily/items/allOf[AdMetrics]/outboundClicksCtrto the response with the200statusresponse-optional-property-added
- ○
added the optional property
analytics/daily/items/allOf[AdMetrics]/uniqueClicksto the response with the200statusresponse-optional-property-added
- ○
added the optional property
analytics/daily/items/allOf[AdMetrics]/uniqueCtrto the response with the200statusresponse-optional-property-added
- ○
added the optional property
analytics/summary/costPerActionto the response with the200statusresponse-optional-property-added
- ○
added the optional property
analytics/summary/inlineLinkClickCtrto the response with the200statusresponse-optional-property-added
- ○
added the optional property
analytics/summary/inlineLinkClicksto the response with the200statusresponse-optional-property-added
- ○
added the optional property
analytics/summary/outboundClicksto the response with the200statusresponse-optional-property-added
- ○
added the optional property
analytics/summary/outboundClicksCtrto the response with the200statusresponse-optional-property-added
- ○
added the optional property
analytics/summary/uniqueClicksto the response with the200statusresponse-optional-property-added
- ○
added the optional property
analytics/summary/uniqueCtrto the response with the200statusresponse-optional-property-added
- ●