chatgpt_ads_conversion_events_create
Create a permanent conversion event setting in ChatGPT Ads; verify all arguments first because it cannot be edited or deleted.
Instructions
Creates one conversion event setting, permanently: the API offers no edit or delete, so check every argument first. Returns the new platform object unchanged. Mutates the account. Documented event_type values: app_installed, app_opened, appointment_scheduled, checkout_started, contents_viewed, custom, items_added, lead_created, order_created, page_viewed, registration_completed, subscription_created, trial_started; custom needs custom_event_name. source_id is a pixel's id from chatgpt_ads_pixels_list (not its pixel_id); an answer 'Client data source not found' means it is not a pixel of this account. attribution_window_days is always 30, the only documented value. No idempotency key is offered: if the answer is lost, check chatgpt_ads_conversion_events_list before creating another. No reversal is recorded.
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>",
"event_type": "<event_type>",
"source_id": "<source_id>"
},
"name": "chatgpt_ads_conversion_events_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Event setting name: 1 to 1000 characters on one line, not all spaces. | |
| reason | No | Why this change is being made: one or two sentences naming the evidence and the expected effect. Stored in the journal and on the action_log entry this call produces, for the operator and the next session. | |
| approval | No | External approval this change carries out (recorded and shown, never verified) | |
| expected | No | Expected effects [{metric, direction, target?, horizon_days?, primary?}], exactly one primary:true when several; metric cpa/cpc/cpl/cpm/conversions/cvr/ctr/roas/cost/spend/clicks/impressions; direction up/down/hold. | |
| source_id | Yes | Pixel (conversion source) id as the API returns it (e.g. 'clidsrc_123'). Find it with the matching list tool. | |
| event_type | Yes | The standard event to count (e.g. 'order_created'), or 'custom' for an event of your own named by custom_event_name. | |
| decision_id | No | A proposed decision this change carries out. | |
| custom_event_name | No | Required when event_type is 'custom', refused otherwise: 1-64 letters, digits, '_' or '-', starting and ending with a letter or digit, not a standard event name. The platform lowercases it. |