Linking LinkedIn Ads as a source
Let AI connect your sources for you
Skip the manual setup — run this in your project and the wizard auto-detects your databases and APIs and connects them to PostHog.

You can sync data from LinkedIn Ads reports by configuring it as a source in PostHog. The supported reports that can be synced include Accounts, Campaigns, Campaign Stats, Campaign Groups, Campaign Group Stats, Creatives, and Creative Stats, as described here:
- Accounts
- Campaigns
- Campaign Groups
- Campaign Stats: Ad analytics by CAMPAIGN
- Campaign Group Stats: Ad analytics by CAMPAIGN_GROUP
- Creatives: Ad-level creative objects
- Creative Stats: Ad analytics by CREATIVE
Additional reports will be added based on user feedback we receive via our in-app support form.
Requirements
- A LinkedIn member with a role on the ad account you want to sync in Campaign Manager (such as Account Manager, Campaign Manager, Creative Manager, or Viewer).
- Your numeric account ID from the campaign manager (digits only – see how to find it in the image below, or take it from the URL like
https://www.linkedin.com/campaignmanager/accounts/(ID here)/overview?businessId=personal)

Configuring PostHog
Connect PostHog to your LinkedIn Ads account using a LinkedIn account. The LinkedIn account must have permission to access data.
- In PostHog, go to the Data pipelines tab.
- Open the + New drop-down menu in the top-right and select Source.
- Find LinkedIn Ads in the sources list and click Link.
- Enter the numeric Account ID of the LinkedIn Ads account you want to sync (digits only).
- Select an existing LinkedIn Ads account, or create a new integration
- (Optional) Add a prefix for the table name.
Configuration
| Option | Type | Required |
|---|---|---|
LinkedIn Ads account | oauth | Yes |
Account ID | oauth-account-select | Yes |
Supported tables
| Table | Description | Sync method | Incremental field | Primary key |
|---|---|---|---|---|
accounts | A LinkedIn advertising account (ad account) used to run and bill campaigns. | Full refresh | — | — |
campaigns | A LinkedIn ad campaign — a budget, schedule, and targeting wrapper around creatives. | Full refresh | — | — |
campaign_groups | A group of LinkedIn ad campaigns sharing a budget and schedule. | Full refresh | — |





