x_ ads_ delete_ line_ item
Permanently delete an X Ads line item (ad group) of the selected account.
View as MarkdownPermanently 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_toolsandrun_write_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. |
line_item_id | string | Required | Line item (ad group) ID belonging to the selected X Ads account. |
confirm | boolean | Optional | False previews only; true deletes after the person's explicit confirmation of this exact entity. Default: false. |
Calling it
{
"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.