Linking Meta Ads as a source

You can sync data from Meta Ads reports by configuring it as a source in PostHog. The supported reports that can be synced include Adsets, Campaigns, Ads, Adset Report, Campaign Report, and Ad Report, as described here:

Additional reports will be added based on user feedback we receive via our in-app support form.

Requirements

  • A Meta Ads account with permission to access data from accounts you want to sync.
  • Your account ID from the ads manager > Menu > Campaigns > Right next to the title you will see a dropdown > get the ID from the account or check the url https://adsmanager.facebook.com/adsmanager/manage/campaigns?act=ID_HERE
Meta account ID

Configuring PostHog

Connect PostHog to your Meta Ads account using a Meta account. The Meta account must have permission to access data.

  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 Meta Ads in the sources list and click Link.
  4. Enter the Account ID of the Meta Ads account you want to sync.
  5. Select an existing Meta Ads account, or create a new integration.
  6. (Optional) Add a prefix for the table name.
PostHog is an all-in-one developer platform for building successful products. We provide product analytics, web analytics, session replay, error tracking, feature flags, experiments, surveys, LLM analytics, data warehouse, CDP, and an AI product assistant to help debug your code, ship features faster, and keep all your usage and customer data in one stack.

Community questions

Was this page useful?

Questions about this page? or post a community question.