Skip to content
Get MCP AdsGet MCP Ads, home
View as Markdown

x_ads_get_targeting_criterion

Get a single targeting criterion by ID Native X fields and pagination are preserved; monetary fields ending in _micro are millionths of the account currency.

Get a single targeting criterion by ID Native X fields and pagination are preserved; monetary fields ending in _micro are millionths of the account currency.

Source
X Ads
Kind
Read
Discovery
Reachable through search_tools and run_tool
Account parameter
account_id
Endpoint
https://mcp.getmcpads.com/x-ads/mcp

ParametersLink to this section

NameTypeRequiredNotes
account_idstringRequiredX Ads account ID selected in Sources.
langstringOptionalBCP-47 language code; adds a localized_name response attribute for localizable criteria.
targeting_criterion_idstringRequiredTargeting criterion ID belonging to the selected X Ads account.
with_deletedbooleanOptionalInclude the criterion even if soft-deleted (default false).

Calling itLink to this section

jsonThrough run_tool, since it is not announced
{
  "name": "run_tool",
  "arguments": {
    "name": "x_ads_get_targeting_criterion",
    "args": {
      "account_id": "<string>",
      "targeting_criterion_id": "<string>"
    }
  }
}
Esc

Type to search