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:
- Sign in to your Google Ads account as an administrator.
- Navigate to Admin > Access and security.
- Click the + button under the Users tab.
- Enter the following service account email into the Email field:
google-ads-api@posthog-external.iam.gserviceaccount.com
. - Select Read only access level.
- All done!
Configuring PostHog
- In PostHog, go to the Data pipelines tab.
- Open the + New drop-down menu in the top-right and select Source.
- Find Google Ads in the sources list and click Link.
- Enter the Google Ads customer ID of the Google Ads account you want to sync.
- (Optional) Add a prefix for the table name.