get_ad_groups
Retrieve ad groups from your Google Ads account, filtered by campaign or status to focus on active, paused, or removed groups.
Instructions
Get ad groups for a customer, with optional filtering by campaign and status.
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": {
"customer_id": "<customer_id>"
},
"name": "get_ad_groups"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | max rows returned to the caller (hard-capped at 10,000 by the API). | |
| campaign_id | No | optional campaign id to filter ad groups. | |
| customer_id | Yes | Google Ads customer id (digits only; hyphens are stripped). | |
| status_filter | No | optional ad group status filter (ENABLED, PAUSED, or REMOVED). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||