Create an ad account
ads_create_accountCreate an ad account in a Business portfolio from ads_list_businesses. It is permanent: Meta has no API to close or delete an ad account, a portfolio may only hold a few, and its currency and time zone cannot be changed later — confirm every field with the user first. Reuse the same idempotencyKey when retrying: a repeated key returns the first result instead of creating a second account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| currency | No | USD | |
| timezone | Yes | ||
| accountId | No | The Facebook accountId from list_accounts. Without it, pass profileId to use that profile's Facebook connection. | |
| profileId | No | A profileId from list_profiles. Optional when accountId is given, which names its profile; if both are given they must agree. | |
| businessId | Yes | ||
| idempotencyKey | Yes | A unique value per intended ad account, such as a UUID. Sent as the Idempotency-Key header. |