LinkedIn Ads to PostgreSQL integration

Connect LinkedIn Ads to PostgreSQL and automatically sync your advertising platform data. Weld extracts Campaigns, Campaign Groups, Creatives, and Ad Analytics from LinkedIn Ads, loads them into PostgreSQL, and lets you transform the data using SQL or dbt, no custom scripts required.

4.8 on G2
LinkedIn AdsSource
WeldWeld
PostgreSQLWarehouse
Weld · New sync
LinkedIn AdsSourceLinkedIn AdsConnected
Tables to sync
  • account16 cols
  • campaign29 cols
  • creative15 cols
  • campaign_group11 cols
  • ad_analytics_by_campaign66 cols
  • ad_analytics_by_creative66 cols
  • Extract
  • Load
  • Keep in sync
PostgreSQLDestinationPostgreSQLReady
linkedin_ads schema
  • linkedin_ads.accountSynced
  • linkedin_ads.campaignSyncing
  • linkedin_ads.creativeSynced
  • linkedin_ads.campaign_groupSynced
  • linkedin_ads.ad_analytics_by_campaignSynced
  • linkedin_ads.ad_analytics_by_creativeSynced
LinkedIn Ads tables
20
fields, typed
289
relationships kept
9
agent context included
MCP

Trusted by data and AI teams

  • Flatpay
  • Holafly
  • eComplete
  • Dishoom
  • Danish Endurance
  • Female Invest
  • Son of a Tailor
  • Onomondo
  • Medik8
  • Pas Normal Studios
How it works

How to set up LinkedIn Ads to PostgreSQL in Weld.
In the app, with the API or an agent.

Weld · New LinkedIn Ads sync
LinkedIn AdsNew connectionLinkedIn AdsAuthorised
Connection namelinkedin_ads
AuthorizeOpens LinkedIn Ads to grant read access
Use cases

Why sync LinkedIn Ads to PostgreSQL?
Ready for analysis.

Centralizing your LinkedIn Ads data in PostgreSQL lets you join it with other data sources for cross-platform analytics and deeper insights.

Build reliable dashboards and reports by querying LinkedIn Ads data directly in PostgreSQL using SQL or your preferred BI tool.

  • Cross-channel ad performance

    Consolidate LinkedIn Ads campaign data in PostgreSQL alongside other ad platforms. Compare ROAS, CPA, and conversion rates in a single dashboard.

  • Centralized data warehouse

    Bring LinkedIn Ads data into PostgreSQL alongside other sources to create a single source of truth for your organization.

  • Automated reporting

    Replace manual exports and spreadsheet-based reporting with automated pipelines from LinkedIn Ads to PostgreSQL. Connect BI tools like Looker, Metabase, or Power BI.

Schema

What data can you sync?
Every LinkedIn Ads table, keys intact.

Weld syncs the following data objects from LinkedIn Ads into PostgreSQL. The exact tables and fields depend on your LinkedIn Ads configuration and the permissions granted during setup.

Open the schema explorer
All 20 tables
  • account
  • campaign
  • creative
  • campaign_group
  • ad_analytics_by_campaign
  • ad_analytics_by_creative
  • post
  • account_user
  • poll_content
  • carousel_content
  • article_content
  • celebration_content
  • targeting_criteria_include
  • targeting_criteria_exclude
  • media_content
  • account_serving_status
  • campaign_serving_status
  • campaign_group_serving_status
  • campaign_group_allowed_type
  • serving_hold_reasons
Weld MCP server

Ask your agent.
It queries PostgreSQL for you.

Connect Claude, Cursor, ChatGPT or your own agent to Weld over MCP. It reads the LinkedIn Ads context, finds the tables it needs and runs the query in PostgreSQL.

Claude CodeOpus 5
>

How many campaign rows do we have per campaign_group? Use our LinkedIn Ads data in PostgreSQL.

Reading the LinkedIn Ads context first, so the query uses the right tables and keys.

●weld·search_available_references
⎿raw.linkedin_ads.campaign
raw.linkedin_ads.campaign_group
+ 18 more LinkedIn Ads tables
●weld·get_reference_schema
⎿campaign · 29 columns
joins campaign_group on campaign_group_id
●weld·run_query
⎿select j.id, count(*) from {{raw.linkedin_ads.campaign}} c
join {{raw.linkedin_ads.campaign_group}} j on c.campaign_group_id = j.id
group by 1
submitted
●weld·get_query_status
⎿DONE
●weld·get_query_result
⎿rows returned
✓Answered from LinkedIn Ads data in PostgreSQL
>Ask about your LinkedIn Ads data
Under the hood

Technical considerations.
What to expect.

Incremental syncing
Weld uses incremental syncing where supported by the LinkedIn Ads API, loading only new and updated records to minimize data transfer and warehouse costs.
Schema handling
Weld automatically manages schema changes. If LinkedIn Ads adds new fields, they're detected and added to the corresponding PostgreSQL tables.
Data freshness
Sync frequency depends on your Weld plan. Most connectors support schedules from every 5 minutes up to daily intervals.
Security
All data is encrypted in transit (TLS) and at rest. Weld is SOC 2 Type II compliant and supports IP whitelisting for database connections.
FAQ

Common questions.
About LinkedIn Ads to PostgreSQL.

Start syncing LinkedIn Ads to PostgreSQL.

Set up your LinkedIn Ads data pipeline in minutes. No credit card required. Free for 14 days.

LinkedIn AdsSource
WeldWeld
PostgreSQLWarehouse