list_ad_groups
Retrieve ad groups in an ad account, optionally filtered by campaign ID. Use returned ad group IDs to create ads or fetch insights.
Instructions
List ad groups for the ad account, optionally filtered by campaign_id. Use returned ad_group_id to create ads or fetch insights.
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 |
|---|---|---|---|
| name | No | Filter by name (min 3 chars). | |
| after | No | ||
| limit | No | ||
| order | No | ||
| before | No | ||
| include | No | Optional includes. | |
| campaign_id | No | Filter by campaign ID. | |
| ad_account_id | No | Optional ad account ID override. |