List Campaigns
list_campaignsList ad campaigns in your OpenAI Ads account with cursor pagination, configurable limits, and creation-time sorting for efficient campaign management.
Instructions
List campaigns in the current OpenAI Ads account with pagination.
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 | Cursor for pagination | |
| limit | No | Number of items to return (1-500). Default 20. | |
| order | No | Sort order by creation time | |
| before | No | Cursor for previous page |