Skip to content
Get MCP AdsGet MCP Ads, home

x_ads_remove_targeting

Remove a targeting criterion from its line item (undo a targeting mistake).

Remove a targeting criterion from its line item (undo a targeting mistake). Criterion IDs come from list_targeting_criteria or the add response. Preview by default. Ask the user to approve the exact account, target and parameters before confirm:true.

Source
X Ads
Kind
Write
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.
targeting_criterion_idstringRequiredTargeting criterion ID belonging to the selected X Ads account.
confirmbooleanOptionalFalse previews only; true applies this exact change after explicit human confirmation. Default: false.

Calling itLink to this section

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

Type to search