google ads validate query
google_ads_validate_queryValidate metric, dimension, and resource compatibility before running a Google Ads query to prevent errors from segment restrictions or unavailable resources.
Instructions
Validate metric/dimension/resource compatibility BEFORE executing a query. Checks segment restrictions and resource availability.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metrics | Yes | Metric keys to validate | |
| resource | No | Native Google Ads resource from which the GAQL query selects rows. | campaign |
| dimensions | No | Dimension keys to validate |
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. |