Pipelinica

How to send Google Ads data to BigQuery: 3 ways

Updated

If you want to join your Google Ads costs with sales, build a dashboard on more than a few weeks of data, or keep history Google Ads doesn't show you, you need your data in BigQuery. There are three ways to send Google Ads data to BigQuery. Google's Data Transfer Service loads its standard reports for free, a Google Ads script writes whatever you code, and Pipelinica sends ready-made report tables on your schedule.

Each way fits a different team, so let's compare them first. Then we'll show you the Pipelinica steps.

The three ways at a glance

Data Transfer Service Google Ads script Pipelinica
You get Google's standard reports, as separate tables What your script writes 18 ready-made reports, or any fields
Names next to numbers No: you join tables by ID If you code it Yes, in one table
Late conversions Last 7 days loaded again, 30 at most If you code it Last 90 days loaded again
Refresh Once a day at most Your script's schedule Your schedule
Set up in Google Cloud, with the BigQuery Admin role Google Ads, in JavaScript Pipelinica, into your dataset
Cost Free, plus BigQuery costs Free, plus BigQuery costs Your plan, plus BigQuery costs

Sources: Google's pages on the Google Ads transfer and its tables, Google Cloud's blog on free connectors, and the limits of Google Ads scripts.

Which one should you choose?

The Data Transfer Service is the right choice if your team works in Google Cloud and writes SQL. It's Google's own tool, it costs nothing beyond BigQuery, and one transfer can cover a whole manager account. But it loads Google's reports as they are: campaign names sit in one table and the daily numbers in another, so you join them by ID in every query. Remember that it loads only the last 7 days again by default, and 30 at most. A conversion Google credits to an older click never reaches your table, unless you run a backfill by hand.

A Google Ads script suits you if you like writing code and want full control. You enable BigQuery in the script editor and write the export yourself. Pay attention to the limits: a script stops after 30 minutes, and when Google changes its reports, fixing the script is your job.

Pipelinica fits if you want tables that look like the reports you know from Google Ads, without code or joins. Each row holds the day, the campaign's name and its numbers, so a query is one simple SELECT. The same account also sends Facebook Ads, GA4 and other platforms to the same dataset, so you can compare your ad costs across platforms in one query.

How to send Google Ads data to BigQuery with Pipelinica

What you need

Step 1 – Choose Google Ads and BigQuery

  1. Sign up for Pipelinica with your Google account.
  2. Click New pipeline, then choose Google Ads as the source and Google BigQuery as the destination.
  3. Connect your Google account, pick the Google Ads account and choose the first day to load.

Every account you can see is in the list, including those under your manager accounts. One pipeline sends one account, so an agency creates one pipeline for each client.

Step 2 – Pick a ready-made report

Choose what one row is about: Campaigns, Ad groups, Ads, Keywords or Search terms. Then pick a ready-made report, such as Campaign Performance, Keywords with Quality Score or Search Terms. Or click Custom: pick your own and tick the fields you need.

The fields step of a new pipeline: the Campaigns report type and the Campaign Performance report chosen, among five ready-made campaign reports

By default, every row is one day of one campaign (or ad group, ad, keyword or search term), in your Google Ads account's time zone. Add the device or the network to split each day further.

Step 3 – Choose the dataset and name the table

Connect the Google account that can write to BigQuery, then pick the project and a dataset you already have. Type a name for the table, for example google_ads_campaigns. You don't need to create it: the first run does.

Step 4 – Set the schedule and create the pipeline

Choose how often the table refreshes, check the summary and click Create the pipeline. The first refresh starts within minutes.

The last step of a new pipeline: the summary of a Google Ads to BigQuery pipeline with the Campaign Performance report, the table google_ads_campaigns and a daily schedule

That's all! Your table is partitioned by date, so a query over a few days stays cheap.

Things to know

That's it

We hope this guide helps you choose the right way to get your Google Ads data into BigQuery. If you get stuck, write to us and we'll help. Good luck!

Send your Google Ads data to BigQuery for free, or read how to send GA4 data to BigQuery too. And if you'd rather ask questions than write SQL, connect Claude to Google Ads.