Documentation menu
Ads

Campaign tree

Campaigns, ad sets (TikTok ad groups), and ads with performance at every level.

GEThttps://app.tryadeli.com/api/v1/ads/tree
AuthorizationBearer <API key>How keys work

The Campaign → Ad set → Ad hierarchy for one ad account, with spend, impressions, reach, clicks, ctr, cpc and cpm rolled up at every level. An object that did not deliver in the range reports zeroes rather than being omitted.

Query parameters

adAccountIdstringRequired
An ad account id, in Meta's act_<digits> form.
sincedate
YYYY-MM-DD. Defaults to 28 days ago.
untildate
YYYY-MM-DD. Defaults to today. Ranges over 730 days are rejected.
accountIduuid
The Meta Ads account. A Facebook account id is not accepted.
profileIduuid
Required unless you pass accountId, which names its profile. If you pass both, they must agree.