Execute Google Ads report
google_ads_execute_reportExecute a structured Google Ads GAQL query for one account and return the result rows as TSV (tab-separated, header row + one row per line). Report and field names are those of the Google Ads API GAQL reporting schema. Monetary '*_micros' fields are returned in the account's currency (value divided by 1,000,000) with the '_micros' suffix dropped from the column name (e.g. 'metrics.cost_micros' is returned as 'metrics.cost'). This renaming affects only the returned columns; the GAQL must still select and order by the real field names (e.g. 'metrics.cost_micros'). On a Google API error a detailed message describing the problem is returned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Optional maximum number of rows (GAQL LIMIT). | |
| fields | Yes | GAQL fields to select, e.g. ["campaign.name", "metrics.clicks", "metrics.impressions"]. | |
| report | Yes | Google Ads report/resource to query, e.g. "campaign", "ad_group", "keyword_view", "ad_group_ad". | |
| endDate | No | Optional end date (yyyy-MM-dd); startDate is required when set. | |
| orderBy | No | Optional ORDER BY entries, e.g. ["metrics.clicks DESC"]. | |
| accountId | Yes | TrueClicks account id (the numeric Id field from the account listing, not the Google Ads customer id / ClientCustomerId). Must be a Google Ads account accessible by the connector. | |
| startDate | No | Optional start date (yyyy-MM-dd); endDate is required when set. | |
| predicates | No | Optional GAQL WHERE predicates, e.g. ["campaign.status = 'ENABLED'", "metrics.impressions > 0"]. |