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 (linkedin-ads-scraper) captures publicly available ad creatives, copy, CTAs, landing pages & advertiser details. ๐Ÿ“Š Analyze competitors, spot trends, and optimize B2B campaigns. ๐Ÿš€ Perfect for marketers, agencies, and growth teams.

Pricing

$19.99/month + usage

Rating

0.0

(0)

Developer

ScrapeMesh

ScrapeMesh

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

0

Monthly active users

17 days ago

Last modified

Share

Linkedin Ads Scraper

Linkedin Ads Scraper is a fast, reliable LinkedIn ads scraping tool that extracts public sponsored content from the LinkedIn Ads Library into clean, structured records. It solves the headache of manually checking advertiser pages by automating discovery and detail extraction for each ad โ€” ideal for marketers, developers, data analysts, and researchers who need a LinkedIn ad extractor for competitive intelligence and reporting at scale. With parallel fetching, smart pagination, and optional proxy support, this LinkedIn sponsored content scraper enables repeatable pipelines for B2B analytics, creative tracking, and LinkedIn advertising competitor analysis.

What data / output can you get?

The actor streams structured items to the Apify dataset as soon as theyโ€™re collected. These are the exact fields it outputs:

Data typeDescriptionExample value
adIdUnique LinkedIn ad identifier"877002663"
adLibraryUrlDirect link to the adโ€™s detail page in the LinkedIn Ad Library"https://www.linkedin.com/ad-library/detail/877002663"
advertiserLogoURL of the advertiserโ€™s logo image (if found)"https://media.licdn.com/.../company-logo_100_100/.../microsoft_logo"
imageUrlsArray of image creative URLs (logo-like assets are filtered out)["https://media.licdn.com/.../ad_image_1.jpg"]
ctasExtracted call-to-action texts found on the ad page["Learn more", "Sign up"]
advertiserNameDisplay name of the advertiser (if detected)"Microsoft"
advertiserUrlLink to the advertiserโ€™s LinkedIn company profile (if detected)"https://www.linkedin.com/company/1035"
formatDetected ad format: MESSAGE, VIDEO, CAROUSEL, or DOCUMENT"VIDEO"
paidByโ€œPaid for by โ€ฆโ€ entity parsed from the ad detail (if present)"Global Mind USA LLC"
bodyText content/body extracted from the ad detail page"Ready to take your AI-powered startup to the next level? Join us..."
startUrlThe search URL used to discover the ad"https://www.linkedin.com/ad-library/search?accountOwner=microsoft&countries=US&dateOption=last-30-days"

Notes:

  • Bonus fields like advertiserLogo, imageUrls, and paidBy are captured when present on the ad detail page.
  • You can export your dataset from Apify in multiple formats (e.g., JSON, CSV, Excel) for downstream analysis and reporting.

Key features

  • โš™๏ธ Multi-strategy discovery The scraper tries multiple LinkedIn Ad Library search URL strategies (including empty and dated dateOption variants and country fallbacks) to maximize how many ads you find for each query.

  • ๐Ÿงญ Smart pagination & scrolling Automatic scrolling and โ€œLoad more/Show moreโ€ button clicking via headless Chrome gathers more ad IDs from search pages.

  • ๐Ÿš€ Parallel detail fetching Uses a thread pool to fetch ad detail pages concurrently, speeding up LinkedIn ads data extraction for larger batches.

  • ๐Ÿ–ฅ๏ธ Headless Chrome + HTTP fallback Combines HTTP requests with Selenium-based browsing. If standard requests hit limits, headless Chrome renders pages for better reliability.

  • ๐Ÿ›ก๏ธ Optional proxy support Integrates with Apify Proxy via the proxyConfiguration input for stability at scale and residential IP use cases.

  • ๐Ÿ”Ž Ad format detection Automatically classifies each ad as VIDEO, CAROUSEL, DOCUMENT, or MESSAGE to support creative analysis and tracking.

  • ๐Ÿงผ Clean CTA and body extraction Extracts call-to-action texts and normalizes ad body content with heuristics to reduce noise and logo-only images.

  • ๐Ÿ”Œ Integration-ready outputs Real-time dataset streaming (Actor.pushData) makes it easy to plug into BI tools, no-code automations, or a LinkedIn ads API integration via the Apify platform.

  • ๐Ÿ—๏ธ Production-ready infrastructure Built on Apifyโ€™s Python + Selenium image with Chrome/ChromeDriver and robust error handling for resilient runs.

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.
  3. Add input data:
    • Use input to enter company names, LinkedIn URLs, or keywords (e.g., ["google", "microsoft"]). If you fill this, Start URLs are ignored.
    • Or leave input empty and use startUrls with LinkedIn company URLs (e.g., [{"url": "https://www.linkedin.com/company/microsoft"}]).
  4. Set filters:
    • countries: Choose a country code (default "US"; supports many options including "ALL").
    • dateOption: Select a time range (default "last-30-days").
    • maxItems: Cap total ads to collect (1โ€“1000, default 30).
  5. Configure proxy (optional):
    • proxyConfiguration: Toggle {"useApifyProxy": true} if you hit blocks or need residential IPs.
  6. Start the run:
    • Click Start. The scraper will discover ad IDs from search pages and fetch each adโ€™s detail page in parallel.
  7. Monitor progress:
    • View logs and dataset items streaming in real time.
  8. Export results:
    • Download your dataset in JSON, CSV, or Excel from the Apify platform for use in dashboards, analysis, or automations.

Pro Tip: Run this LinkedIn ads crawler on a schedule and pull results via the Apify API to keep a fresh feed of sponsored posts for creative benchmarking or CRM enrichment.

Use cases

Use case nameDescription
Marketing teams โ€“ competitor ad trackingMonitor competitorsโ€™ sponsored posts and creatives with a LinkedIn ad spy tool workflow to inform messaging and budget decisions.
Agencies โ€“ creative benchmarkingScrape LinkedIn sponsored posts to analyze CTAs, formats, and creative variations for client reporting and best-practice playbooks.
Growth teams โ€“ company ads monitoringBuild alerts for brands of interest using this LinkedIn company ads scraper and track changes over time.
Analysts โ€“ cross-market researchCompare formats (MESSAGE vs VIDEO vs CAROUSEL) across countries using the country filter for structured insights.
Developers โ€“ data pipelinesFeed structured ad data into data warehouses via the Apify dataset for LinkedIn ads API integration and analytics.
Researchers โ€“ academic/market studiesCollect public advertising data at scale for studies on creative trends and messaging strategies.

Why choose Linkedin Ads Scraper?

Positioned for precision and reliability, this actor is engineered for automated LinkedIn ads data extraction without the brittleness of browser extensions.

  • โœ… Accurate, structured output: Consistent JSON fields for clean downstream use.
  • ๐ŸŒ Country and time-range controls: Filter by countries and dateOption to target your research window.
  • โšก Built for scale: Parallel fetching and smart pagination speed up large collections.
  • ๐Ÿ’ป Developer-friendly: Real-time dataset push makes it easy to wire into APIs, ETL jobs, or no-code tools.
  • ๐Ÿ›ก๏ธ Resilient runs: Headless Chrome + HTTP fallback and optional Apify Proxy improve stability versus lightweight alternatives.
  • ๐Ÿ”„ Works without login: Targets publicly available LinkedIn Ad Library pages only.

In short: a production-ready LinkedIn ads scraping tool that outperforms ad hoc extensions and manual processes.

Yes โ€” when used responsibly. This actor targets publicly available pages in the LinkedIn Ads Library and does not access private or authenticated content.

Guidelines for compliant use:

  • Only collect public ad information.
  • Respect LinkedInโ€™s Terms of Service and local regulations (e.g., GDPR, CCPA).
  • Avoid personal or non-public data.
  • Use results for legitimate business, academic, or research purposes.
  • Consult your legal team for edge cases in your jurisdiction.

Input parameters & output format

Example JSON input

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

Parameters

  • input (array)

    • Description: Companies or keywords to search. Add company names, LinkedIn URLs, or keywords (e.g. google, microsoft). If you fill this, Start URLs below are ignored.
    • Default: none
    • Required: No
  • startUrls (array)

    • Description: LinkedIn company URLs or keywords. Used when 'Companies or keywords' above is empty.
    • Default: none
    • Required: No
  • countries (string)

    • Description: Which country's ads to show. Supports many codes including US, GB, CA, AU, DE, FR, BR, IN, JP, and "ALL".
    • Default: "US"
    • Required: No
  • dateOption (string)

    • Description: When were the ads active? Time range for ads. The scraper also tries last 30 days and this month internally for better coverage.
    • Default: "last-30-days"
    • Required: No
  • maxItems (integer)

    • Description: How many ads to collect. Cap on total ads to scrape (1โ€“1000).
    • Default: 30
    • Required: No
  • proxyConfiguration (object)

    • Description: Proxy (optional). 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/.../company-logo_100_100/...",
"imageUrls": [
"https://media.licdn.com/dms/image/.../ad_creative_1.jpg"
],
"ctas": ["Learn more", "Sign up"],
"advertiserName": "Microsoft",
"advertiserUrl": "https://www.linkedin.com/company/1035",
"format": "MESSAGE",
"paidBy": "Global Mind USA LLC",
"body": "What's keeping you up at night? Learn how deploying Windows 365 can help resolve both of these challenges...",
"startUrl": "https://www.linkedin.com/ad-library/search?accountOwner=microsoft&countries=US&dateOption=last-30-days"
},
{
"adId": "901224633",
"adLibraryUrl": "https://www.linkedin.com/ad-library/detail/901224633",
"advertiserLogo": "https://media.licdn.com/dms/image/.../company-logo_100_100/...",
"imageUrls": [],
"ctas": ["See more"],
"advertiserName": "Microsoft Dynamics 365 Business Central",
"advertiserUrl": "https://www.linkedin.com/company/91571669",
"format": "CAROUSEL",
"paidBy": "Transcends Marketing",
"body": "If youโ€™re looking to grow your SMB impact, Business Central delivers more than just ERP...",
"startUrl": "https://www.linkedin.com/ad-library/search?accountOwner=microsoft&countries=US&dateOption=last-30-days"
}
]

Notes:

  • advertiserName may return "Unknown Company" when the page doesnโ€™t expose a clear brand label.
  • advertiserLogo, imageUrls, paidBy, and advertiserUrl are present only when 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

Do I need to log in to use this LinkedIn ad extractor?

No. The actor targets publicly available pages in the LinkedIn Ad Library and does not require login or cookies.

What data does the LinkedIn paid ads scraper return?

It outputs adId, adLibraryUrl, advertiserLogo, imageUrls, ctas, advertiserName, advertiserUrl, format, paidBy, body, and startUrl โ€” exactly as shown in the Output Format section.

Yes. It detects format types including VIDEO and CAROUSEL. Note that it currently extracts imageUrls for images and returns the format for videos/carousels; it does not extract video files.

How many ads can I scrape per run?

You control volume with maxItems (1โ€“1000, default 30). The scraper also uses parallel fetching for faster collection.

Does it support different countries and time ranges?

Yes. Use countries to target a specific market (e.g., US, GB, BR, ALL) and dateOption to choose a time range like last-30-days or this-month.

Is proxy supported for the LinkedIn ads crawler?

Yes. Enable proxyConfiguration and set {"useApifyProxy": true} to leverage Apify Proxy for improved stability.

Can I integrate results with my workflows or API?

Yes. Results are pushed to the Apify dataset in real time, which you can export or access programmatically via the Apify API for automation pipelines.

Is this a LinkedIn ad spy tool for competitor research?

It works as a LinkedIn ad library scraper for public ads, helping with LinkedIn advertising competitor analysis, creative benchmarking, and research use cases.

Closing thoughts

Linkedin Ads Scraper is built to turn public LinkedIn sponsored content into structured, analysis-ready records. With multi-strategy discovery, parallel detail fetching, and optional proxy support, itโ€™s ideal for marketers, analysts, developers, and researchers who need to scrape LinkedIn sponsored posts and download LinkedIn ad creatives reliably. Developers can plug the real-time dataset into an API-driven pipeline or no-code automation in minutes. Start extracting smarter LinkedIn ads insights today and power your next campaign with clean, trusted data.