VOOZH about

URL: https://apify.com/dz_omar/linkedin-ads-scraper?fpr=smcx63

⇱ LinkedIn Ad Library Data Extraction Tool Β· Apify


Pricing

from $0.45 / 1,000 linkedin ad data extractions

Go to Apify Store

LinkedIn Ads Scraper

πŸ” Extract comprehensive LinkedIn ads data from the Ad Library. Get ad creatives, headlines, copy, advertiser info, and targeting details. Perfect for competitive intelligence, πŸ“ˆ market research, and ad campaign analysis. Supports keyword search, date filtering, and multi-country targeting.

Pricing

from $0.45 / 1,000 linkedin ad data extractions

Rating

5.0

(4)

Developer

πŸ‘ FlowExtract API

FlowExtract API

Maintained by Community

Actor stats

9

Bookmarked

82

Total users

19

Monthly active users

4 days ago

Last modified

Share

πŸ“’ LinkedIn Ad Library Scraper

Extract comprehensive advertising data from LinkedIn's Ad Library with automatic pagination, advanced filtering, URL-based search, and optional ad detail enrichment.

This Apify actor extracts detailed ad information from LinkedIn's public Ad Library, delivering structured data about ad campaigns including creatives, headlines, advertiser details, impressions, targeting parameters, and more.

🎬 Video Tutorial

πŸ‘ Watch the Tutorial


Key Features

Comprehensive Ad Data Extraction

  • Ad Creatives β€” Images, videos (all quality variants), and carousel content
  • Ad Copy β€” Headlines, body text, descriptions, and full untruncated ad text
  • Advertiser Information β€” Company names, logos, bio/subtitle text, profile URLs
  • Call-to-Action β€” CTA button text and destination links
  • External Links β€” URLs mentioned in ad text
  • Ad Detail Enrichment β€” Optional deep-fetch of impressions, targeting, dates, payer info, and video URLs per ad
  • Metadata β€” Ad IDs, creative types, run dates, status (active/inactive), and timestamps

Performance & Reliability

  • Smart Pagination β€” Automatically handles multi-page results across every search
  • Automatic Retries β€” Transient errors and rate limits are retried for you
  • Concurrent Detail Fetching β€” Enriches multiple ads in parallel
  • Rate Limit Handling β€” Automatic detection and back-off on HTTP 429 responses

Two Search Modes

  • URL Mode β€” Paste LinkedIn Ad Library URLs directly (with all filters pre-applied)
  • Search Mode β€” Build one or more searches, each with its own company, payer, keyword, country, date range, impressions, targeting, and sort order

πŸ” How Searching Works

The actor mirrors exactly how search works on linkedin.com/ad-library: you fill in the Company or advertiser, Payer, and/or Keyword fields, pick your Country, Date, and More filters, and run the search.

This actor lets you queue many of those searches at once. There are two ways to provide them, and you can use either or both in a single run:

  1. URLs β€” paste any number of LinkedIn Ad Library URLs. Every filter already baked into the URL is respected.
  2. Searches β€” build searches from scratch in the input form. Each search is fully independent and carries its own filters.

This is the key difference from a single global search: you can run "apify, newest first, US" and "marketing, last 30 days, Germany, min 10k impressions" in the same run, each with completely different settings.

Each search needs at least one identifier

LinkedIn can't run a search with no search terms, so every search must have at least one of: Company, Payer, or Keyword. You can fill in just one, any two, or all three. A search with none of these is skipped automatically (the rest of your searches still run). All the other fields β€” country, date, impressions, targeting, sort β€” are optional refinements.


πŸ“Š Results & Cost

maxResults sets the cap per URL and per search β€” not for the whole run.

Worst-case total = (number of URLs + number of searches) Γ— maxResults

Example: 2 URLs + 3 searches, with maxResults = 11:

(2+3) Γ— 11=55 ads maximum

Set maxResults to 0 for unlimited results per URL/search.


🌐 Proxy & Reliability

This Actor uses a tiered proxy strategy to deliver the best possible success rate.

Paying users get our premium dedicated proxy infrastructure optimized specifically for LinkedIn Ad Library, with higher success rates, faster response times, and significantly fewer rate-limit interruptions on large scrapes.

Free users run on the standard Apify Proxy network. It works well for small jobs and quick tests, but on larger or sustained scrapes you may see slower runs and occasional retries.

If you're hitting limits on the free tier or running production workloads, upgrading to a paid plan automatically activates the premium proxy β€” no configuration required.

FreePaid
Proxy networkApify ProxyPremium dedicated infrastructure
Rate-limit resilienceStandardEnhanced
Best forSmall scrapes, testingProduction workloads, large scrapes

Automatic failover: If the premium proxy is ever unreachable, the Actor seamlessly falls back to Apify Proxy mid-run β€” your scrape never stops.


πŸš€ Quick Start

Basic Keyword Search

{
"searches":[
{"keyword":"apify"}
],
"maxResults":50
}

Search by URL

{
"urls":[
{"url":"https://www.linkedin.com/ad-library/search?keyword=sony&countries=DZ"}
],
"maxResults":20
}

Search by Company and Payer

{
"searches":[
{"accountOwner":"Apify","payer":"Apify Technologies s.r.o."}
],
"maxResults":30
}

🎯 Independent Searches in One Run

Each entry in searches runs as its own search, with its own filters. Mix regions, dates, sort orders, and impression ranges freely:

{
"searches":[
{
"keyword":"web scraping",
"countries":["US"],
"sortOrder":"DESCENDING"
},
{
"accountOwner":"HubSpot",
"countries":["DE"],
"dateOption":"last-30-days",
"impressionsMinValue":10,
"impressionsMinUnit":"thousand"
},
{
"keyword":"black friday",
"dateOption":"custom-date-range",
"startDate":"2025-11-01",
"endDate":"2025-11-30"
}
],
"fetchAdDetail":true,
"maxResults":50
}

This runs 3 independent searches:

  1. web scraping in the US, newest first
  2. HubSpot ads in Germany from the last 30 days with at least 10k impressions
  3. black friday ads during November 2025

Total: 3 searches Γ— 50 = 150 max results.

URLs + Searches Combined

{
"urls":[
{"url":"https://www.linkedin.com/ad-library/search?keyword=sony&countries=DZ"}
],
"searches":[
{"keyword":"apify","payer":"Apify Technologies s.r.o."}
],
"maxResults":10
}

The URL runs as one job and the search runs as another, each independently paginated and capped at maxResults.

Total: (1 URL + 1 search) Γ— 10 = 20 max results.


πŸ“‹ Input Configuration

Top-Level Parameters

ParameterTypeRequiredDefaultDescription
urlsarray❌-LinkedIn Ad Library URLs. Only linkedin.com/ad-library URLs are accepted β€” other URLs are rejected before the run starts.
searchesarray❌-One or more independent searches (see per-search fields below)
maxResultsinteger❌10Max ads per URL / per search (0 = unlimited)
fetchAdDetailboolean❌falseFetch the full ad detail page for each ad

Per-Search Fields (inside each searches entry)

FieldTypeRequiredDefaultDescription
accountOwnerstring⚠️*-Company or advertiser name
payerstring⚠️*-Entity that paid for the ad
keywordstring⚠️*-Word or phrase to search
countriesarray❌AllCountry codes (e.g., US, GB, DZ)
sortOrderstring❌DESCENDINGASCENDING or DESCENDING
dateOptionstring❌-Predefined date filter (see below)
startDatestring❌-Custom start date (YYYY-MM-DD)
endDatestring❌-Custom end date (YYYY-MM-DD)
impressionsMinValueinteger❌-Minimum impressions value
impressionsMinUnitstring❌-none, thousand, or million
impressionsMaxValueinteger❌-Maximum impressions value
impressionsMaxUnitstring❌-none, thousand, or million
includedTargetingFacetCategoriesarray❌-Targeting categories to include
excludedTargetingFacetCategoriesarray❌-Targeting categories to exclude

⚠️ *At least one of accountOwner, payer, or keyword is required per search. You may fill one, two, or all three.

Impressions Units

ValueMeaningExample
noneExact number (no multiplier)impressionsMinValue: 5, impressionsMinUnit: none β†’ min 5 impressions
thousandMultiply by 1,000impressionsMinValue: 5, impressionsMinUnit: thousand β†’ min 5,000 impressions
millionMultiply by 1,000,000impressionsMaxValue: 2, impressionsMaxUnit: million β†’ max 2,000,000 impressions

Targeting Facet Categories

Available values for includedTargetingFacetCategories and excludedTargetingFacetCategories:

LANGUAGE, LOCATION, AUDIENCE, DEMOGRAPHIC, COMPANY, EDUCATION, JOB, INTERESTS_AND_TRAITS

A category can appear in both included and excluded arrays simultaneously β€” this corresponds to LinkedIn's "Both" filter option.

Date Filter Options

ValueDescription
last-30-daysLast 30 days
current-monthCurrent month
current-yearCurrent year
last-yearPrevious year
custom-date-rangeCustom range (requires startDate + endDate)

If startDate and endDate are both provided, they take priority over dateOption.


πŸ“€ Output Structure

Standard Output (fetchAdDetail: false)

{
"adId":"894398854",
"advertiserName":"Apify",
"advertiserBio":"Promoted",
"isPromoted":true,
"creativeType":"SPONSORED_STATUS_UPDATE",
"headline":"$1M in prizes for tools AI needs.",
"adText":"Companies deploying AI hit walls. Tools don't exist yet...",
"detailPageUrl":"https://www.linkedin.com/ad-library/detail/894398854",
"imageUrl":"https://media.licdn.com/dms/image/...",
"logoUrl":"https://media.licdn.com/dms/image/...",
"ctaText":"View details",
"externalLinksInText":[],
"scrapedAt":"2026-03-21T00:55:56.066Z"
}

Enriched Output (fetchAdDetail: true)

When fetchAdDetail is enabled, each ad includes a detail object with deep data from the ad's detail page:

{
"adId":"1230248844",
"advertiserName":"Nivide",
"advertiserBio":"Promoted",
"isPromoted":true,
"creativeType":"SPONSORED_STATUS_UPDATE",
"headline":"Professionellt stΓΆd kring digital annonsering och SEO",
"adText":"Γ„r det dags fΓΆr ett omtag kring fΓΆretagets digitala annonsering eller SEO?...",
"detailPageUrl":"https://www.linkedin.com/ad-library/detail/1230248844",
"imageUrl":"https://media.licdn.com/dms/image/...",
"logoUrl":"https://media.licdn.com/dms/image/...",
"ctaText":"View details",
"externalLinksInText":[],
"scrapedAt":"2026-03-21T20:21:24.677Z",
"detail":{
"adType":"Single Image Ad",
"advertiserName":"Nivide",
"advertiserProfileUrl":"https://www.linkedin.com/company/5275721",
"paidForBy":"Nivide AB",
"adRunDatesRaw":"Ran from Mar 15, 2026 to Mar 21, 2026",
"adStartDate":"Mar 15, 2026",
"adEndDate":"Mar 21, 2026",
"adStatus":"INACTIVE",
"totalImpressions":"< 1k",
"impressionsByCountry":[
{
"country":"Sweden",
"impressionPercent":"100%",
"progressValue":100
}
],
"targetingLanguage":"Targeting includes svenska",
"targetingLocation":"Targeting includes Sverige",
"targetingParameters":[
{"category":"Audience","hasInclusion":false,"hasExclusion":false,"targetingType":"NONE"},
{"category":"Demographic","hasInclusion":false,"hasExclusion":false,"targetingType":"NONE"},
{"category":"Company","hasInclusion":true,"hasExclusion":true,"targetingType":"BOTH"},
{"category":"Education","hasInclusion":false,"hasExclusion":false,"targetingType":"NONE"},
{"category":"Job","hasInclusion":true,"hasExclusion":true,"targetingType":"BOTH"},
{"category":"Member Interests and Traits","hasInclusion":false,"hasExclusion":false,"targetingType":"NONE"}
],
"creativeType":"SPONSORED_STATUS_UPDATE",
"fullAdText":"Γ„r det dags fΓΆr ett omtag kring fΓΆretagets digitala annonsering eller SEO?...",
"headlineText":"Professionellt stΓΆd kring digital annonsering och SEO",
"destinationUrl":"https://nivide.se?trk=ad_library_ad_preview_headline_content",
"ctaButtonText":"LΓ€s mer",
"advertiserLogoUrl":"https://media.licdn.com/dms/image/...",
"imageUrl":"https://media.licdn.com/dms/image/...",
"videoUrls":[],
"videoPosterUrl":null
}
}

Output Fields Reference

Standard Fields (always present)

FieldDescription
adIdUnique LinkedIn ad identifier
advertiserNameCompany/advertiser name
advertiserBioAdvertiser bio/subtitle text
isPromotedWhether ad is marked as promoted
creativeTypeType: SPONSORED_STATUS_UPDATE, SPONSORED_VIDEO, etc.
headlineAd headline text
adTextMain ad body text (may be truncated)
detailPageUrlLinkedIn URL to ad detail page
imageUrlAd creative image URL
logoUrlAdvertiser logo URL
ctaTextCall-to-action text
externalLinksInTextExternal URLs found in ad text
scrapedAtISO 8601 timestamp

Detail Fields (when fetchAdDetail: true)

FieldDescription
detail.adType"Video Ad", "Single Image Ad", etc.
detail.advertiserNameAdvertiser name from detail page
detail.advertiserProfileUrlLinkedIn company page URL
detail.paidForByLegal entity that paid for the ad
detail.adStartDateWhen the ad started running
detail.adEndDateWhen the ad stopped (null if still active)
detail.adStatusACTIVE, INACTIVE, or UNKNOWN
detail.adRunDatesRawRaw date string from the page
detail.totalImpressionsImpression range string (e.g., "100k-150k")
detail.impressionsByCountryArray of { country, impressionPercent, progressValue }
detail.targetingLanguageLanguage targeting text
detail.targetingLocationLocation targeting text
detail.targetingParametersArray of { category, hasInclusion, hasExclusion, targetingType }
detail.fullAdTextFull untruncated ad text
detail.headlineTextHeadline from card
detail.destinationUrlFull destination URL with UTM params
detail.ctaButtonTextCTA button label (e.g., "Learn more")
detail.videoUrlsArray of { src, type, bitrate } for all quality variants
detail.videoPosterUrlVideo thumbnail URL
detail.advertiserLogoUrlLogo image URL
detail.imageUrlAd image URL
detail.creativeTypeCreative type from data attribute

πŸ“Š Pre-Configured Data Views

1. πŸ“’ Overview

Quick summary of all ads with essential information.

Fields: Ad image, ID, advertiser, bio, creative type, headline, ad text, CTA, LinkedIn URL

2. πŸ“‹ Detailed View

Complete ad information including external links, timestamps, and enriched detail data.

Fields: All standard fields + detail fields (impressions, targeting, dates, video URLs)

3. 🏒 Advertisers

Ads grouped by advertiser/company.

Fields: Logo, company name, bio, ad ID, headline, creative type, URL

4. 🎨 Creative Analysis

Focus on ad creatives and content.

Fields: Creative image, ID, advertiser, bio, type, headline, body text, CTA


βš™οΈ More Examples

Full Filters with Impressions and Targeting

{
"searches":[
{
"keyword":"sony",
"countries":["DZ"],
"impressionsMinValue":5,
"impressionsMinUnit":"none",
"impressionsMaxValue":123456789,
"impressionsMaxUnit":"none",
"includedTargetingFacetCategories":["LANGUAGE","AUDIENCE","JOB"],
"excludedTargetingFacetCategories":["LOCATION","COMPANY"],
"sortOrder":"ASCENDING"
}
],
"maxResults":50
}

Multiple URLs with Detail Enrichment

{
"urls":[
{"url":"https://www.linkedin.com/ad-library/search?keyword=apify&countries=US%2CGB"},
{"url":"https://www.linkedin.com/ad-library/search?accountOwner=nivide&payer=nivide"}
],
"fetchAdDetail":true,
"maxResults":20
}

Competitor Research Across Regions

{
"searches":[
{"keyword":"web scraping","accountOwner":"ParseHub","countries":["US"]},
{"keyword":"data extraction","accountOwner":"Octoparse","countries":["GB"]},
{"keyword":"automation","accountOwner":"Apify","payer":"Apify Technologies s.r.o.","countries":["CA"]}
],
"dateOption":"last-30-days",
"fetchAdDetail":true,
"maxResults":50
}

Three independent searches, each scoped to its own company and region. Total: 3 Γ— 50 = 150 max results.

Seasonal Campaign Analysis (Unlimited)

{
"searches":[
{
"keyword":"black friday",
"dateOption":"custom-date-range",
"startDate":"2025-11-01",
"endDate":"2025-11-30"
}
],
"maxResults":0
}

πŸ“ˆ Performance

Without fetchAdDetail

  • Page (10 ads) β€” a few seconds
  • 100 Ads β€” well under a minute
  • 1000 Ads β€” a few minutes

With fetchAdDetail Enabled

Enabling detail enrichment fires one extra request per ad, so expect runs to take longer β€” typically a few minutes per 100 ads depending on retry rate.

Resource Usage

  • Memory β€” 256MB minimum, 512MB recommended
  • Network β€” Moderate bandwidth (higher with fetchAdDetail)

⚠️ Important Notes

Legal Considerations

This actor extracts publicly available data from LinkedIn's Ad Library. Users must:

  • Comply with LinkedIn's Terms of Service
  • Respect robots.txt directives
  • Follow applicable data protection laws (GDPR, CCPA, etc.)
  • Use data responsibly and ethically

The actor creator is not responsible for how users utilize the extracted data.

Data Accuracy

  • Data is extracted as-is from LinkedIn Ad Library
  • Ad availability may change between scraping sessions
  • Some fields may be null if not present in the ad
  • The detail object depends on the detail page layout β€” if LinkedIn changes it, some fields may return null
  • Video URLs include all quality variants with bitrate info

Searches & Validation

  • Only linkedin.com/ad-library URLs are accepted β€” other URLs are rejected before the run starts
  • Each search must include at least one of Company, Payer, or Keyword; searches missing all three are skipped automatically, and the rest of the run continues

πŸ’¬ Support & Contact

Get Help

Social Media

🌟 Related Actors by FlowExtract API

🎬 Video & Media Tools

YouTube Transcript & Metadata Extractor Extract complete video transcripts with timestamps and comprehensive metadata.

YouTube Full Channel, Playlists, Shorts, Live Extract complete playlist information with all video details from any YouTube playlist.

Zoom Scraper | πŸŽ₯ Downloader & πŸ“„ Transcript Extract Zoom meeting recordings, transcripts, and metadata.

Loom Scraper | πŸŽ₯ Downloader & πŸ“„ Transcript Download Loom videos and extract transcripts.

🏠 Real Estate Data

PropertyFinder Scraper Extract real estate property listings from PropertyFinder across UAE, Saudi Arabia, Bahrain, Egypt, and Qatar.

Idealista Scraper API Advanced Idealista property data extraction with API access.

Idealista Scraper Extract Spanish real estate listings from Idealista.

πŸ› οΈ Developer & Security Tools

Screenshot Fast, reliable webpage screenshots with customizable options.

Ultimate Screenshot Advanced screenshot tool with full-page capture, custom viewports, and quality controls.

Network Security Scanner Scan websites for security vulnerabilities and get comprehensive security reports.

πŸ“± Social Media Tools

Facebook Ads Scraper Pro Extract Facebook ads data for competitor analysis and market research.

AI Contact Intelligence Extractor Extract emails, phones, contacts & custom data using AI.


Ready to extract LinkedIn ad data? Start using LinkedIn Ad Library Scraper now!

You might also like

Facebook Ad Library Scraper

akash9078/facebook-ad-library-scraper

Scrape Facebook Ad Library data including ad creatives, targeting info, performance metrics, and advertiser details. Extract ads by keyword, advertiser, or country for competitive research and marketing analysis.

πŸ‘ User avatar

Akash Kumar Naik

3

LinkedIn Ads Scraper

scrapier/linkedin-ads-scraper

Extract LinkedIn ad data with the LinkedIn Ads Scraper. Retrieve ad creatives, campaign details, targeting info, engagement metrics, and impressions. Ideal for competitor analysis, market research, and advertising strategy insights. Fast, accurate, and scalable for bulk ad data.

LinkedIn Ads Scraper

ivanvs/linkedin-ads-scraper

Extract details about ads from Linkedin Ad Library. Scrape ad details like when it was run, ad targeting, advertiser and content of ad. Download ad data in JSON, XML, Excel format.

59

2.0

LinkedIn Ad Library Scraper

ivanvs/linkedin-ad-library-scraper

Extract details about ads from LinkedIn Ad Library. Scrape ad details like when it was run, ad targeting, advertiser and content of ad. Download ad data in JSON, XML, Excel format.

236

2.3

LinkedIn Ads Scraper

api-empire/linkedin-ads-scraper

LinkedIn Ads Scraper extracts ads from the LinkedIn Ads Library. Capture creatives, formats, copy, impressions, targeting data, timestamps, and advertiser details. Ideal for competitor research, campaign analysis, ad benchmarking, and workflows needing structured LinkedIn ads data.

Facebook Ad Library Scraper - Competitor Ads & Creatives

fascinating_lentil/facebook-ad-library-scraper

Scrape ads from the public Facebook Ad Library. Extract ad creatives, text, headlines, spend ranges, impressions, targeting info, and more.

πŸ‘ User avatar

Md Jakaria Mirza

2

LinkedIn Ad Library Scraper

xtech/linkedin-adlibrary-scraper

Extract LinkedIn ads data with targeting, performance metrics, and creative content. Monitor competitors' ad strategies, analyze targeting patterns, and track campaign performance. Get structured data for market research and competitive analysis.

LinkedIn Ad Library Scraper

igolaizola/linkedin-ad-library-scraper

Scrape LinkedIn Ad Library ads with advanced filters: keyword, account owner, payer, country, date range, impressions, and segmentation. Extract ad IDs, creatives, advertiser profiles, headlines, CTA text, and detail URLs for competitor research and ad intelligence.

πŸ‘ User avatar

IΓ±igo Garcia Olaizola

30

LinkedIn Ads Scraper (Ad Library)

khadinakbar/linkedin-ads-scraper

Scrape LinkedIn public Ad Library ads by advertiser, payer, keyword, country and date range. Extract ad copy, creatives, advertiser details, payer info and pagination diagnostics. No login or cookies required.

LinkedIn Ad Library Scraper

scrapeai/linkedin-ad-library-scraper

Extract structured advertising intelligence from the LinkedIn Ad Library with support for keyword-based searches and country filtering. Capture advertiser names, ad copy, formats, date ranges, and ad statuses.