Syncing 10,000 leads/mo? Get a demo
Google BigQuery logo

How to connect Google BigQuery with LeadsBridge

Integrate Google BigQuery with LeadsBridge

logo3554

Intro

In this article, you'll learn how to connect your LeadsBridge account with Google BigQuery.

Connect Google BigQuery integration

Before you start

  1. Head over to the left sidebar and click on the Create new Bridge button
  2. Select your integrations in the selectors
  3. Click on the Continue button at the bottom right

Authorize Google BigQuery integration

Setup your Google BigQuery integration

  1. Click on Connect Google BigQuery
  2. Click on Create new integration to connect your Google BigQuery (or select an existing one from the dropdown if you already connected it)
  3. A popup wil be opened where you can authorize the Google BigQuery integration
  4. Fill GCP Authentication JSON, Dataset name field to connect Google BigQuery with LeadsBridge
  5. Click on the Authorize button
  6. You can choose a name for this Google BigQuery and LeadsBridge integration (you can also edit it later)
  7. Once done, click on Continue button and you will get back to the bridge experience where you could choose additional integration settings
  8. Now that your Google BigQuery is connected, you can continue with the set-up of your bridge

Configuration details for Google BigQuery

How to get GCP Authentication JSON, Dataset name

To authenticate in Google BigQuery you need to have the OAuth JSON file for your project with the right roles set. If you don't have this file yet, please follow the official guide below to generate it.
Once downloaded, open the file, select the whole content and paste it into the "GCP Authentication JSON" field. ( Learn more)
All the needed data can be found on your Google BigQuery dashboard on the left as shown in the picture below.
In the "Dataset name" field you have to specify the name of the database you want to use in Google BigQuery.
In the "Project ID" field you have to specify your Google Cloud Platform project id.

As entity Google BigQuery uses the single record of your database, so select "Record" from the "Manage "Entities as" dropdown.

As segmentation, you will have to select the database table to use, so select "Table" from the "Use Segment as" dropdown.

Which entity concepts we support for Google BigQuery

With LeadsBridge you may use these entity concepts for Google BigQuery.

  1. Record

Which segmentation concepts we support for TikTok Lead Generation

With LeadsBridge you may use these segmentation concepts for Google BigQuery.

  1. Table

 

Common questions for Google BigQuery

Why I see the error "GoogleBigQuery error code 400: You can update or delete a record older than 30 minutes."?

You need to know that Google BigQuery is not a "standard database". It mainly used to analyze huge amounts of data. For this reason, the best use should be to only insert your data. However, you can update all the records older than 30 minutes. If you give this error, probably some existing record is trying to be resynced before 30 minutes have passed.

Why I can't see my field in the Fields Mapping editor?

The integration Google Big Query allows managing derived tables too. If there is a derived column in the derived table without an ALIAS it will not be visible. What are the derived tables? Derived tables are tables derived from an inner SELECT like a view. For example, a derived table is SELECT * FROM (SELECT fiedl1,field2 FROM myTable) AS myView Sometimes in the derived table, you could include a function which is a derived column without an alias like SELECT * FROM (SELECT fiedl1,field2, SUM(field1,field2) FROM myTable) AS myView In this case, the column of the SUM function will not be visible in the Fields Mapping. To see the function column you must derive it with an alias like SELECT * FROM (SELECT fiedl1,field2, SUM(field1,field2) as mySum FROM myTable) AS myView

Do you need help?

Here some additional resources:

RELATED ARTICLES FROM OUR BLOG

Google Lead Form Ads: The Complete, Always-Updated Guide to Google Lead Generation

Google Customer Match: a complete guide (with case studies)

How to use Google Offline Conversion Tracking to measure offline conversions from your Google Ads