Connect ChatGPT Ads
connect_chatgpt_adsDestructive
Connects a ChatGPT Ads (OpenAI) ad account so campaigns can be managed from chat.
Get the key in OpenAI Ads Manager > Settings > Ads API key. Each key is scoped to ONE ad account, so connect one key per account. The key is verified against the account before it is stored (a key that cannot read its own account is rejected rather than saved), and it is stored encrypted. Re-running this for an account you already connected replaces the stored key, which is how you rotate it. confirm=false shows which account the key belongs to without storing anything.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | Yes | ||
| confirm | No |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||