Linking Google Ads as a source

Last updated:

|Edit this page

You can sync data from all your Google Ads resources by configuring it as a source.

Requirements

  • The Google Ads customer ID of the account you are trying to sync to Posthog.
  • Administrator access to the Google Ads account you want to sync.

Configure Google Ads

To connect to your Google Ads account, PostHog uses a Google Cloud service account. Thus, you must grant this service account access to your Google Ads account by following these steps:

  1. Sign in to your Google Ads account as an administrator.
  2. Navigate to Admin > Access and security.
  3. Click the + button under the Users tab.

Screenshot displaying plus button in users tab

  1. Enter the following service account email into the Email field: google-ads-api@posthog-external.iam.gserviceaccount.com.
  2. Select Read only access level.

Screenshot displaying input of service account email and read only permissions selection

  1. All done!

Configuring PostHog

  1. In PostHog, go to the Data pipelines tab.
  2. Open the + New drop-down menu in the top-right and select Source.
  3. Find Google Ads in the sources list and click Link.
  4. Enter the Google Ads customer ID of the Google Ads account you want to sync.
  5. (Optional) Add a prefix for the table name.

Questions? Ask Max AI.

It's easier than reading through 634 pages of documentation

Community questions

Was this page useful?

Next article

Linking S3 as a source

The data warehouse can link to data in your object storage system like S3. To start, you'll need to: Create a bucket in S3 Set up an access key and secret Add data to the bucket (we'll use Airbyte) Create the table in PostHog Step 1: Creating a bucket in S3 Log in to AWS . Open S3 in the AWS console and create a new bucket. We suggest us-east-1 if you're using PostHog Cloud US, or eu-central-1 if you're using PostHog Cloud EU. Make sure to note both the name and region of your bucket, we…

Read next article