Google Ads performance
gads_performanceQuery Google Ads spend, impressions, clicks, conversions, conversion value, CTR, CPC, CPA, and ROAS by account, campaign, or ad group over a date range, optionally split by date, device, or network.
Instructions
Google Ads performance by account, campaign or ad group over a date range: spend, impressions, clicks, conversions, conversion value, CTR, CPC, CPA and ROAS, optionally split by date, device or network. Built from fixed aggregated GAQL templates (searchStream), highest spend first. Returns "rows", "totals" (ROAS = sum of values / sum of spends) with "totals_complete". start_date and end_date are required (empty -> invalid_dates), the "currency" (looked up when no row), a "date_range" in the account timezone with "data_complete", the unit and definition of each metric, and the "attribution" used.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | Row level: account, campaign or ad_group | campaign |
| limit | No | Maximum rows returned (1 to 1000), highest spend first; totals cover up to 10,000 rows (see totals_complete) | |
| segment | No | Optional split of each row: none, date, device or network | none |
| end_date | No | Required: last day, YYYY-MM-DD (account timezone) | |
| client_id | No | Client id from clients_list; empty uses the only client | |
| start_date | No | Required: first day, YYYY-MM-DD (account timezone) | |
| customer_id | No | Google Ads customer id (digits, dashes allowed), as listed by gads_accounts; empty uses the client's (or GADS_CUSTOMER_ID) |