create_conversion_event_setting
Create a conversion event setting that links an event type to source pixel IDs, enabling conversions bidding and campaign conversion tracking.
Instructions
Create a conversion event setting linking an event type to source pixel(s). Used for conversions bidding (bidding_type=conversions) and conversion_event_setting_ids on campaigns. Requires name + event_type + source_ids.
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_ids": "<source_ids>"
},
"name": "create_conversion_event_setting"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Event setting name. | |
| event_type | Yes | Event type e.g., order_created, page_viewed, custom, app_installed. | |
| source_ids | Yes | Pixel/source IDs (at least 1). Use pid from create_conversion_pixel. | |
| ad_account_id | No | ||
| custom_event_name | No | Required if event_type=custom: 1–64 lower [a-z0-9_-]. | |
| attribution_window_days | No | Click attribution window days. View-through fixed 1 day. |