Skip to content

x_ads_delete_line_item

Permanently delete an X Ads line item (ad group) of the selected account.

View as Markdown

Permanently delete an X Ads line item (ad group) of the selected account. X cannot undo it; pausing (x_ads_update_line_item entity_status PAUSED) is the reversible choice. Ownership is read first. Preview by default; apply only after the person explicitly asked for this deletion.

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

Parameters

Parameters
NameTypeRequiredNotes
account_idstringRequiredX Ads account ID selected in Sources.
line_item_idstringRequiredLine item (ad group) ID belonging to the selected X Ads account.
confirmbooleanOptionalFalse previews only; true deletes after the person's explicit confirmation of this exact entity. Default: false.

Calling it

json · Through run_write_tool, since it is not announced
{
  "name": "run_write_tool",
  "arguments": {
    "name": "x_ads_delete_line_item",
    "args": {
      "account_id": "<string>",
      "line_item_id": "<string>"
    }
  }
}

Manage your ads from your AI assistant

Start for free

Free with 1 ad account, no card. Pro is free for 7 days.

Esc

Type to search