Ad Campaigns
Get Per Campaign Metrics
Spend and performance broken down per campaign.
A two-segment LITERAL under a prefix that already has GET /ad-campaigns/{campaign_id} typed int, so this router is included first. The app's own router carries a comment about this exact endpoint being shadowed once already.
get/ad-campaigns/metrics
Request
- Base URL: https://be.graph8.com/api/v1
- URL: https://be.graph8.com/api/v1/ad-campaigns/metrics
- Auth: HTTP bearer
Query parameters
daysinteger
Days to look back.
platform'meta' | 'linkedin' | 'google' | 'x' nullable
One platform. Omit for all.
ad_account_idstring nullable
Headers
Authorizationstring nullable
X-Target-Org-Idstring nullable
Response
Successful Response