Ads

List ad accounts

Meta ad accounts (act_<digits>), TikTok advertisers (<digits>) or LinkedIn ad accounts (<digits>, with the member's role, readOnly and the organizationUrn whose posts they sponsor), depending on the account's network.

get/api/v1/ads/accounts

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.

refresh'true' | 'false'

Optional boolean string; true bypasses the cached list, while false (or omission) uses the cache.

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.