List campaigns
x_ads_list_campaignsLists ad campaigns for a specified X/Twitter Ads account, returning status (active, paused, draft) and budget information to review or manage campaign performance.
Instructions
List campaigns: status (ACTIVE/PAUSED/DRAFT) and any budgets. Requires account_id.
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>"
},
"name": "x_ads_list_campaigns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| cursor | No | ||
| account_id | Yes | Ads API account id from x_ads_list_accounts, e.g. 18ce55v2od2 | |
| with_deleted | No |