# x_ads_delete_campaign

> Permanently delete an X Ads campaign of the selected account. A write tool that previews before it changes anything, one of 56 X Ads tools on the Get MCP…

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

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

> **Note** Connect your own X Ads account and select the advertisers to expose. Free permits reads; Pro, Team and Enterprise permit writes. Reconnect older connections for media.write. X controls account verification and delivery eligibility.

> **Warning** This tool changes the account. It is absent from the tool list on the Free plan, and it previews by default: without `confirm: true` it describes the change and applies nothing.

|  |  |
| --- | --- |
| Source | [X Ads](https://www.getmcpads.com/docs/sources/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

| Name | Type | Required | Notes |
| --- | --- | --- | --- |
| `account_id` | string | Required | X Ads account ID selected in Sources. |
| `campaign_id` | string | Required | Campaign 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

Through run_write_tool, since it is not announced

```json
{
  "name": "run_write_tool",
  "arguments": {
    "name": "x_ads_delete_campaign",
    "args": {
      "account_id": "<string>",
      "campaign_id": "<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_delete_campaign
Every page under /docs is available as Markdown: append `.md`, or send `Accept: text/markdown`.
