List channel entities with optional metrics
List ad accounts, campaigns, ad sets, or ads from the ads-platform integrations connected to your pixel, with optional metric aggregation over a date range.
Required scope: analytics:read.
Documentation Index
Fetch the complete documentation index at: https://docs.upstackdata.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Your Upstack API key. Starts with upstack_.
The pixel id the request targets.
Body
Must match the x-pixel-id header (403 if it doesn't).
none, second, minute, hour, day, week, month, quarter, year At most one grain dimension: campaign, adset, or ad.
Omit for account grain (default).
5campaign, adset, ad ["campaign"]Optional. When set, aggregates the named measures over dateRange.
30Required together with measures. Absent = entity-only listing.
Optional comparison period. Forbidden when measures is absent.
Canonical filter applied to the listing. Common shapes:
scope by channel.resource_source (platform),
channel.account_id (ad account), or
channel.campaign_id (parent campaign for adset/ad grain).
- Option 1
- Option 2
- Option 3
IANA timezone.
1 <= x <= 500x >= 0sourceUpdatedAt, sourceCreatedAt, resourceName asc, desc