run_gaql
Run a raw GAQL query against Google Ads to retrieve data as JSON, table, or CSV, with support for pagination and specifying customer IDs.
Instructions
Execute a raw GAQL query and return rows in json, table, or csv format. The workhorse read: any resource, any field the API exposes, passed through faithfully.
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": {
"query": "<query>"
},
"name": "run_gaql"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| format | No | json | |
| page_size | No | ||
| page_token | No | ||
| customer_id | No |