Google Ads API reporting means sending GAQL (Google Ads Query Language) queries to GoogleAdsService and loading the rows into your warehouse, ideally with SearchStream and a rolling reload of recent dates. Getting rows out is the easy part: results stream back quickly and the quotas are generous. Matching the Google Ads UI is harder, because conversions keep changing for weeks, costs arrive in micros, row counts explode when you add one segment, and the access rules changed in September 2026.
This guide is written for data and analytics engineers who need Google Ads data in a warehouse next to Meta, Amazon and the rest, and want it to reconcile with the Google Ads UI.
Everything here reflects the Google Ads API documentation as of October 2026, when v26 was the latest version. Google ships several releases a year, so check the release notes before pinning a version.
Google Ads API access: developer token, manager account and OAuth
If you set up Google Ads API access before September 2026, the model you know has changed. Google's documentation states that developer tokens were sunset on September 9, 2026. API access levels now belong to the Google Cloud project you use to generate OAuth credentials, and existing access levels were moved to Cloud projects based on API activity in the 90 days before the sunset. You can still send a developer-token header, but the API servers ignore it, and Google says a future major version will start rejecting it. Remove it from new code.
The access levels themselves still matter:
- Test: test accounts only
- Explorer: production accounts with a limit of 2,880 operations per day
- Basic: 15,000 operations per day, after brand verification
- Standard: unlimited daily operations, after a manual review
In v25 and later, calling a production account from a project with only test access returns CLOUD_PROJECT_NOT_APPROVED_FOR_PRODUCTION.
OAuth is unchanged in spirit: every request carries an access token for a Google user (or a service account) that can see the accounts you query. For agencies, the practical setup is one user or service account with access to the agency manager account. Google no longer requires a manager account to get started, but it is still how you reach many client accounts with one credential. When you query a client account through a manager, set the login-customer-id header to the manager's customer ID. Leave it out and you get USER_PERMISSION_DENIED.
GAQL basics: resources, segments and metrics
A GAQL query has three kinds of fields:
- Resource attributes, such as
campaign.id,campaign.nameorad_group.status. The FROM clause names one resource, and related resources (for examplecustomerorbidding_strategy) are joined implicitly when you select their fields. - Segments, such as
segments.date,segments.deviceorsegments.conversion_action. Each segment you add splits every row. - Metrics, such as
metrics.impressions,metrics.clicks,metrics.cost_microsandmetrics.conversions.
Rules that trip people up:
- If you select a core date segment (
segments.date,week,month,quarteroryear), the WHERE clause must include a finite date range. - Granular date data (date, week, hour) goes back 37 months. Older requests in v24 and later return
REQUESTED_DATE_GRANULARITY_NOT_SUPPORTED, so use month or longer periods for older history. - A segment in WHERE must also be in SELECT, except core date segments.
- Not every field can be selected with every other field. Check compatibility with
GoogleAdsFieldServiceor the reference pages before you build a query in code. segments.keyword.*fields restrict rows to Search keyword traffic, so Performance Max and Shopping spend disappears from that query.
Google Ads API reporting queries every warehouse needs
These are the queries we start every Google Ads warehouse with. Each is shown as an example with a fixed date range; your extractor would template the dates.
Account list and settings. Run this against the manager account to discover clients, their currency and their time zone:
SELECT
customer_client.id,
customer_client.descriptive_name,
customer_client.manager,
customer_client.status,
customer_client.currency_code,
customer_client.time_zone
FROM customer_client
WHERE customer_client.level <= 1
Campaign performance by day. The core fact table:
SELECT
customer.id,
campaign.id,
campaign.name,
campaign.advertising_channel_type,
campaign.status,
segments.date,
metrics.impressions,
metrics.clicks,
metrics.cost_micros,
metrics.conversions,
metrics.conversions_value,
metrics.conversions_by_conversion_date
FROM campaign
WHERE segments.date BETWEEN '2026-10-01' AND '2026-10-20'
Conversions by action. Spend and conversions by conversion action cannot share one row, because segments.conversion_action is not compatible with metrics such as clicks. Pull it as a separate table:
SELECT
campaign.id,
segments.date,
segments.conversion_action_name,
metrics.conversions,
metrics.conversions_value
FROM campaign
WHERE segments.date BETWEEN '2026-10-01' AND '2026-10-20'
Search terms. For search term analysis use search_term_view, with search_term_view.search_term, segments.date, campaign and ad group IDs, and the usual metrics. Expect this to be the largest table you load.
Then add what your clients actually use: keyword_view for keyword performance, shopping_performance_view for product-level Shopping data, and asset_group related resources for Performance Max. Two details for every query: cost_micros is in millionths of the account currency (divide by 1,000,000), and the currency is the account's own, which is why the first query matters.
SearchStream vs Search and pagination
GoogleAdsService offers two methods for running GAQL:
- Search returns pages of 10,000 rows. You request each page with a page token.
- SearchStream returns all rows over one streaming connection.
Google recommends SearchStream for most use cases and says it is typically faster for multi-page reports because it avoids extra round trips. For reports under 10,000 rows, there is no significant difference. Both count as one operation toward the daily quota per logical query, and paged Search requests with a valid page token are not counted again, though each page is still a separate call against short-term rate limits.
For warehouse loads, use SearchStream and process rows as they arrive rather than holding the whole result in memory. Streams can be interrupted by network drops or deadlines, so set sensible timeouts and retry the whole query for that account and date range on transient errors. Because your loads overwrite a date range (see below), a retry is safe.
Conversion lag and lookback reloads
This is where most Google Ads warehouses drift from the UI.
By default, metrics.conversions is reported against the date of the ad interaction, not the date the conversion happened. A click on October 1 that converts on October 20 increases October 1's conversions on October 20. Google Ads click-through conversion windows default to 30 days and can be set as long as 90 days for some conversion sources. So the last 30 to 90 days of conversion data are never final.
The fix is a rolling reload:
- Each day, reload the last N days for every account and overwrite those dates in the warehouse. Never append.
- Set N to the longest click-through window in use plus a few days. For most accounts on 30-day windows, 35 days is enough.
- If some conversion actions use 90-day windows, add a weekly reload of the full 90 days rather than reloading 90 days every night.
- Load
metrics.conversions_by_conversion_datealongsidemetrics.conversions. Conversion-date reporting matches how finance counts revenue, and it settles faster.
Spend can also move slightly after the fact (invalid click credits, for example), so the same reload covers cost. If you would rather not build this yourself, compare the native BigQuery transfer service and connector tools; our Supermetrics vs custom pipeline comparison covers the tradeoffs.
Google Ads API limits, errors and retries
Daily operations are counted per Google Cloud project: 2,880 for Explorer, 15,000 for Basic, unlimited for Standard. A Search or SearchStream call counts as one operation however many rows it returns. An agency pulling five report queries for 200 accounts every day uses about 1,000 operations, so Basic access is plenty for agency reporting automation. Mutations, keyword planning and audience insights have their own tighter limits, which matters if the same project also runs bid automation.
Errors worth handling explicitly:
RESOURCE_EXHAUSTED: you hit a daily or rate limit, or a response exceeded the 64 MB message size. Back off with jitter; for oversized responses, split the date range.USER_PERMISSION_DENIED: usually a missing or wronglogin-customer-id, or the user lost access to the client account.CLOUD_PROJECT_NOT_APPROVED_FOR_PRODUCTION: the project has only test access.REQUESTED_DATE_GRANULARITY_NOT_SUPPORTED: a daily query older than 37 months.- Transient internal errors: retry with exponential backoff, a capped number of times, then alert.
Log the request ID Google returns with each response. When you need to ask Google support about a discrepancy, it is the first thing they ask for.
Modeling Google Ads next to Meta and Amazon
Once the raw tables load reliably, Google Ads needs to sit in the same model as every other platform. The differences you have to standardize:
- Cost units: Google reports micros. Meta and Amazon report decimal currency amounts. Convert in the staging model.
- Conversion dating: Google's default conversions are dated by interaction. Amazon's attributed sales are also tied to the ad click date within fixed windows, while Meta lets you choose. Keep a column that records which dating rule each platform's numbers use.
- Attribution windows: do not sum platform-reported conversions across platforms and call it total conversions. Each platform credits itself under its own rules.
- Time zone and currency: each account reports in its own time zone and currency, both set when the account is created.
A staging model per platform renames fields into a shared shape (date, account, campaign, spend, clicks, impressions, platform conversions, platform conversion value, currency), and the cross-channel model unions them. Our marketing warehouse post covers the layer structure.
We have built this for agencies and for ad-tech teams. With Pixis, an AI marketing platform working across Meta, Google and TikTok Ads, we engineered two products with their team: the AI ad platform and the creative studio (Pixis case study). See our Google Ads data page and ETL pipelines service for how we run these in production, or hire data engineers to extend your own team. To map your accounts and reports, book a free 30-minute ad data review or start with an ad data plan.
Frequently asked questions
What is GAQL?
GAQL (Google Ads Query Language) is the SQL-like language the Google Ads API uses for reporting. A query selects attributes, segments and metrics FROM one resource, such as campaign, ad_group or search_term_view, with optional WHERE, ORDER BY and LIMIT clauses. There are no joins in the SQL sense: related resources are joined implicitly when you select their fields. You send GAQL through GoogleAdsService using Search or SearchStream.
Do I still need a Google Ads API developer token?
Not for new code. Google's documentation states that developer tokens were sunset on September 9, 2026, and API access levels now belong to the Google Cloud project you use to generate OAuth credentials. The API servers ignore a developer-token header if you still send one, and Google says a future major version will start rejecting it, so remove it.
Should I use SearchStream or Search?
Google recommends SearchStream for most cases. It returns all rows over one streaming connection, while Search returns pages of 10,000 rows and needs a request per page. For reports under 10,000 rows Google says there is no significant performance difference. Use Search when you need page tokens, for example in an interactive tool, and SearchStream for warehouse loads, with retries for interrupted streams.
How many days should I reload Google Ads data?
Match the reload window to the longest click-through conversion window in the account, plus a small buffer. With the default 30-day window, reload the last 30 to 35 days daily. If some conversion actions use 60 or 90 days, either reload that span less often (weekly is common) or report conversions by conversion date, which changes less after the fact.
Can I use a Google Ads API test account?
Yes. A Cloud project with Test access can call test accounts only, which is a sensible place to build and debug an extractor. In v25 and later, calling a production account from a project with only test access returns CLOUD_PROJECT_NOT_APPROVED_FOR_PRODUCTION, so the project needs at least Explorer access before the pipeline reads client accounts.