Run a GAQL query
run_gaql_queryRuns a read-only Google Ads Query Language (GAQL) SELECT on one account and returns the rows as JSON (first 500 rows). Use it only for data the other tools do not cover: for wasted spend, search terms or campaign results they answer in one call. GAQL joins WHERE conditions only with AND: no OR, no parentheses; for alternatives on one field use IN (...), otherwise run separate queries. Use only field names you are sure exist in the current Google Ads API; do not guess.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | A GAQL SELECT statement | |
| customer_id | Yes | Google Ads customer ID, 10 digits (dashes allowed) | |
| login_customer_id | No | Manager account ID used to reach this customer (login-customer-id). Needed when access comes through a manager account. |