List ad groups
list_ad_groupsList ad groups with optional filtering by ids, parent ad plans, and statuses. Supports pagination and returns targeting and monetary fields.
Instructions
Lists ad groups with optional filtering by id, parent ad plan and status. Money fields are in the account currency; targetings holds the geo/demographic/interest targeting structure.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | Filter by ad group ids. | |
| limit | No | Max objects per page (<=250). | |
| fields | No | Ad group fields to return (add "targetings" for the full targeting object). | |
| offset | No | Pagination offset (objects to skip). | |
| statuses | No | Filter by status. | |
| adPlanIds | No | Filter by parent ad plan ids. | |
| autoPaginate | No | Fetch all pages by following offset/count (ignores limit as a total cap). |