LinkedIn Ad Library Scraper: Ads, Impressions, Targeting
Pricing
from $0.50 / 1,000 ads
LinkedIn Ad Library Scraper: Ads, Impressions, Targeting
LinkedIn Ad Library ads (advertiser, format, ad text, image or video, landing page) for an advertiser, company link, keyword or payer; $1.80 per 1,000 ads. Details at $3.60 add payer, run dates, impressions by country and targeting. Monitor mode reports new and stopped ads.
Pricing
from $0.50 / 1,000 ads
Rating
0.0
(0)
Developer
Arcadium Data
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
6 hours ago
Last modified
Categories
Features
Share
Give it an advertiser name, a LinkedIn company link, a keyword or a payer and it returns the ads LinkedIn publishes in its Ad Library as JSON: one row per ad with the advertiser, format, ad text, headline, image or video, landing page and call to action. From $1.80 per 1,000 ads; you pay only for rows you get.
Why this actor
- Details (on by default) add who paid, the days the ad ran, total impressions, impressions by country and the targeting chosen, as published under the EU Digital Services Act.
- Monitor mode returns only the ads that started or stopped since your last run.
- Reads the public Ad Library pages: no LinkedIn account, no login, no browser.
- Inputs that fail come back as free error rows with a code.
Built by Arcadium Data: public data, dated and agent-ready, never personal data.
Use with AI agents
Returns the LinkedIn ads of a company, keyword or payer: ad rows (format, text, headline, image, video, landing page), with details the run dates, impressions, country split and targeting, plus monitor change rows. Agents can call it through the Apify MCP server (https://mcp.apify.com, open source as apify/actors-mcp-server) as arcadium/linkedin-ad-library: the input schema is read from the actor, the result is a dataset of JSON rows.
Input example for "what is HubSpot advertising on LinkedIn in Germany":
{"searchTerms": ["https://www.linkedin.com/company/hubspot"],"countries": ["DE"],"maxAdsPerSearch": 20}
And for "which companies advertise webinars about CRM in the last 30 days" (list only, cheaper):
{"keywords": ["CRM webinar"],"dateRange": "last-30-days","includeDetails": false,"maxAdsPerSearch": 100}
What comes back: ad rows (charged), monitor summary and ad-change rows (charged), and a free error row for an input that could not be read. Filter on the rowType field. An error row carries rowType: "error", a code (invalid_input, not_found, no_match, blocked or unavailable), a message and the input it is about. Retry on blocked and unavailable later; do not retry the other codes with the same input.
Cost of the calls above on the Free plan: 20 detailed ads at $3.60 per 1,000 is about $0.07; 100 list ads at $1.80 per 1,000 about $0.18. Each run adds a $0.0005 start fee (512 MB).
What you get
Ad row (rowType: "ad"): one ad.
| Field | What it holds |
|---|---|
adId, adUrl | LinkedIn's id of the ad and its Ad Library page. |
format, formatLabel | single_image, video, carousel, document, event, message, text, spotlight, follower, job, ... and LinkedIn's label ("Single Image Ad"). |
advertiserType, advertiserName, advertiserCompanyId, advertiserUrl, advertiserLogoUrl | The company page that runs the ad. When a person runs the ad under their own name, advertiserType is member and the name is not output (advertiserNameWithheld: true). |
postedByMember | Thought-leader ad: the post appears under an employee's or creator's name and is promoted by the company in advertiserName. The person is not output. |
paidBy | "Paid for by": the agency or legal entity that paid (details). |
adText, headline, callToAction, landingUrl, landingDomain | The copy, the headline, the button and the destination link (LinkedIn tracking removed). Without details the text is LinkedIn's shortened list version (adTextTruncated: true). |
imageUrl, imageUrls, videoUrl, videoPosterUrl | Images (all carousel cards with details) and the MP4 of a video ad. |
documentTitle, documentPageCount, documentPageImageUrls, carouselCards, eventName, eventTime, eventUrl, messageText | Format-specific content: document ads, carousel cards, event ads, message ads. |
firstShown, lastShown, daysShown | Days the ad ran (details; LinkedIn shows them for ads with EU transparency data). |
impressionsText, impressionsMin, impressionsMax, impressionsByCountry, countriesShown | Total impressions ("1k-5k") and the share per country. |
targeting, targetingParameters | The targeting the advertiser chose (language, location with every country or region) and which categories were used or excluded (audience, company, job, education, interests). |
searchTerm, matchedBy | The input the row came from and how it was read (advertiser, company, keyword, payer, link, ad). |
Output example:
{"rowType": "ad","platform": "linkedin-ad-library","adId": "1605781824","adUrl": "https://www.linkedin.com/ad-library/detail/1605781824","format": "document","formatLabel": "Document Ad","advertiserType": "company","advertiserName": "KINTO Mobility","advertiserNameWithheld": false,"postedByMember": false,"advertiserCompanyId": "54117462","advertiserUrl": "https://www.linkedin.com/company/54117462","paidBy": "TERRITORIO CREATIVO SL","adText": "Bringing together diverse international backgrounds and deep mobility expertise, our European direct sales team ...","adTextTruncated": false,"documentTitle": "KINTO_Fleet_Europe_Days_2026_Carrusel.pdf","documentPageCount": 6,"firstShown": "2026-10-20","lastShown": "2026-10-22","daysShown": 3,"impressionsText": "1k-5k","impressionsMin": 1000,"impressionsMax": 5000,"impressionsByCountry": [{ "country": "PT", "countryName": "Portugal", "sharePct": 28 },{ "country": "ES", "countryName": "Spain", "sharePct": 24 },{ "country": "GB", "countryName": "United Kingdom", "sharePct": 19 }],"countriesShown": ["PT", "ES", "GB", "FR", "IT", "DE"],"targeting": [{ "facet": "Language", "includes": ["English"], "excludes": [] },{ "facet": "Location", "includes": ["Germany", "Italy", "France", "United Kingdom", "Spain", "Portugal"], "excludes": [] }],"targetingParameters": [{ "parameter": "Company", "targeted": true, "excluded": true },{ "parameter": "Job", "targeted": true, "excluded": true }],"detailed": true,"searchTerm": "KINTO Mobility","matchedBy": "advertiser"}
Monitor rows (mode monitor): per search and run one summary row (status baseline, changed or unchanged; activeAds, newAds, stoppedAds, previousCheckAt, searchUrl), and one ad-change row per ad with changeType new (ran in the active window, not seen before) or stopped (no longer ran in the window), with the ad fields above.
Input
{"searchTerms": ["Salesforce", "https://www.linkedin.com/company/68529", "https://www.linkedin.com/ad-library/search?keyword=ai%20agents&countries=US"],"keywords": ["revenue operations"],"payers": ["Caffelli LLC"],"countries": ["US", "GB"],"dateRange": "last-30-days","maxAdsPerSearch": 100,"includeDetails": true}
| Field | What it does |
|---|---|
searchTerms | Advertiser names (every advertiser whose name contains the text), LinkedIn company links (exactly that company; vanity names are looked up once), Ad Library search links (their own filters apply) or ad links and ad ids (that ad with details). |
keywords, payers | Searches by words in the ad copy and by the paying entity. |
mode | ads (default) or monitor. |
countries | Countries where the ads were shown (two-letter codes). Empty = all. |
dateRange, startDate, endDate | all-time (about the last 12 months), last-30-days, current-month, current-year, last-year or custom with dates (YYYY-MM-DD or -30d; the end date must be in the past). |
maxAdsPerSearch, maxResults | Ads per search (default 50) and a cap for the run. |
includeDetails | Read each ad's page (on by default): full text, payer, run dates, impressions, countries, targeting, landing page, media. Charged as ad-detail when LinkedIn shows the ad's EU transparency data (detailed: true), otherwise as ad. |
activeWithinDays, monitorName, maxActiveAdsPerSearch, maxChangesPerSearch | Monitor mode: what counts as running, the name of the saved state, caps. |
includeErrorRows | Add a free row for every input that could not be read. On by default. |
Input names of the most used LinkedIn Ad Library actors are accepted as they are (startUrls, urls, resultsLimit, skipDetails, companies, keyword, payer, country, dateOption, maxItems, maxItemsPerSearch, maxRecords, scrapeAdDetails, onlyNewAds, monitorStoreName, proxy), so an existing input can be pasted in.
Use from code
Python:
from apify_client import ApifyClientclient = ApifyClient("<YOUR_APIFY_TOKEN>")run = client.actor("arcadium/linkedin-ad-library").call(run_input={"searchTerms": ["https://www.linkedin.com/company/hubspot"],"countries": ["DE", "FR"],"maxAdsPerSearch": 50,})for row in client.dataset(run["defaultDatasetId"]).iterate_items():if row.get("rowType") == "ad":print(row["firstShown"], row["formatLabel"], row["impressionsText"], row.get("landingDomain"))
JavaScript, a daily competitor watch (schedule it in Apify):
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });const run = await client.actor('arcadium/linkedin-ad-library').call({mode: 'monitor',searchTerms: ['https://www.linkedin.com/company/hubspot', 'https://www.linkedin.com/company/salesforce'],monitorName: 'crm-vendors',});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items.filter((r) => r.rowType === 'ad-change').map((r) => [r.changeType, r.advertiserName, r.adUrl]));
Pricing
You pay per row delivered, at the price of your Apify plan. Error rows and repeats are free.
| Apify plan | Ad (also each monitor change without details), per 1,000 | Ad with details (includeDetails, default), per 1,000 |
|---|---|---|
| Free | $1.80 | $3.60 |
| Starter (Bronze) | $1.62 | $2.70 |
| Scale (Silver) | $0.90 | $1.35 |
| Business (Gold) | $0.50 | $0.90 |
| Platinum | $0.50 | $0.90 |
| Diamond | $0.50 | $0.90 |
Search checked (monitor summary): $2.70 per 1,000 on all plans.
Plus a one-off $0.001 per GB of memory when a run starts.
Set a maximum cost per run in the Apify run options and the actor stops before it goes over. maxResults caps the rows of a run.
Use cases
- Competitor ad intelligence on LinkedIn: every ad a competitor ran in the last year, with copy, creative, landing page and the countries it reached.
- New-campaign alerts: schedule monitor mode daily and get only the ads that started or stopped.
- Sales signals: companies that started advertising (or advertise a hiring, product or event push) this week, by keyword.
- Agency and payer research: find every brand an agency pays for with a
payerssearch. - EU reach and targeting benchmarks: impression ranges, country split and targeting choices (DSA data).
Limitations
- Only what the Ad Library shows anonymously. LinkedIn keeps ads for about a year after they ran.
- Run dates, impressions, country split, targeting and the landing link are published by LinkedIn for ads with EU transparency data; for other ads (for example ads shown only in the UK or the US) these fields stay empty,
detailedisfalseand the row is charged as a plainad. - An advertiser-name search matches every advertiser whose name contains the text (as on the website). Use a company link for exactly one company.
- The list shows LinkedIn's shortened text; the full copy needs details.
- Video and image links are LinkedIn CDN links that expire after some time; download what you need to keep.
- The actor reads LinkedIn over Apify's datacenter proxy. When LinkedIn limits that pool, the run retries on fresh IPs and, if the limit persists, stops and reports the remaining inputs as free
blockederror rows. Run again later.
Privacy
Company advertisers are output by name. Thought-leader ads (a company promoting an employee's or creator's post) are output under the company with postedByMember: true; the person's name, headline and photo are not output. Ads a person runs under their own name are output with advertiserType: "member" and no name. Names of LinkedIn members mentioned or tagged in ads, the sender of message ads, email addresses and phone numbers are removed from all ad text. A payer name that may belong to a private person is withheld (paidByWithheld: true).
FAQ
How do I get exactly one company's ads?
Paste its LinkedIn company link (https://www.linkedin.com/company/hubspot or .../company/68529). A plain name matches every advertiser whose name contains it.
Why are run dates or impressions empty for some ads?
LinkedIn publishes them only for ads with EU transparency data, and only on the ad's page: keep includeDetails on.
How does monitor mode decide that an ad stopped?
An ad counts as running when LinkedIn says it ran on one of the last activeWithinDays days (ending yesterday). It is reported as stopped on the first run after that.
Something looks wrong in the output. Who do I tell? Open an issue on the actor page with the run link. We read them all.