Inputs
SelectItem
Output
Type:Dict
Returns the created tracking tag.
Fields: dynamic (depend on the inputs)Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Attaches a third-party impression tag or click tracker to an X Ads ad group
| App | X Ads |
| Operation ID | x_ads_create_tracking_tag |
| Type | Action |
| Connection | x_ads (required) |
| Credits per run | 1 |
| Agent / MCP tool | Yes |
| Requires approval | Yes (write operation) |
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
account | DynamicAccount | Yes | - | Select the X Ads account that owns the ad group. |
ad_group_id | string or SelectItem | Yes | - | Ad group (line item) to attach the third-party tracking tag to. |
tracking_tag_type | enum (IMPRESSION_TAG, CLICK_TRACKER) | Yes | - | The kind of tag: IMPRESSION_TAG (fires on impressions) or CLICK_TRACKER (fires on clicks). |
tracking_tag_url | string | Yes | - | The third-party tracking URL to fire. X only accepts Google Campaign Manager (DCM) tags, and the URL must carry the tag id in its dc_trk_cid parameter. |
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
value | string | Yes | - | The value of the selectable item. |
label | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. |
Dict
Returns the created tracking tag.
Fields: dynamic (depend on the inputs)