Two ways to get LinkedIn Ads data out.
LinkedIn's Marketing API reports ad performance through the adAnalytics endpoint, grouped by account, campaign group, campaign or creative. The work sits around it: a developer app with Advertising API access, a version header on every call and responses without pagination.
Build and run it yourself
- Create an app in LinkedIn's Developer Portal and apply for the Advertising API on its Products tab.
- Run the OAuth flow with a member who holds a role on the ad account, and request
r_adsandr_ads_reporting. Access tokens last 60 days. - Send a
Linkedin-Versionheader on every call. Versions come monthly, and a missing or sunset version returns an error. - Query
adAnalyticswithpivot=CAMPAIGNandtimeGranularity=DAILY, and name every metric infields. Without it you get impressions and clicks only. - Split large requests. The endpoint has no pagination, and a response stops at 15,000 elements.
- Campaigns come back as URNs. Read
adCampaignsfor the names, then map them to your own markets.
Then monitor it, and move to a newer API version before the one you use is sunset.
Have Odins run it
- Sign in with LinkedIn through your Odins onboarding link. One sign-in covers several ad accounts.
- We sync every day, watch the pipeline and maintain the connector as LinkedIn's API versions change.
- You get spend, impressions, clicks and conversions per campaign per day, in the same structure as every other channel.
- A split by member country, or creative level reporting, is added when you ask for it.
The same goes for every other source you use. One team runs all of them. See all connectors
What the LinkedIn Ads API offers.
Reporting runs through adAnalytics, grouped by one pivot or by up to three. The account structure comes from separate endpoints. LinkedIn's own documentation is the reference.
GET https://api.linkedin.com/rest/adAnalytics?q=analytics
| Endpoint | What it returns | Good to know |
|---|---|---|
adAnalytics, pivot=CAMPAIGNSynced by default |
Cost, impressions, clicks and conversions per campaign, by day, month or year, or in total. | Up to 20 metrics in one request. |
adAccounts/{id}/adCampaignsSynced by default |
Campaign names, status, type, objective, budgets and targeting. | |
adAccounts/{id}/adCampaignGroupsSynced by default |
Campaign group names, status, run schedule and total budget. | |
adAccountsSynced by default |
Ad account names, type, status and currency. | costInLocalCurrency is cost in the account's currency. |
adAnalytics, pivot=MEMBER_COUNTRY_V2 |
Cost, impressions and clicks split by member country. | Kept for two years, and approximate. |
Pivots
ACCOUNTCAMPAIGN_GROUPCAMPAIGNCREATIVEMEMBER_COUNTRY_V2MEMBER_COMPANY
- Auth OAuth 2.0, 60-day access tokens
- Versions monthly, each supported at least a year
- Throttle 45 million metric values in 5 minutes
- History 10 years, 2 for demographic data
Worth knowing about LinkedIn Ads data.
Country figures go back two years.
LinkedIn keeps performance data for ten years and professional demographic data, member country included, for two. With the country split in Odins, older campaign days import without a country.
The country split is approximate.
LinkedIn approximates demographic metrics to protect member privacy and drops values with fewer than three events. Cost by country is not adjusted for over delivery, so the split can differ slightly from the campaign total.
An empty response can mean no access.
LinkedIn's documentation says adAnalytics returns an empty response when there is no activity to report, and also when you have no read access to the requested data.
A day is a UTC day.
The API specifies report dates in UTC, so a LinkedIn day can differ from the calendar day in your market.
What you get back.
Two layers. The raw one mirrors LinkedIn Ads. The structured one is the table every source lands in, organised by your own markets and product lines.
Structured layer
Per campaign, per day| In the structured table | For LinkedIn Ads |
|---|---|
| Date | Daily, in UTC |
| Company and market | Set by your routing rules on campaign names. With the country split, spend imports with the member country |
| Channel and media | Follows your media plan |
| Source campaign | Campaign |
| Spend | Cost, excluding VAT |
| Impressions and clicks | Impressions and clicks |
| Conversions | Conversions, as LinkedIn reports them |
Raw layer
As LinkedIn returns itThe default tables as the API returns them: ad_campaign_analytics, campaigns, campaign_groups and accounts. Other reports are added on request.
Use it where you work.
In your warehouse
Raw and structured tables delivered to BigQuery, Snowflake, Redshift or Databricks. Some customers use Odins for this alone.
In Odins
Reporting across every channel, and a model that shows what LinkedIn contributes and where more spend still pays.
Through your AI assistant
Connect Claude, ChatGPT or Copilot to Odins with MCP and ask for the numbers in plain language.
Questions.
Does LinkedIn Ads have an API?
Yes. LinkedIn's Marketing API has a reporting endpoint, adAnalytics, that returns cost, impressions, clicks and conversions by account, campaign group, campaign or creative. It uses OAuth 2.0.
How do I get LinkedIn Ads data into BigQuery?
Sign in with LinkedIn through your Odins onboarding link. Odins syncs daily and delivers raw tables plus one structured cross-channel dataset to your BigQuery project.
Can the model measure LinkedIn when our sales cycle is long?
Yes, with one caveat. The model estimates the lag between spend and effect as part of the fit. It only sees results that reach the sales data you define, so pipeline that never lands there stays invisible.
Will the numbers match Campaign Manager?
Closely, within LinkedIn's own reporting variance. Odins reads LinkedIn's Marketing API every day.
How far back does LinkedIn Ads data go?
LinkedIn keeps performance data for ten years and demographic data, member country included, for two. Odins requests history from 2020.
-1.png?width=1132&height=292&name=Asset%201@2x%20(12)-1.png)