execute_gaql
Run arbitrary Google Ads Query Language (GAQL) read queries to retrieve account data not covered by other tools.
Instructions
Execute an arbitrary GAQL (Google Ads Query Language) query.
This is the most flexible tool -- use it for any read query not covered by other tools.
GAQL reference: https://developers.google.com/google-ads/api/docs/query/overview
Args:
customer_id: Google Ads customer ID.
query: Full GAQL query string (SELECT ... FROM ... WHERE ...).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"customer_id": "<customer_id>",
"query": "<query>"
},
"name": "execute_gaql"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| customer_id | Yes |