# x_ads_create_campaign

> Create a campaign in an ads account. A write tool that previews before it changes anything, one of 26 X Ads tools on the Get MCP Ads MCP gateway.

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

Create a campaign in an ads account. The campaign is ALWAYS created with entity_status PAUSED ; it cannot serve or spend until explicitly activated with activate_campaign. Campaigns are always created with budget_optimization LINE_ITEM (the only mode ads-api still supports), so budgets are NOT set here: set daily_budget_amount_local_micro on each line item via create_line_item. Schedule (start_time/end_time) and pacing (standard_delivery) also live on line items, not campaigns, in ads-api v12. Preview by default. Ask the user to approve the exact account, target and parameters before confirm:true.

> **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_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. |
| `funding_instrument_id` | string | Required | Funding instrument to bill this campaign to (from list_funding_instruments; must have able_to_fun... |
| `name` | string | Required | Campaign name (1-255 characters). |
| `purchase_order_number` | string | Optional | Booking reference / PO number carried onto invoices for invoice-billed accounts (max 50 characters). |
| `confirm` | boolean | Optional | False previews only; true applies this exact change after explicit human confirmation. Default: `false`. |

## Calling it

Through run_tool, since it is not announced

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