create_api_key
Generate an API key scoped to an ad account for secure programmatic access. The new key appears only once to allow safe storage.
Instructions
Create an API key scoped to the selected ad account (requires AdsOAuth with write or an existing API key with permission). Returns the new key — store it securely, it won't be shown again.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Human-readable key name. | |
| ad_account_id | No | Ad account to scope the new key to. Falls back to env. |