list_ad_groups
Retrieve ad groups from your OpenAI Ads account, optionally filtered by campaign and with pagination controls.
Instructions
List ad groups, optionally filtered to a campaign.
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_ad_groups"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campaign_id | No | ||
| limit | No | ||
| after | No | ||
| before | No | ||
| order | No | desc |