| App | X Ads |
| Operation ID | x_ads_list_tracking_tags |
| Type | Action |
| Connection | x_ads (required) |
| Credits per run | 1 |
| Agent / MCP tool | Yes |
Inputs
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
account | DynamicAccount | Yes | - | Select the X Ads account whose tracking tags should be listed. |
tracking_tag_ids | string or array of string | No | - | Scope to specific tracking tag IDs (list or comma-separated, up to 200). |
ad_group_ids | string or array of string | No | - | Scope to tags on specific ad group (line item) IDs (list or comma-separated). |
with_deleted | boolean | No | False | Include deleted tracking tags. |
filters | array of FilterItem | No | - | Additional filters applied to the returned tracking tags. The available fields to filter by are: - id: Filter by tracking tag ID - line_item_id: Filter by ad group ID - tracking_tag_type: Filter by type (IMPRESSION_TAG, CLICK_TRACKER) - tracking_tag_url: Filter by URL Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP_MATCH or IN_LIST. |
limit | integer | No | 100 | Maximum number of tracking tags to return. Default: 100. |
FilterItem
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
field | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. |
operator | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP_MATCH to search/filter by multiple OR values like ’.(summer|holiday).’ |
value | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN_LIST and NOT_IN_LIST, pass the values as one comma-separated string such as ‘a,b,c’, not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. |
SelectableOption
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
value | string | Yes | - | |
label | string | Yes | - |
Output
Type:List[Dict]
Returns the list of tracking tags with their type, URL, and ad group.
Fields: dynamic (depend on the inputs)
