LinkedIn Ad Library Scraper - Ads, Creatives & Targeting avatar

LinkedIn Ad Library Scraper - Ads, Creatives & Targeting

Pricing

Pay per event

Go to Apify Store
LinkedIn Ad Library Scraper - Ads, Creatives & Targeting

LinkedIn Ad Library Scraper - Ads, Creatives & Targeting

Scrape LinkedIn Ad Library ads by advertiser, keyword or payer. Get creative copy, images, CTA, destination, payer, run dates, impressions by country and targeting as JSON.

Pricing

Pay per event

Rating

0.0

(0)

Developer

Spectre

Spectre

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

15 hours ago

Last modified

Features

Limited permissions

Share

What does LinkedIn Ad Library Scraper do?

LinkedIn Ad Library Scraper turns public LinkedIn Ad Library results into clean, structured data. Search by company, keyword or payer, or paste any Ad Library URL, and get one row per ad with its advertiser, payer, headline, copy, images, video, CTA, destination, run dates, impressions by country and targeting — ready to export as JSON, CSV or Excel.

It is a lightweight LinkedIn Ad Library API alternative for competitor ad research, creative monitoring and ad-spend intelligence. No LinkedIn account, login or API key is required. The Actor runs on Apify, so you also get scheduling, programmatic API access, webhooks and integrations with tools such as n8n, Make and Zapier.

Why use LinkedIn Ad Library Scraper?

The Ad Library is the official place to see which ads a company runs, but it is built for browsing, not for data work. This Actor handles the whole pipeline:

  • Search by advertiser, keyword, payer and country, with date, impressions, targeting and sort filters.
  • Paginate automatically and de-duplicate ads across pages.
  • Optionally open every ad to add the full detail payload: payer, run dates, total impressions, impressions by country, targeting parameters, CTA and landing page.
  • Capture image, carousel and video creatives, including the highest-bitrate MP4 for video ads.
  • Works for the US and every other market, and returns the extra EU and Brazil fields (run dates, impressions, targeting) when LinkedIn publishes them.
  • Returns clean, typed JSON — no HTML parsing, browser automation or maintenance on your side.

Use it for:

  • Competitor ad-creative monitoring and swipe files.
  • Ad-copy and landing-page research.
  • Share-of-voice and creative-volume analysis.
  • Payer and agency mapping.
  • EU ad-transparency and targeting research.
  • Building dashboards and datasets of LinkedIn ads.

What data can LinkedIn Ad Library Scraper extract?

Search fields are always present. Detail fields are added when Fetch ad details is enabled. Run dates, impressions and targeting are only published by LinkedIn for ads in the EU and Brazil; elsewhere those fields are null.

FieldTypeDescription
adIdstringLinkedIn Ad Library ad ID
detailUrlstringPublic ad detail URL
advertiserNamestringAdvertiser shown on the ad
advertiserProfileUrlstringLinkedIn company page of the advertiser
payerstringEntity that paid for the ad
formatstringSingle Image Ad, Video Ad, Carousel Ad, Message Ad, Document Ad, etc.
creativeTypestringRaw LinkedIn creative type
headlinestringCreative headline
descriptionstringSupporting description under the headline
copystringMain ad copy
ctaTextstringCTA button text, for example Learn more
destinationUrlstringLanding page with LinkedIn tracking removed
imageUrlstringPrimary creative image
imagesarrayAll creative images (carousel slides included)
videoUrlstringHighest-bitrate MP4 for video ads
logoUrlstringAdvertiser logo
promotedbooleanWhether the ad is labelled Promoted
runStartDatestringFirst run day, YYYY-MM-DD (EU/Brazil)
runEndDatestringLast run day, YYYY-MM-DD (EU/Brazil)
runDurationTextstringOriginal run-date text
impressionsTotalstringEstimated impressions bucket, e.g. < 1k (EU/Brazil)
impressionsByCountryarrayCountry and share in percent (EU/Brazil)
targetingarrayCategory, included/excluded values, targeted/excluded flags (EU/Brazil)
variantsCountnumberNumber of creative variants
searchCountriesarrayCountry codes used in the search
sourceUrlstringSearch URL the ad was found on
pagenumberSearch result page
positionnumberPosition on the search page
scrapedAtstringISO timestamp of the search page
detailScrapedAtstringISO timestamp of the detail page
hasDetailsbooleanWhether the detail page was fetched
detailErrorstringError code when a detail page failed

How much does it cost to scrape LinkedIn ads?

This Actor is pay-per-result. Two events are charged:

  • listing-only — one ad from a search page, without opening the detail page.
  • with-details — one ad with the detail page opened (payer, dates, impressions, targeting, CTA, destination).

See the Pricing tab for the current rate. A typical ad costs well under one cent, and opening details costs roughly one extra HTTP request per ad. Apify proxy is used when your account can access it; the Actor falls back to no proxy otherwise. Switching to residential proxy raises proxy cost but not compute.

How to use LinkedIn Ad Library Scraper

  1. Enter a Company / advertiser, a Keyword or a Payer. At least one is required.
  2. Pick one or more Countries (ISO codes such as US, GB, DE, FR, BR).
  3. Optionally set Date range, Impressions, Targeting and Sort order.
  4. Set Maximum ads and Pages per search. LinkedIn shows about 24 ads per page.
  5. Leave Fetch ad details on for the full payload, or turn it off for a faster, cheaper listing-only run.
  6. Run the Actor and export the dataset.

You can also paste Start URLs to use every filter LinkedIn supports, or to fetch specific ad detail pages.

Example input

{
"company": "Microsoft",
"countries": ["US", "DE"],
"dateOption": "last-30-days",
"maxItems": 200,
"maxPages": 10,
"includeDetails": true,
"delayBetweenRequestsMs": 2000,
"proxyConfiguration": { "useApifyProxy": true }
}

Example output

{
"adId": "1646797314",
"detailUrl": "https://www.linkedin.com/ad-library/detail/1646797314",
"advertiserName": "Microsoft",
"advertiserProfileUrl": "https://www.linkedin.com/company/1035",
"payer": "ZENITH UK (MEDIA) LIMITED",
"format": "Single Image Ad",
"headline": "NIS2-Anforderungen in die Tat umsetzen",
"copy": "NIS2 ist keine Zukunftsaufgabe mehr, sondern bereits eine operative Priorität. Im aktuellen IDC-Report finden Sie ...",
"ctaText": "Mehr erfahren",
"destinationUrl": "https://info.microsoft.com/...",
"imageUrl": "https://media.licdn.com/dms/image/...",
"runStartDate": "2026-11-24",
"runEndDate": "2026-12-01",
"impressionsTotal": "< 1k",
"impressionsByCountry": [
{ "country": "Germany", "share": 71 },
{ "country": "Austria", "share": 29 }
],
"targeting": [
{ "category": "Language", "includes": ["Deutsch"], "excludes": [], "targeted": null, "excluded": null }
],
"hasDetails": true
}

Input reference

InputDescription
Start URLsAd Library search or detail URLs. Override the filters below.
Company / advertiseraccountOwner search, for example Microsoft.
KeywordWord or phrase in ad copy.
PayerPayer name shown in the Ad Library.
CountriesISO alpha-2 codes, comma-combined in the request.
Date rangeAll time, last 30 days, current month, current year, last year or a custom range.
ImpressionsMinimum and maximum, in thousands or millions.
Targeting included / excludedFilter by language, location, audience, demographic, company, education, job or interests. EU/Brazil only.
Sort orderNewest to oldest or oldest to newest.
Maximum adsCap the run. 0 means no limit, up to 5,000.
Pages per searchAbout 24 ads per page.
Fetch ad detailsOpen each ad for payer, dates, impressions, targeting, CTA and destination.
ConcurrencyParallel detail requests, with the global delay still applied.
Delay between requestsRecommended 2,000 ms. Lower values can trigger HTTP 999.
RetriesAttempts per page, each with a new proxy IP.
Proxy configurationApify proxy when available, otherwise no proxy. If you see verification pages, set a group your account can access (for example RESIDENTIAL).

Limitations

  • Run dates, impressions and targeting are EU/Brazil only. LinkedIn does not publish them for US and most other markets; the fields are null there.
  • Destination URLs can be missing. Some ads, especially in the US, show a disabled CTA with no landing-page link. The Actor returns null rather than guessing.
  • Signed media URLs expire. imageUrl, images and videoUrl carry LinkedIn expiry parameters; re-scrape to refresh them.
  • Pagination tokens are short-lived. The Actor re-reads the token from each page and stops cleanly if LinkedIn expires it.
  • Heavy use can trigger HTTP 999. Keep the 2,000 ms delay and retries on; if it persists, set a proxy group your account can access (for example RESIDENTIAL).
  • The Actor reads only public Ad Library pages. It does not log in, bypass paywalls or access private data.

FAQ

Do I need a LinkedIn account? No. The Ad Library is public and the Actor fetches it with plain HTTP.

Can I search by advertiser and keyword at the same time? Yes. Combine Company, Keyword and Payer; LinkedIn applies them together.

Why are impressions empty for US ads? LinkedIn only publishes impressions, run dates and targeting for ads shown in the EU and Brazil.

Can I get the video file? Yes. videoUrl is the highest-bitrate MP4 LinkedIn exposes for video ads.

Can I schedule it? Yes. Use Apify schedules, the API, webhooks or an integration such as n8n, Make or Zapier.