Ads

Create an ad account

Meta only.

post/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.

Headers

Idempotency-Keystring required

Required stable key; a replay returns 200 and an in-progress or failed creation returns 409.

Request body

businessIdstring required
namestring required
currency'USD' | 'CAD' | 'MXN' | 'BRL' | 'GBP' | 'EUR' | 'AUD' | 'NZD' | 'INR' | 'SGD' | 'AED' | 'JPY'
timezone'America/Los_Angeles' | 'America/Denver' | 'Pacific/Honolulu' | 'America/Anchorage' | 'America/Phoenix' | 'America/Chicago' | 'America/New_York' | 'America/Toronto' | 'America/Vancouver' | 'America/Mexico_City' | 'America/Sao_Paulo' | 'Europe/London' | 'Europe/Dublin' | 'Europe/Paris' | 'Europe/Berlin' | 'Europe/Madrid' | 'Europe/Amsterdam' | 'Asia/Dubai' | 'Asia/Kolkata' | 'Asia/Singapore' | 'Asia/Tokyo' | 'Australia/Sydney' | 'Pacific/Auckland' | 'UTC' required

Response

Success

replayedboolean required

Changes

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