Create Conversion Event Setting
create_conversion_event_settingDefine active conversion goals by binding standard or custom events to a pixel source ID, enabling oCPC conversion-optimized campaigns.
Instructions
Defines an active conversion goal (e.g. 'order_created', 'lead_created', 'registration_completed') bound to a pixel source ID. Required for oCPC conversion-optimized campaigns.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Display name for the conversion definition (e.g. 'Purchases') | |
| source_id | Yes | Conversion source ID returned by pixel creation (clidsrc_*) | |
| event_type | Yes | Standard event (e.g. 'order_created', 'lead_created', 'registration_completed') or 'custom' | |
| custom_event_name | No | Required if event_type is 'custom' | |
| attribution_window_days | No | Attribution window in days (defaults to 30) |