Run GAQL query
gaql_searchRun Google Ads Query Language (GAQL) queries to retrieve data not in standard reports, including assets, conversions, and change history. Handles pagination and converts micros.
Instructions
Run any Google Ads Query Language (GAQL) query against a customer. Use for anything the specific report tools do not cover (assets, conversion actions, change history, bidding strategies, audiences, geo targets, budgets, recommendations…). Pagination is handled; rows are capped by limit. Money fields are converted from micros unless convert_micros is false. Use gaql_fields to discover selectable fields.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max rows to return | |
| query | Yes | GAQL, e.g. SELECT campaign.id, metrics.clicks FROM campaign WHERE segments.date DURING LAST_7_DAYS | |
| customer_id | No | Google Ads customer ID (10 digits, dashes allowed). Defaults to GOOGLE_ADS_CUSTOMER_ID. | |
| convert_micros | No |