list_campaigns
List ad account campaigns, filterable by status and objective, with pagination for large result sets.
Instructions
List campaigns in the ad account. Supports filtering by status and objective. Returns paginated results.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_campaigns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Pagination cursor for next page | |
| limit | No | Number of results (default 25) | |
| before | No | Pagination cursor for previous page | |
| fields | No | Comma-separated fields to return | |
| status | No | Filter by status: ACTIVE, PAUSED, DELETED, ARCHIVED | |
| objective | No | Filter by objective: OUTCOME_AWARENESS, OUTCOME_ENGAGEMENT, OUTCOME_LEADS, OUTCOME_SALES, OUTCOME_TRAFFIC, OUTCOME_APP_PROMOTION |