Google Ads API v26 GAQL Query Builder & Validator
validate_google_ads_gaql_queryBuild and validate Google Ads Query Language (GAQL) queries against the Google Ads API v26 field catalog across campaign, search_term_view, asset_group, shopping_performance_view, and change_event resources.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "validate_google_ads_gaql_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gaql | No | Raw GAQL string to parse, format, and validate against the v26 catalog (e.g. 'SELECT campaign.name, metrics.cost_micros FROM campaign WHERE segments.date DURING LAST_30_DAYS'). | |
| limit | No | ||
| where | No | WHERE filter conditions when building a structured query. | |
| select | No | Fields to select when building a structured query. | |
| orderBy | No | ||
| resource | No | Structured GAQL resource (used when 'gaql' is omitted). |