Data Integration

How to connect Google Ads to BigQuery with OWOX Data Marts

Google Ads to Google BigQuery in OWOX Data Marts takes six steps: create a Data Mart, choose the Google Ads connector, sign in with Google, pick the data, publish, add a trigger. From then on it refreshes on its own.

Data IntegrationVadym Kramarenko4 min read

How to connect Google Ads to BigQuery with OWOX Data Marts

Google Ads reports answer one question at a time. Once the data sits in Google BigQuery you can join it with your other channels and your revenue, and the table refreshes without anyone exporting anything.

In OWOX Data Marts the setup takes six steps. You sign in with Google, enter the Customer ID, choose what to load, publish, and set a schedule. There is no developer token to request and no OAuth client to create. This guide walks through it on OWOX Cloud.

Reading to get this done?

What you need

What you need

  • An OWOX Cloud account. Sign up if you do not have one.
  • A Google BigQuery storage in OWOX Data Marts. Add it under Storages, or create it while you set up the Data Mart. More on Google BigQuery as a storage.
  • A Google account with access to the Google Ads account you want to load.
  • The Customer ID of that ad account. It is shown in the top-right corner of Google Ads when the account is open.
  • The manager account ID, only if you reach the ad account through a manager (MCC) account.

Step 1: Create the Data Mart

Step 1: Create the Data Mart

Click New Data Mart, give it a title, choose your Google BigQuery storage and click Create Data Mart. If you have no storage yet, pick Create new storage in the same dropdown.

The Create Data Mart form in OWOX Data Marts with a title and a Google BigQuery storage selected

Hand this to your AI

Google Ads reports answer one question at a time, and you want the data in BigQuery next to revenue without exporting.

Paste this into your AI assistant. It loads your Google Ads campaigns into BigQuery on a schedule and writes the first query that joins cost to the revenue your store recorded.

The prompt

load my Google Ads campaign data into BigQuery with a daily refresh and write me a query joining cost and clicks to the revenue my store recorded, by campaign and day

Step 2: Choose the Google Ads connector

Step 2: Choose the Google Ads connector

On the Data Setup tab, set Input Source to Connector and click Setup Connector. Choose Google Ads in the list and click Next.

Step 3: Sign in with Google

Step 3: Sign in with Google

Leave Auth Type on OAuth2 and click Sign in with Google. Choose the Google account that can see the ad account and grant access. The button then reads Connected as and your email.

Enter the Customer ID. Fill Login Customer ID only if you reach the ad account through a manager account: it takes the manager’s ID. If you sign in to the ad account directly, leave it empty.

If you would rather use your own credentials, choose Manually and paste a Refresh Token, Client ID, Client Secret and Developer Token, or switch Auth Type to Service Account. The credentials guide shows how to create them. Most people do not need it.

Step 4: Choose what to load

Step 4: Choose what to load

Pick the data you want. For performance reporting choose one of the stats options, such as campaign, ad group or keyword stats: impressions, clicks, cost and conversions by day. Each Data Mart loads one of these, so create another Data Mart for each extra one.

Stats cannot be loaded from a manager account. If you picked a stats option, the Customer ID in Step 3 must be an ad account.

Keep the default fields or add more. The key fields stay selected.

The Google Ads field list in OWOX Data Marts for ad group ad stats, 19 of 27 fields selected, with ad_id and date locked as keys

Name the dataset and the table. Both are created on the first run if they do not exist yet.

Click Save.

Step 5: Publish and run

Step 5: Publish and run

Click Publish & Run Data Mart. The first run loads data from the first day of the previous month and can take a few minutes.

To load older history, use Manual Run on the same screen and choose the dates. Run History shows every run and its status.

The Manual Run dialog in OWOX Data Marts with Backfill (custom period) selected and empty Start Date and End Date fields

Step 6: Keep it fresh

Step 6: Keep it fresh

Open Triggers, add a trigger, choose Connector Run and set how often it runs: daily at a time and time zone you pick, weekdays, hourly or every few hours. Click Create trigger.

From here the table updates on its own.

What to do with the data

What to do with the data

The table is raw Google Ads data. Two things usually come next:

  • Join it with your other ad platforms in SQL, so spend is compared on one grain. The unified ad report guide shows that query.
  • Publish it where people read it. The same Data Mart can feed a destination such as a Google Sheets report, Slack or email, so the number in the sheet matches the number in BigQuery.

OWOX Data Marts loads the data and publishes what you build on it. The SQL that turns it into metrics stays yours.

Not on BigQuery?

Not on BigQuery?

The same connector loads into the other data storages OWOX Data Marts supports: Snowflake, AWS Redshift, AWS Athena and Databricks.

OWOX Data Marts is also open source. If you run it yourself, connect Google Ads with the manual credentials described in Step 3.

Hand this to your AI

Google Ads reports answer one question at a time, and you want the data in BigQuery next to revenue without exporting.

Paste this into your AI assistant. It loads your Google Ads campaigns into BigQuery on a schedule and writes the first query that joins cost to the revenue your store recorded.

The prompt

load my Google Ads campaign data into BigQuery with a daily refresh and write me a query joining cost and clicks to the revenue my store recorded, by campaign and day

FAQ

Frequently Asked Questions

Do I need a Google Ads developer token?

No. On OWOX Cloud you click Sign in with Google and enter the Customer ID. A developer token, an OAuth client and a refresh token are only needed if you choose to connect manually, for example on a self-managed install.

Which Google Ads data can I load into BigQuery?

Each Data Mart loads one kind of data: campaigns, ad groups, or stats for campaigns, ad groups, ads and keywords with impressions, clicks, cost and conversions. Stats need the Customer ID of an ad account, not of a manager account. You keep the default fields or choose your own.

Is the Google Ads to BigQuery connector free?

The connector is open source and free to run yourself with the open-source edition of OWOX Data Marts. You pay Google for BigQuery storage and queries. The same connector is available on OWOX Cloud, where there is no server to maintain.

Who wrote this

Vadym Kramarenko

Vadym Kramarenko Growth Marketing Manager

Vadym Kramarenko is a Growth Marketing Manager at OWOX, where he drives user acquisition and product-led growth strategies. He hosts the OWOX podcast, interviewing analytics professionals about data-driven marketing, attribution, and reporting best practices. Vadym specializes in turning complex analytics concepts into practical, actionable marketing frameworks.