List ad groups
get_ad_groupsLists ad groups (including PAUSED, never REMOVED): id, name, status, campaign name and status, max_cpc, the campaign's bidding_strategy_type, keyword_count and ad_count. Optionally limit to one campaign, or to status ENABLED or PAUSED. Sorted by campaign then ad group. Paginated via cursor. Pass days (1 to 30) to add performance for the last N complete days to each ad group (impressions, clicks, cost, conversions, conversions_value, ctr, average_cpc) and sort by cost descending. Use this instead of get_campaign_setup when you only need ad group status across many campaigns.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Optional reporting window in whole days in the account's time zone, excluding today: 1 to 30. Pass it to include performance per ad group. | |
| limit | No | Page size, 1-200. Default 50. | |
| cursor | No | Opaque next_cursor from the previous page. Keep the other arguments identical. | |
| status | No | ENABLED or PAUSED. Omit to list both. | |
| campaign_id | No | Optional campaign id (from get_campaigns) to limit results to one campaign. | |
| customer_id | Yes | Google Ads customer ID from get_accounts, e.g. 123-456-7890. |