# x_ads_list_targeting_criteria

> List targeting criteria for an ads account's line items Native X fields and pagination are preserved; monetary fields ending in _micro are millionths…

[Documentation](https://www.getmcpads.com/docs) / [Sources](https://www.getmcpads.com/docs/sources) / [X Ads](https://www.getmcpads.com/docs/sources/x-ads)

List targeting criteria for an ads account's line items Native X fields and pagination are preserved; monetary fields ending in _micro are millionths of the account currency.

|  |  |
| --- | --- |
| Source | [X Ads](https://www.getmcpads.com/docs/sources/x-ads) |
| Kind | Read |
| Discovery | Reachable through `search_tools` and `run_tool` |
| Account parameter | `account_id` |
| Endpoint | https://mcp.getmcpads.com/x-ads/mcp |

## Parameters

| Name | Type | Required | Notes |
| --- | --- | --- | --- |
| `account_id` | string | Required | X Ads account ID selected in Sources. |
| `count` | integer | Optional | Number of records to return per page (1-1000). |
| `cursor` | string | Optional | Pagination cursor from a previous response. |
| `lang` | string | Optional | BCP-47 language code; adds a localized_name response attribute for localizable criteria. |
| `line_item_ids` | string | Required | Comma-separated line item IDs to scope the targeting criteria to (the legacy API requires this fi... |
| `sort_by` | string | Optional | Sort order as attribute-direction, e.g. created_at-asc or updated_at-desc. |
| `targeting_criterion_ids` | string | Optional | Comma-separated targeting criterion IDs to fetch specific records (max 200). |
| `with_deleted` | boolean | Optional | Include soft-deleted targeting criteria (default false). |
| `with_total_count` | boolean | Optional | Include the total_count response attribute (default false; exclusive with cursor). |

## Calling it

Through run_tool, since it is not announced

```json
{
  "name": "run_tool",
  "arguments": {
    "name": "x_ads_list_targeting_criteria",
    "args": {
      "account_id": "<string>",
      "line_item_ids": "<string>"
    }
  }
}
```

- [X Ads metrics](https://www.getmcpads.com/docs/sources/x-ads/metrics): What you can ask for.
- [X Ads dimensions](https://www.getmcpads.com/docs/sources/x-ads/dimensions): How you can break it down.

---

This page as HTML: https://www.getmcpads.com/docs/sources/x-ads/tools/x_ads_list_targeting_criteria
Every page under /docs is available as Markdown: append `.md`, or send `Accept: text/markdown`.
