Create campaign
x_ads_create_campaignCreate a paused X/Twitter ad campaign using a specified funding instrument. Set budgets per ad group; activate spend only after explicit user confirmation.
Instructions
Create a campaign PAUSED by default (no spend). Pass entity_status=ACTIVE only with confirm_spend=true after an explicit user ask. Needs funding_instrument_id. BUDGETS ARE SET PER AD GROUP — do not pass a campaign budget. Don't invent names.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"account_id": "<account_id>",
"funding_instrument_id": "<funding_instrument_id>",
"name": "<name>"
},
"name": "x_ads_create_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| account_id | Yes | Ads API account id from x_ads_list_accounts, e.g. 18ce55v2od2 | |
| confirm_spend | No | ||
| entity_status | No | ||
| funding_instrument_id | Yes |