LinkedIn Ad Library Scraper: Ads, Impressions & Targeting avatar

LinkedIn Ad Library Scraper: Ads, Impressions & Targeting

Pricing

from $0.70 / 1,000 ads

Go to Apify Store
LinkedIn Ad Library Scraper: Ads, Impressions & Targeting

LinkedIn Ad Library Scraper: Ads, Impressions & Targeting

Get any company's LinkedIn ads from the Ad Library: ad copy, images, videos, carousels, documents, call to action and landing page, who paid, run dates, impressions by country and targeting. Search by company, keyword or payer; schedule it to get only new ads.

Pricing

from $0.70 / 1,000 ads

Rating

0.0

(0)

Developer

Philip Kirkbride

Philip Kirkbride

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 hours ago

Last modified

Features

Limited permissionsMulti-tenantServer interface

Share

See every ad a company runs on LinkedIn, straight from LinkedIn's public Ad Library. Type a competitor's name, a keyword or a payer, and get each ad as a clean row: the full ad copy, headline, images, video, carousel cards and document pages, the call-to-action button and the landing page it sends people to, who paid for it, the days it ran, how many impressions it got (with each country's share) and who it was targeted at.

  • Your competitors' whole LinkedIn playbook: every format, including single image, video, carousel, document, article, spotlight and thought-leader ads (a member's post promoted by the company, with both names).
  • Reach and targeting, not just creatives: impressions range, share of impressions by country, target languages and locations, and whether audiences, companies, job titles, demographics, education and interests were used to include or exclude people.
  • Landing pages with their tracking tags: see the exact offer, campaign and UTM parameters behind each ad.
  • Only new ads on a schedule: turn on "Only new ads" and each scheduled run returns just the ads that appeared since the last one. Ads you already have are skipped free of charge.
  • Search the way you think: by company, by any word or phrase in the ad text, or by the legal entity that paid, filtered by country and date. Or paste links straight from the Ad Library, or a company's LinkedIn page.
  • Reliable by design: a misspelled company or a bad link is skipped and named in the run summary while your other searches carry on, and you only pay for ads delivered.

Run the prefilled form to preview HubSpot's 20 newest LinkedIn ad cards. Turn on Include ad details to add the full ad page fields.

Built for B2B marketers, demand-generation and paid-social teams, agencies pitching new clients, competitive-intelligence and product-marketing teams, and anyone building a swipe file of LinkedIn ads that work.

Watching other channels too? Pair it with our Facebook Ads Library scraper and Google Ads Transparency scraper for the same competitors.

Use cases

  • Competitor monitoring: schedule a weekly run on your top competitors with "Only new ads" on and get every new campaign the day it shows up.
  • Messaging and offer research: export a category's ad copy, headlines and call-to-action buttons by keyword and see which angles everyone uses.
  • Budget and market signals: impressions ranges and country splits show where a competitor is spending and how hard.
  • Targeting insight: see which companies, job functions and locations an advertiser goes after.
  • Agency pitches and creative swipe files: pull a prospect's last year of LinkedIn ads, with images and videos, in one run.
  • Lead generation: keyword searches surface every company advertising in your niche, with its LinkedIn page and the landing page it promotes.

Quick start

The prefilled form returns up to 20 HubSpot ad cards. An empty API input ({}) returns up to 20 HubSpot ads with details.

Two competitors' ads from the last 30 days in Germany and France:

{
"advertisers": ["HubSpot", "Salesforce"],
"countries": ["DE", "FR"],
"dateRange": "last-30-days",
"maxResults": 200
}

Every advertiser whose ads mention a topic, as a fast list without the per-ad details:

{
"keywords": ["AI agents", "cybersecurity"],
"includeDetails": false,
"maxResults": 500
}

A weekly competitor watch (save it as a task and schedule it):

{
"advertisers": ["HubSpot", "Pipedrive", "Zoho"],
"onlyNewAds": true,
"monitorName": "crm-competitors"
}

Links copied from the Ad Library work too, with all their filters, and so does a company's LinkedIn page:

{
"startUrls": [
"https://www.linkedin.com/ad-library/search?accountOwner=hubspot&countries=GB,IE",
"https://www.linkedin.com/ad-library/detail/1643384694",
"https://www.linkedin.com/company/68529"
]
}

Input

FieldWhat it does
advertisersCompany or advertiser names, one search each.
keywordsWords or phrases in the ad text, one search each.
payersNames of the entity that paid for the ads, one search each.
countriesOnly ads shown in these countries (codes like US, DE, or English names).
dateRangeall (default), last-30-days, current-month, current-year, last-year or custom with startDate / endDate.
includeDetailsDefaults to on for API inputs that omit it. The prefilled form starts with it off. Turn it on for full text, button, landing page, payer, run dates, impressions and targeting.
onlyNewAdsReturn only ads not delivered by this saved search before.
monitorNameOptional name for that history, so several tasks can share or separate it.
startUrlsAd Library search links, single-ad links or company page links. Each delivered single-ad link incurs the ad details charge even when includeDetails is off.
maxResultsMost ads per search (default 100, up to 5,000). Search results are newest first. Single-ad links share one limit and follow input order.

Output

One row per ad. With details on (the default):

{
"adId": "1643384694",
"adUrl": "https://www.linkedin.com/ad-library/detail/1643384694",
"advertiserName": "HubSpot",
"advertiserUrl": "https://www.linkedin.com/company/68529",
"advertiserType": "company",
"advertiserCompanyId": "68529",
"advertiserLogoUrl": "https://media.licdn.com/dms/image/v2/C4D0BAQF8H-SLmMDZlA/company-logo_100_100/company-logo_100_100/0/1646683330132/hubspot_logo?e=1796256000&v=beta&t=t1LMuwdMXiqcs78ORC0phmuGUKugrae1RxkL9foPt30",
"advertiserHeadline": null,
"postAuthorName": null,
"postAuthorHeadline": null,
"postAuthorUrl": null,
"postAuthorImageUrl": null,
"adFormat": "Single Image Ad",
"creativeType": "SPONSORED_STATUS_UPDATE",
"adText": "Finally, AI-powered by the context of your business. Get the free HubSpot connector for ChatGPT and unlock better insights.",
"adTextTruncated": false,
"textLinks": [],
"hashtags": [],
"headline": "Ask about your pipeline. Get real answers, grounded in context.",
"description": null,
"callToAction": "Learn more",
"destinationUrl": "https://www.hubspot.com/chatgpt",
"imageUrl": "https://media.licdn.com/dms/image/v2/D5610AQE1kIunv9Hgog/image-shrink_1280/B56aHHGchtLMAY-/0/1794341718329/ChatGPTConnectorAds2png?e=2147483647&v=beta&t=ao5vZxMo7--chowmUTeMhXUScrd_kMVPNBrppmxhddw",
"imageUrls": [
"https://media.licdn.com/dms/image/v2/D5610AQE1kIunv9Hgog/image-shrink_1280/B56aHHGchtLMAY-/0/1794341718329/ChatGPTConnectorAds2png?e=2147483647&v=beta&t=ao5vZxMo7--chowmUTeMhXUScrd_kMVPNBrppmxhddw"
],
"videoUrl": null,
"videoSources": [],
"carouselCards": [],
"documentTitle": null,
"documentPageCount": null,
"documentPageImageUrls": [],
"documentUrl": null,
"payer": "HubSpot, Inc.",
"runStartDate": "2026-11-12",
"runEndDate": "2026-11-17",
"runDatesText": "Ran from Nov 12, 2026 to Nov 17, 2026",
"impressions": "50k-100k",
"impressionsMin": 50000,
"impressionsMax": 100000,
"impressionsByCountry": [
{"country": "United Kingdom", "percent": 74.0, "share": "74%"},
{"country": "Ireland", "percent": 26.0, "share": "26%"},
{"country": "China", "percent": null, "share": "< 1%"}
],
"targeting": {
"language": {"includes": ["English"], "excludes": [], "text": "Targeting includes English"},
"location": {"includes": ["Ireland", "United Kingdom"], "excludes": [], "text": "Targeting includes Ireland, United Kingdom"}
},
"targetingCriteria": [
{"parameter": "Audience", "targeted": false, "excluded": true},
{"parameter": "Demographic", "targeted": false, "excluded": false},
{"parameter": "Company", "targeted": true, "excluded": false}
],
"detailLevel": "full",
"search": "HubSpot",
"searchType": "advertiser",
"collectedAt": "2026-11-17T03:40:12.118204+00:00"
}

Video ads add videoUrl and every videoSources quality; carousels list each card in carouselCards; document ads give documentTitle, documentPageCount and page images; thought-leader ads name the member in postAuthorName and postAuthorHeadline. Fields an ad does not have are null or empty.

With Include ad details off, each row has the search-card fields: the advertiser, format, image or video cover, headline and the first lines of the ad copy (adTextTruncated: true), and detailLevel is card.

The run summary (key-value store record OUTPUT) lists each search with the pages read, ads saved and why it ended, plus skipped inputs and source failures. When time runs out during enrichment, ads already found are saved with their available fields within the run's cost limit. With "Only new ads" on the summary also shows how many ads were new and how many were already delivered.

Use it as an API

One public ad with creative and any published transparency details. Get the answer in JSON from one HTTPS call. Call it from an AI agent through an HTTP-capable MCP tool, or add an HTTP request step in n8n, Make, or Zapier.

curl --get 'https://automatic--linkedin-ad-library-scraper.apify.actor/' \
--header "Authorization: Bearer $APIFY_TOKEN" \
--data-urlencode ad=1643384694

Send the same fields as a JSON object with POST /. Results are in data. See GET /openapi.json for the request and response definitions.

Pricing

Pay per result, no subscription:

EventFree planBronzeSilverGold and up
Ad$1.00 / 1,000$0.90 / 1,000$0.80 / 1,000$0.70 / 1,000
Ad details (Include ad details or pasted single-ad links)$1.00 / 1,000$0.90 / 1,000$0.80 / 1,000$0.70 / 1,000
Run start$0.003$0.003$0.003$0.003

Each delivered search ad carries the ad charge and adds the details charge only if its own page was read. Each delivered pasted single-ad link carries both charges. With "Only new ads" on, ads you already have are skipped free of charge. Use the maximum cost per run to cap spending.

Good to know

  • LinkedIn publishes the landing page, run dates, impressions and targeting for ads shown in the EU and Brazil. For other ads it shows the creative, the button and who paid, and those fields are empty. Country shares can take up to 48 hours to appear for a new ad.
  • The Ad Library keeps about one year of ads.
  • Company names are matched the way LinkedIn's own Ad Library search matches them, so a broad name can also return similarly named advertisers; paste the company's page link (with its number, as in /company/68529) or use the payer name to narrow it.
  • "Only new ads" follows the newest-first order: the first run sets the starting point and later runs stop once they reach ads already delivered.
  • Image and video links come from LinkedIn and expire after a while; download the files you want to keep.
  • Data is what LinkedIn shows publicly in its Ad Library; check its terms for your use.