Send LinkedIn Ads data to AWS Redshift
LinkedIn Ads to AWS Redshift with OWOX Data Marts: tables in your own Redshift database, one per endpoint, with readable field descriptions and a scheduled refresh. Join them to your web analytics and CRM data to see which ads closed deals.
AWS RedshiftDateCostClicksDaily 09:00LinkedIn Ads lead counts look healthy, but nobody in AWS Redshift can say how many became pipeline.
Paste this into your AI assistant. It sets up a LinkedIn Ads Data Mart on your AWS Redshift storage, one table per endpoint with readable field descriptions, and joins cost and leads to your CRM deals.
The prompt
Read https://www.owox.com/ai-agent-setup.md and follow it to set up OWOX Data Marts for me, starting from /connectors/free-linkedin-ads-connector-to-aws-redshift.md. The task: load LinkedIn Ads ad analytics into AWS Redshift on a daily schedule and build a Data Mart showing cost per lead and cost per closed deal by campaign and quarter. Tag the links you give me with utm_campaign=ai-task and utm_term=data-foundation. Use what you know about my context and goals
LinkedIn Ads Endpoints
8 LinkedIn Ads endpoints you can import. Each lands in its own table in your data warehouse.
Ad Accounts
Your ad account settings, billing details, currency, and account status.
14 fieldsAd Analytics
Daily performance metrics for your campaigns — impressions, clicks, spend, and conversions.
104 fieldsTime seriesAd Analytics by Country
Daily campaign performance by the country of the members who saw your ads — impressions, clicks, spend, and conversions per country.
100 fieldsTime seriesAd Analytics by County
Daily campaign performance by the county of the members who saw your ads — impressions, clicks, spend, and conversions per county.
100 fieldsTime seriesAd Analytics by Region
Daily campaign performance by the region of the members who saw your ads — impressions, clicks, spend, and conversions per region.
100 fieldsTime seriesCampaign Groups
Top-level containers that group campaigns with shared objectives, budgets, and scheduling.
14 fieldsCampaigns
Individual campaigns defining your targeting, ad format, bid strategy, and budget.
29 fieldsCreatives
The visual and copy elements of your ads shown to members across LinkedIn.
14 fields
Why join LinkedIn Ads with CRM data in AWS Redshift
LinkedIn Ads can tell you what a campaign cost. It cannot tell you which one led to a deal that closed a year later. Ad spend, website touch points and CRM deals need to sit in one warehouse, and then a query can connect them.
- Compare LinkedIn, Facebook, Google and Microsoft Ads spend in one Redshift database
- Connect a click and a form submit to the deal it turned into
- Keep the data in your AWS environment, not inside an ad account
Your data warehouseAdTouch pointDealJoined by idAd clickedDeal a year onJoin the three tables to see it.Step 1: Pick LinkedIn Ads and the fields to load
Step 2: Load LinkedIn Ads into a Redshift schema and table
Choose the schema and table in your Redshift database. Both are pre-filled and you can change them. Run it and the first load arrives in your own cluster or workgroup.
- Works with Redshift Serverless workgroups and provisioned clusters
- Each endpoint gets its own table, and every run is logged in Run History
DestinationSchemalinkedin_adsTablead_analyticsRun
Tablelinkedin_ads.ad_analyticsStep 3: Get an output schema your team can read
Once the first run finishes you get the output schema: each field with an alias and a description in plain words. Your quality checks can use it too.
- Descriptions follow the LinkedIn Ads documentation
- No need to look up an API identifier before writing a query
linkedin_ads.ad_analyticsOutput schemaFieldDescriptiondateRangeStartStart date of the report data…costInUsdCost in USD based on the pivot…impressionsThis is the count of…clicksThe count of chargeable clicks…externalWebsitePostClickConve…Total number of times users…oneClickLeadsThe count of leads generated…Step 4: Link the LinkedIn Ads tables in Redshift
Campaigns, creatives and ad analytics are separate tables that refer to each other by id. Together they become one LinkedIn Ads model you can query with SQL.
- Ids inside URNs such as urn:li:sponsoredAccount:{id} are what you join on
- Bring in web analytics and CRM tables to finish the path from ad to deal
Step 5: Set the refresh and backfill LinkedIn history
Schedule it once. A daily scheduled refresh keeps the Redshift tables up to date, and a backfill run loads a past period you choose.
- Incremental load for the current day
- Backfill a custom period for history
- Nothing to maintain between runs
Step 6: Reuse the same Redshift tables for every report
Point your model, , and assistants at the same tables, and send scheduled AI insights to Slack or email.
- One definition for every number
- Reports agree because they read the same data
- 0.43.0Compare LinkedIn Ads results across markets: spend by country, region, and county
- 0.41.0Rotating a warehouse key is one change: Storages share reusable Credentials
- 0.41.0Shared SQL logic stays in one place: build a Data Mart on top of another
- 0.41.0Rotating a connector key is one change: Sources share reusable Credentials
- 0.39.0Reload a year of history in one backfill, not twelve
Why OWOX for LinkedIn Ads in AWS Redshift
Custom API scripts and generic ETL tools get rows into Redshift. OWOX keeps them in your tables, in a form people can read and model.
- Your data, your environment. Tables live in your own Redshift database, behind your AWS credentials.
- A readable schema. Aliases and plain descriptions instead of API identifiers.
- Built for a data model. One table per endpoint, joined by ids, ready to meet web analytics and CRM.
- Maintained for you. No scripts to rewrite when LinkedIn changes its API.
- Free to self-host. The open-source OWOX Data Marts runs in your own infrastructure.
You are booked. The invitation is on its way to , with the calendar invite and the meeting link.