gaql_query
Run read-only GAQL queries on Google Ads accounts to retrieve custom data beyond packaged tools. Accepts SELECT only, ensuring no data modifications.
Instructions
Run a read-only GAQL query against an account.
Use this for anything the packaged tools do not cover. Only SELECT queries are accepted — this cannot modify data.
Args: customer_id: Account to query. query: A GAQL SELECT statement. limit: Maximum rows to return (default 100, hard cap 1000).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| customer_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |