You can sync data from Google Ads reports by configuring it as a source in PostHog. The supported reports that can be synced include Ad, AdStats, AdGroup, AdGroupStats, Campaign, CampaignStats, Keyword, KeywordStats, Video, and VideoStats, as they are described here. Additional reports will be added based on user feedback we receive via our in-app support form.
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.