Google Search Console to BigQuery

Clicks, impressions and average position from Search Console, by query, page, country or device, in your own BigQuery dataset. Add Date to a report and history builds up.

  • One table per report, named after it: fs_queries_by_day, for example.
  • Refreshes every day on Plus, every 6 hours on Pro and every hour on Max.
  • Up to 125,000 rows a report.

30 days of Plus, free from sign-up. No card needed. Paid plans from £15 a month.

fs_queries_by_day
datequeryclicksimpressions
2026-10-20oat milk latte185845031
2026-10-20coffee beans uk184545916
2026-10-19pour over kit164141910
2026-10-19decaf espresso162342527
2026-10-18oat milk latte143338486
Example, with made-up figures

How to connect Google Search Console to BigQuery

To send data from Google Search Console to BigQuery you need a Google Cloud project with a dataset in it, and access to the site in Search Console.

  1. On the Sources page, choose Connect Google and sign in with the Google account that can see your site in Search Console.
  2. In Fresh Sheets, go to Destinations and choose Add a dataset. Enter the project ID and dataset ID.
  3. In Google Cloud, give the account Fresh Sheets shows you the BigQuery Data Editor role on your dataset, and add the label it shows.
  4. Back in Fresh Sheets, choose Check and add.
  5. Choose New report, pick Search Console and the account, then the fields and date range.
  6. Under Destination, pick your dataset and name the table. Under Schedule, pick how often. Then Save and run.

Columns Search Console writes to BigQuery

Each report is one table: the columns you pick, plus _fs_written_at, the time the row landed. Money is in the account's own currency.

ColumnTypeFresh Sheets field
dateDATEDate
querySTRINGSearch query
pageSTRINGPage
countrySTRINGCountry
deviceSTRINGDevice
search_appearanceSTRINGSearch appearance
clicksINT64Clicks
impressionsINT64Impressions
ctrFLOAT64 (a fraction)CTR
positionFLOAT64Avg. position

Web search results, and finalised data only, so today is never included.

An example

A query for the report saved as Queries by day:

SELECT date, query, SUM(clicks) AS clicks, SUM(impressions) AS impressions, SAFE_DIVIDE(SUM(clicks), SUM(impressions)) AS ctr FROM `your-project.your_dataset.fs_queries_by_day` WHERE date >= DATE_SUB(CURRENT_DATE(), INTERVAL 30 DAY) GROUP BY date, query ORDER BY date DESC, clicks DESC;

Scheduling and refresh

Include Date and each run replaces only its own dates, so history builds up. Leave it out and each run replaces the whole table.

Try it with your own Search Console data in BigQuery.

Other ways to do it

Search Console has its own bulk export to BigQuery. Its first export starts with the day you set it up, and the text of anonymised queries isn't included. Storage and queries above a free usage level are charged.

Source: Search Console Help: Set up a bulk data export; Search Console Help: Bulk export tables

Fresh Sheets sends a report you've shaped, and fixed date ranges can reach back before today.

Questions

How do I export Google Search Console data?

Connect Google on the Sources page and build a Search Console report with the fields you want, such as query, page and clicks. Send it to BigQuery, to Excel or to a tab in Google Sheets, on a schedule.

How do I send data to BigQuery?

In Fresh Sheets, go to Destinations, choose Add a dataset and enter the project ID and dataset ID. In Google Cloud, give the account Fresh Sheets shows you the BigQuery Data Editor role and add the label it shows, then choose Check and add. Pick that dataset under Destination in any report and name the table.

Send your Search Console data to BigQuery

BigQuery is included in your 30 days of Plus, then on every paid plan.

30 days of Plus, free from sign-up. No card needed. Paid plans from £15 a month.

Paid plans from £15 a month, or £12 a month billed annually.