LinkedIn Ad Library Scraper: Ads with Targeting icon

LinkedIn Ad Library Scraper: Ads with Targeting

Scrape the LinkedIn Ad Library: B2B ads by company, website or keyword, with text, headline, image or video, call to action, landing page, dates, impressions, share per country and the targeting used (job, company, location).

$0.50 per 1,000 linkedin ad+ LinkedIn ad details $1.30 per 1,000updated 2026-11-30
Try it

Build the input, get the call

Change any field; the code on the right follows. Copy it, or run the same input on Apify.

Companies to read, one per line: a company name as LinkedIn shows it (HubSpot), a website domain (hubspot.com), a LinkedIn company page link, or a search link copied from the LinkedIn Ad Library.

Words to find in ad text, from any company (crm, sales automation).

Filters

Where the ads ran: a two-letter country code (US, GB, DE, IN...) or ALL for every country.

Running now, or every ad in the library.

Only ads shown on or after this date (2026-10-01) or within a period (30 days, 2 weeks, 3 months).

Only ads shown on or before this date (2026-11-14).

Only ads of this kind. Text means text-only ads (no image or video).

Ad details

Open each LinkedIn ad for its full text, call to action, landing page, the advertiser's page, who paid, the dates it ran, total impressions, the share of impressions per country and the audience it targeted. Charged per ad (see Pricing)....

Limits

Most ads to return for each advertiser or keyword, in each library.

Most ads per run, both libraries together.

Monitoring

Schedule the Actor and each run returns only ads that earlier runs did not deliver, tracked per advertiser: adding a brand later does not reset the others.

Output

What you get back

A real row from the README, and the fields every row has.

sourcelinkedin
queryhubspot.com
advertiserNameHubSpot
advertiserId68529
advertiserUrlhttps://www.linkedin.com/company/68529
adId1643384704
adUrlhttps://www.linkedin.com/ad-library/detail/1643384704
formatimage
firstShown2026-11-12
lastShown2026-11-14
isActivetrue
headlineAnswers grounded in your HubSpot data.
textConnect HubSpot to ChatGPT and get answers grounded in your real contacts, deals, and tickets.
callToActionLearn more
landingUrlhttps://www.hubspot.com/chatgpt
paidForByHubSpot, Inc.
impressions10k-20k
regions["GB","IE"]
FieldWhat it holds
sourceLibrary
advertiserNameAdvertiser
creatorCreator
formatFormat
headlineHeadline
textAd text
callToActionButton
landingUrlLanding page
previewImageUrlPreview
firstShownFirst shown
lastShownLast shown
isActiveRunning
daysRunningDays
platformsSurfaces
adUrlAd

Download as JSON, CSV, Excel or XML from the run, or have it sent to Google Sheets, Slack or a webhook.

Guide

How LinkedIn Ad Library Scraper works

Inputs, options and tips, from the tool's own documentation.

Get the ads a company runs on LinkedIn from the LinkedIn Ad Library, or every ad that mentions a keyword. Ad text, headline, image or video, call to action, landing page, who paid, dates, impressions, the share of impressions per country and the targeting used: language, location, company, job, audiences. No LinkedIn account needed.

At a glance

  • Find ads your way: company name as LinkedIn shows it, website domain, LinkedIn company page link, a search link copied from the Ad Library, or keywords in ad text.
  • Ad creative: text, headline, image or video cover, call to action, landing page, and the text of message ads. Thought-leader ads name the person whose post it is and their title.
  • Reach and targeting: impressions range, share of impressions per country, and each targeting option with whether the advertiser used it and the values LinkedIn names. LinkedIn publishes these for ads shown in the EU.
  • Who is behind the ad: company name, ID, page, logo, and who paid.
  • Filters: country, running now or all, date range (LinkedIn keeps the last year), ad type.
  • Monitoring: turn on Only new ads and schedule the run to get each new ad once.
  • Price, each part below the usual Store price: $0.50 per 1,000 ads, plus $1.30 per 1,000 for the ad's page with dates, impressions, countries and targeting (on by default, charged only when LinkedIn publishes them for the ad). A small start fee per run; lower prices on higher Apify plans.

Input

json
{
  "advertisers": ["hubspot.com", "https://www.linkedin.com/company/salesforce/"],
  "keywords": ["sales automation"],
  "country": "ALL",
  "activeStatus": "all",
  "dateFrom": "3 months",
  "maxAdsPerAdvertiser": 100
}
Questions

Questions about LinkedIn Ad Library Scraper

Why do some ads have no dates, impressions or targeting?

LinkedIn publishes those for ads shown in the EU. Other ads show the creative, the company and who paid, and are not charged the extra.

Why did a company name find nothing?

The name must match the company name on LinkedIn. Try the website domain, the company page link, or a search link copied from the Ad Library.

Need Google, Meta or TikTok ads too?

Competitor Ads (tacps126/competitor-ads) reads all four libraries in one run, in the same row shape.

How much does LinkedIn Ad Library Scraper cost?

$0.50 per 1,000, charged only for linkedin ads returned; a run that finds nothing costs nothing. It runs on Apify, whose free plan includes monthly credit, so you can try it without paying.

Do I need to write code?

No. Fill in the form on Apify and press Start, schedule it, or send the results to Google Sheets, Slack or a webhook. For code, the input builder on this page writes the API call in curl, Python or JavaScript.

What does LinkedIn Ad Library Scraper return?

Every row has the same fields, including source, advertiserName, creator, format, headline, text, callToAction, landingUrl. Download as JSON, CSV, Excel or XML.

Can it run on a schedule and return only new results?

Yes. Schedule it on Apify (hourly, daily, weekly) and turn on the only-new option: each run then returns only what appeared since the last run with the same input.