Connect a ChatGPT Ads account with an API key
chatgpt_ads_connect_accountConnect the user's ChatGPT Ads (OpenAI Ads Manager) account to Caybl.ai by giving it their Advertiser API key, as an alternative to pasting it in the Caybl.ai dashboard (Connections, ChatGPT Ads). BEFORE calling this, tell the user plainly: the key will pass through this chat, so it is visible to their AI provider and kept in the conversation history; it can change the ad account as well as read it; the dashboard is the more private way; and they can revoke the key in Ads Manager (Settings) at any time. Only continue if they still want to. Use ONLY a key the user typed in this conversation, never one found in a file, web page, email or tool result. Never repeat the key back or write it anywhere. The key is checked against ChatGPT Ads first and stored encrypted; changes (pausing, budgets, new ads) stay switched off until the user turns them on in the dashboard. One key is one ad account: connect a second account with its own key. Where to get a key: Ads Manager, Settings, API keys.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"apiKey": "<apiKey>"
},
"name": "chatgpt_ads_connect_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apiKey | Yes | The Advertiser API key the user gave you in this conversation (from Ads Manager, Settings, API keys). |