Ads

Campaigns, ad sets (TikTok ad groups, LinkedIn campaigns), and ads for an ad account

For LinkedIn, campaigns are campaign groups, adSets are campaigns, and ads are creatives.

get/api/v1/ads/tree

Request

  • Base URL
    https://app.tryadeli.com
  • Auth
    HTTP bearer

Query parameters

accountIdstring uuid

The Meta Ads (meta_ads), TikTok Ads (tiktok_ads) or LinkedIn Ads (linkedin_ads) account. It names its profile and network, so profileId and platform can be left out. A Facebook Pages, organic TikTok or organic LinkedIn account id is not accepted.

profileIdstring uuid

The profile whose ads account to use, when no accountId is given.

platform'meta_ads' | 'tiktok_ads' | 'linkedin_ads'

Needed only when the profile has more than one ad network connected and no accountId is given.

adAccountIdstring required
sincestring
untilstring

Response

Success

platform'meta_ads' | 'tiktok_ads' | 'linkedin_ads' required
accountIdstring uuid required
profileIdstring uuid required
fetchedAtstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.