Create a ChatGPT Ads conversion source (Measurement Pixel)
chatgpt_ads_create_conversion_pixelCreate the web conversion source (the Measurement Pixel's data source) for the ad account, the first step of conversion tracking. Previews by default (dryRun true); set dryRun false only after the user agrees. The result has two different ids: id (used when creating a conversion event, chatgpt_ads_create_conversion_event) and pixelId (what the website's Pixel is initialised with, and what server events use). A name that already exists is refused, so reuse the existing source (chatgpt_ads_conversion_setup_guide shows it). Only works where the user has allowed changes for the ad account. Not built here, on purpose: creating a Conversions API key (it mints a secret; do that in Ads Manager).
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": {
"name": "<name>"
},
"name": "chatgpt_ads_create_conversion_pixel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | A descriptive name, 3 to 1,000 characters, e.g. 'Acme website'. | |
| dryRun | No | Preview only (the default): reads the current value and shows exactly what would change (before and after) without sending anything. Set false only after the user has seen the preview and agreed. | |
| accountId | No | The ChatGPT Ads ad account id, as listed by chatgpt_ads_list_ad_accounts. A connection reaches one ad account, so this is normally left out. |