Ads

Create ad account

Create an ad account in a Business portfolio.

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

Creates an ad account in a Business portfolio the authorizing person administers. Meta has no API for personal ad accounts. The currency and time zone cannot be changed afterwards, and a portfolio may only hold a limited number of ad accounts — commonly one until it has spend history — which Meta reports as 422 provider_rejected.

An Idempotency-Key header is required, since a retry would be a second ad account: the same key replays 200 with the same account, 409 ad_account_create_failed if it failed, or 409 ad_account_create_in_progress. A new account is 201, and the account list is refreshed to include it.

Body

businessIdstringRequired
A portfolio from GET `/api/v1/ads/businesses`.
namestringRequired
Up to 100 characters.
timezonestringRequired
An IANA zone Adeli maps to Meta's time zone id, such as America/New_York or Europe/London.
currencystring
ISO 4217. Defaults to USD.