google ads run gaql
google_ads_run_gaqlExecute raw GAQL queries against Google Ads to pull custom reporting data. Get full flexibility to select any fields, filter, and sort metrics.
Instructions
Execute a raw GAQL (Google Ads Query Language) query. Full flexibility for any reporting need. Example: SELECT campaign.name, metrics.impressions FROM campaign WHERE campaign.status = 'ENABLED' AND segments.date DURING LAST_30_DAYS ORDER BY metrics.impressions DESC LIMIT 100
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | GAQL query string (SELECT ... FROM ... WHERE ...) | |
| customerId | Yes | Google Ads customer ID (without dashes, e.g., 1234567890) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Original tool result: parsed JSON when the text is JSON, otherwise the text or multiple MCP content blocks. Provider fields depend on the selected query. |