Create X Pixel (web event tag)
x_ads_create_pixelCreate a conversion tracking pixel for X Ads by specifying event type, click/view windows, and retargeting. Returns embed code and website tag ID for site-visit tracking.
Instructions
Create a conversion / site-visit web event tag. type default SITE_VISIT. click_window and view_through_window in days (0,1,7,14,30,60,90). retargeting_enabled default false. Returns embed_code + website_tag_id. Don't invent names.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| type | No | ||
| account_id | Yes | Ads API account id from x_ads_list_accounts, e.g. 18ce55v2od2 | |
| click_window | No | ||
| retargeting_enabled | No | ||
| view_through_window | No |