List Campaigns
meta_list_campaignsList campaigns from a Meta ad account, applying status filters and pagination, to obtain names, objectives, status, and budget details.
Instructions
Lists campaigns for a Meta ad account.
Args:
ad_account_id (string): Ad account ID (e.g., act_123456789)
status_filter (string[], optional): Filter by status: ACTIVE, PAUSED, ARCHIVED, DELETED
limit (number): Max results (1–100, default 20)
after (string, optional): Pagination cursor
Returns campaign names, objectives, status, and budget info.
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": {
"ad_account_id": "<ad_account_id>"
},
"name": "meta_list_campaigns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Pagination cursor | |
| limit | No | ||
| ad_account_id | Yes | Ad account ID (e.g., act_123456789) | |
| status_filter | No | Filter by effective status | |
| response_format | No | Output format: 'markdown' for human-readable or 'json' for machine-readable | markdown |