Linkedin Ads Scraper avatar

Linkedin Ads Scraper

Pricing

$19.99/month + usage

Go to Apify Store
Linkedin Ads Scraper

Linkedin Ads Scraper

🔎 LinkedIn Ads Scraper collects sponsored posts & Ad Library data: advertiser, copy, creatives, CTA, landing URLs, impressions and engagement. 📊 Ideal for ad intelligence, competitor research & PPC optimization. 🚀 Elevate your LinkedIn marketing with data-driven insights.

Pricing

$19.99/month + usage

Rating

0.0

(0)

Developer

Scrapium

Scrapium

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

23 days ago

Last modified

Share

Linkedin Ads Scraper

Linkedin Ads Scraper is a purpose-built LinkedIn ads scraping tool that collects structured data from the public LinkedIn Ad Library — including advertiser details, ad copy, creatives, CTAs, and funding entities — to power ad intelligence, LinkedIn competitor ads analysis, and automated reporting at scale. It helps marketers, developers, data analysts, and researchers scrape LinkedIn ads reliably without manual copy-paste, acting as a LinkedIn ads API alternative for exporting LinkedIn ads data into analysis-ready datasets. With robust pagination, proxy support, and parallel fetching, it scales from quick checks to large discovery projects.

What data / output can you get?

The actor saves clean, structured records to the Apify Dataset. Below are the exact output fields it produces.

Data typeDescriptionExample value
adIdUnique LinkedIn ad identifier"877002663"
adLibraryUrlDirect URL to the ad’s detail page"https://www.linkedin.com/ad-library/detail/877002663"
advertiserLogoURL of the advertiser’s logo image"https://media.licdn.com/dms/image/v2/C560BAQF-MwAnNIx7lQ/company-logo_100_100/..."
imageUrlsArray of detected creative image URLs (up to 5)[]
ctasArray of call-to-action button/anchor texts["Learn more", "Sign Up"]
advertiserNameName of the advertiser (brand/company)"Microsoft AI Cloud Partner Program"
advertiserUrlLink to the advertiser’s LinkedIn company page"https://www.linkedin.com/company/3634496?trk=ad_library_ad_preview_advertiser_image"
formatDetected ad format: VIDEO, CAROUSEL, DOCUMENT, or MESSAGE"CAROUSEL"
paidBy“Paid for by …” funding entity text when present"Transcends Marketing"
bodyExtracted ad body/copy text"If you’re looking to grow your Small and Medium Business (SMB) impact..."
startUrlSource search URL used to discover the ad"https://www.linkedin.com/ad-library/search?accountOwner=microsoft&countries=BR&dateOption=last-30-days"

Notes:

  • Bonus metadata like logos and creative media are included via advertiserLogo and imageUrls when detected.
  • You can export datasets from Apify to JSON, CSV, or Excel for downstream analysis.

Key features

  • ⚡ Smart discovery strategies
    Tries multiple LinkedIn Ad Library search URL patterns (empty date, last-30-days, this-month, and a US fallback) to maximize the number of found ads.

  • 🧭 Robust pagination & scrolling
    Uses HTTP requests and, when available, a headless Chrome via Selenium to scroll, click “load more,” and enumerate more results reliably.

  • 🔀 Parallel detail fetching
    Speeds up runs with multi-threaded retrieval of ad detail pages, then streams results to the dataset in real time.

  • 🛡️ Built-in Apify Proxy support
    Configure proxyConfiguration (e.g., useApifyProxy) for stability and geographic routing when scraping LinkedIn sponsored content at scale.

  • 📦 Structured, analysis-ready output
    Consistent fields (adId, advertiserName, format, ctas, paidBy, body, imageUrls, etc.) make it easy to plug into BI tools and pipelines.

  • 🔌 Developer- and workflow-friendly
    Runs as a production-ready Apify Actor with programmatic access via the Apify API, and datasets export to JSON/CSV/Excel for integrations.

  • 🧰 No login required
    Scrapes public LinkedIn Ad Library pages without cookies or authentication.

  • 🧱 Production reliability
    Uses Selenium + Chrome, Cloudscraper, retries, and throttling to keep the LinkedIn ads crawler stable on longer jobs.

How to use Linkedin Ads Scraper - step by step

  1. Create or log in to your Apify account.
  2. Open the Linkedin Ads Scraper actor in the Apify Store.
  3. Add input data:
    • Use “Companies or keywords to search” (input) to add company names, LinkedIn URLs, or keywords (e.g., google, microsoft). If you fill this, Start URLs are ignored.
    • Alternatively, set “Start URLs (alternative)” (startUrls) when the input list is empty.
  4. Configure filters and limits:
    • countries: choose the country filter (default "US").
    • dateOption: time range for ads (default "last-30-days").
    • maxItems: cap total ads to collect (1–1000; default 30).
  5. Optional: turn on proxyConfiguration if you encounter blocks or want residential IPs (e.g., {"useApifyProxy": true}).
  6. Start the run. The scraper will try multiple discovery strategies, paginate through search results, and fetch ad details in parallel.
  7. Download results from the run’s Dataset tab — export to JSON, CSV, or Excel for reporting or ingestion.

Pro tip: Pipe dataset exports into your BI stack or marketing warehouse to build a repeatable LinkedIn ad library search workflow for ongoing LinkedIn competitor ads analysis.

Use cases

Use case nameDescription
Marketing teams — competitor ads analysisMonitor and compare creatives, CTAs, and messaging to refine campaigns and reduce time-to-insight.
PPC optimization — creative benchmarkingExtract CTAs, formats, and copy variants to inspire tests for a LinkedIn ad creative scraper workflow.
Sales & lead gen — active advertisers trackingIdentify companies running campaigns and route to outreach, supported by a LinkedIn lead gen ads scraper approach.
Data analysts — cross-platform dashboardsExport LinkedIn ads data to blend with other channels for holistic performance views.
Researchers — sponsored content studiesCollect structured corpora of LinkedIn sponsored content for academic or market research.
Developers — API pipelinesUse the Apify API to fetch datasets programmatically and automate a LinkedIn marketing data scraper pipeline.
Agencies — LinkedIn ads spy toolBuild internal “ad library search” reports to audit verticals and prepare client-ready insights.

Why choose Linkedin Ads Scraper?

Built for precision, automation, and reliability, this LinkedIn ads extractor focuses on clean output and scalable runs.

  • ✅ Accurate field extraction: advertiser, body, format, CTAs, paidBy, and more — standardized for fast analysis.
  • 🌍 Country & date filters: target specific markets and time windows with countries and dateOption.
  • 🚀 Scale-ready: parallel fetching plus smart pagination to export LinkedIn ads data efficiently.
  • 🔧 Developer access: integrate via the Apify API and automate downstream processing.
  • 🛡️ Ethical-by-design: targets public Ad Library pages only — no login or private data.
  • 💸 Cost-effective: control runtime via maxItems and use Apify’s exports to avoid custom ETL engineering.
  • 🆚 Actor vs browser extensions: more stable than extensions and manual tools, with proxy support and production infrastructure.

In short, it’s a dependable LinkedIn sponsored content scraper for teams that need consistent, structured outputs — not screenshots.

Yes — when used responsibly. The actor collects data from publicly available LinkedIn Ad Library pages and does not access private or authenticated content.

Guidelines for compliant use:

  • Only extract public ad data and respect LinkedIn’s Terms of Service.
  • Ensure your use complies with data protection laws (e.g., GDPR, CCPA).
  • Avoid collecting or processing personal/sensitive data.
  • Consult your legal team for edge cases or jurisdiction-specific questions.

Input parameters & output format

Example JSON input

{
"input": ["microsoft", "google"],
"countries": "US",
"dateOption": "last-30-days",
"maxItems": 30,
"proxyConfiguration": {
"useApifyProxy": false
}
}

Parameters

  • input (array)
    Description: Companies, LinkedIn URLs, or keywords to search. If you fill this, Start URLs are ignored.
    Default: No default
    Required: No

  • startUrls (array)
    Description: LinkedIn company URLs or keywords. Used when “Companies or keywords” above is empty.
    Default: No default
    Required: No

  • countries (string; enum)
    Description: Which country’s ads to show.
    Default: "US"
    Required: No
    Allowed values include: US, GB, CA, AU, DE, FR, BR, IN, JP, CN, MX, ES, IT, NL, PL, SE, CH, AE, SG, KR, ALL, … (full list in UI)

  • dateOption (string; enum)
    Description: Time range for ads. The scraper also tries last 30 days and this month for better coverage.
    Default: "last-30-days"
    Required: No
    Allowed values: "last-7-days", "last-30-days", "last-90-days", "last-year", "this-month", "this-year", ""

  • maxItems (integer)
    Description: Cap on total ads to scrape (1–1000).
    Default: 30
    Required: No

  • proxyConfiguration (object)
    Description: Turn on Apify Proxy here if you hit blocks or want residential IPs.
    Default: {"useApifyProxy": false}
    Required: No

Example JSON output

[
{
"adId": "877002663",
"adLibraryUrl": "https://www.linkedin.com/ad-library/detail/877002663",
"advertiserLogo": "https://media.licdn.com/dms/image/v2/C560BAQF-MwAnNIx7lQ/company-logo_100_100/company-logo_100_100/0/1630621036154/microsoft_partner_network_logo?e=1764201600&v=beta&t=dY-d24d4wkiFPloDsIN3OH6pVFENve8xEhkaUTjFajM",
"imageUrls": [],
"ctas": ["Cadastrar-se", "see more"],
"advertiserName": "Microsoft AI Cloud Partner Program",
"advertiserUrl": "https://www.linkedin.com/company/3634496?trk=ad_library_ad_preview_advertiser_image",
"format": "MESSAGE",
"paidBy": "Global Mind USA LLC",
"body": "Ad DetailsMicrosoft AI Cloud Partner ProgramPromoted... Explore eventos avançados ... Seu caminho para o sucesso começa aqui.",
"startUrl": "https://www.linkedin.com/ad-library/search?accountOwner=microsoft&countries=BR&dateOption=last-30-days"
},
{
"adId": "901224633",
"adLibraryUrl": "https://www.linkedin.com/ad-library/detail/901224633",
"advertiserLogo": "https://media.licdn.com/dms/image/v2/C4E0BAQHHuFOyFhV0Dg/company-logo_100_100/company-logo_100_100/0/1671533612662/microsoft_dynamics_365_business_central1_logo?e=1764201600&v=beta&t=Jof70up55gGF6dotxbjRysCwt0opFASqPozmCnDD-WE",
"imageUrls": [],
"ctas": ["Learn more", "see more"],
"advertiserName": "Microsoft Dynamics 365 Business Central",
"advertiserUrl": "https://www.linkedin.com/company/91571669?trk=ad_library_ad_preview_advertiser_image",
"format": "CAROUSEL",
"paidBy": "Transcends Marketing",
"body": "If you’re looking to grow your Small and Medium Business (SMB) impact... It’s everything you need to build confidently and grow profitably — from day one.",
"startUrl": "https://www.linkedin.com/ad-library/search?accountOwner=microsoft&countries=BR&dateOption=last-30-days"
}
]

Notes:

  • advertiserName can be "Unknown Company" if the page lacks a clear brand element.
  • imageUrls may be empty when no non-logo creative images are detected on the ad detail page.
ToolTool
📄 LinkedIn Profile Post Scraper⚡ LinkedIn Profile Scraper (Cheapest + Fastest)
🏢 LinkedIn Company Profile Scraper📝 LinkedIn Post Scraper
📄 LinkedIn Company About Scraper👥 LinkedIn Company Employees Scraper
💼 LinkedIn Search Jobs Scraper📋 LinkedIn Jobs Scraper
📰 LinkedIn Company Post Scraper📧 LinkedIn Profile Email Scraper
📨 LinkedIn Email Scraper📞 LinkedIn Phone Number Scraper
☎️ LinkedIn Profile Phone Number Scraper🔓 LinkedIn Open Profile Status
👍 LinkedIn Post Reactions Scraper📊 LinkedIn Profile and Company Posts Scraper

FAQ

Is there a free tier or trial?

Yes. The actor listing includes trial minutes on Apify (e.g., 120 trial minutes), so you can test before scaling your LinkedIn ad library search.

Do I need to log in to scrape LinkedIn ads?

No. The scraper targets the public LinkedIn Ad Library and does not require authentication or cookies.

What data does the Linkedin Ads Scraper return?

It outputs adId, adLibraryUrl, advertiserLogo, imageUrls, ctas, advertiserName, advertiserUrl, format, paidBy, body, and startUrl. These fields are pushed to the dataset for each collected ad.

How many ads can I collect per run?

Use maxItems to set a cap from 1 to 1000 (default 30). The scraper also uses multiple search strategies and pagination to find more results within your limit.

Can I export results to CSV or Excel?

Yes. After the run finishes, open the Dataset and export to JSON, CSV, or Excel directly from Apify.

Does it support proxies or different countries?

Yes. Set countries to filter by market, and use proxyConfiguration to enable Apify Proxy for improved stability or geo-targeting.

Is this a LinkedIn ads API alternative?

Yes. It functions as a LinkedIn sponsored content scraper that extracts public Ad Library records into structured datasets you can access via the Apify API.

What ad formats are supported?

The actor detects VIDEO, CAROUSEL, DOCUMENT, and MESSAGE formats on ad detail pages and records the result in the format field.

Closing thoughts

Linkedin Ads Scraper is built to turn public LinkedIn Ad Library records into clean, structured datasets for analysis and automation. With smart discovery, parallel fetching, and proxy support, it helps marketers, analysts, developers, and researchers extract reliable LinkedIn ads insights fast. Access results via the Apify API or export to CSV/JSON/Excel, then plug into your reporting, enrichment, or automation pipeline. Start extracting smarter LinkedIn ad intelligence today.