VOOZH about

URL: https://apify.com/unlimitedleadtestinbox/linkedin-ads-scraper

⇱ Linkedin ads scraper Β· Apify


Pricing

from $1.00 / 1,000 results

Go to Apify Store

Linkedin ads scraper

Extract ads details from LinkedIn Ad Library. Gain access to ad details, ad copy, media URL, call-to-action buttons and more.

Pricing

from $1.00 / 1,000 results

Rating

0.0

(0)

Developer

πŸ‘ unli

unli

Maintained by Community

Actor stats

0

Bookmarked

24

Total users

3

Monthly active users

6 months ago

Last modified

Share

LinkedIn Ads Library Scraper

Extract ads from LinkedIn Ad Library with ease. Get comprehensive ad data including advertiser details, ad copy, media URLs, and more.

πŸ”Ž What is the LinkedIn Ads Library Scraper?

A simple and powerful tool that allows you to extract data from LinkedIn's Ad Library. This scraper provides access to all publicly available ad information without requiring authentication.

πŸ“Š What LinkedIn ads data can I extract?

All ad formats are supported by this LinkedIn Ad Library scraper, including:

  • Single image ads
  • Carousel ads
  • Video ads
  • Document ads
  • Sponsored content

Extracted Data Points:

  • Ad ID - Unique identifier for each ad
  • Ad Detail URL - Direct link to the ad's detail page
  • Advertiser Information
    • Advertiser name
    • Advertiser logo URL
  • Ad Content
    • Ad type (SPONSORED_STATUS_UPDATE, SPONSORED_UPDATE_CAROUSEL, etc.)
    • Creative format (Single Image Ad, Carousel Ad, Video Ad, Document Ad)
    • Ad copy/body text
    • Headline
    • Truncation status (whether full text is available)
  • Media Assets
    • Media type (image, video, carousel, document)
    • Media URLs
    • Carousel items (for carousel ads) with individual images and titles
  • Call-to-Action
    • CTA text

πŸ“– How to use

⬇️ Input

The input for the LinkedIn Ads Library Scraper requires a LinkedIn Ad Library search URL:

{
"searchUrl":"https://www.linkedin.com/ad-library/search?accountOwner=nvidia&countries=BR&dateOption=last-30-days",
"maxAds":100,
"includeDetailPages":false
}

Input Parameters:

  • searchUrl (string, optional) - LinkedIn Ad Library search URL

    • Default: https://www.linkedin.com/ad-library/search?accountOwner=nvidia&countries=BR&dateOption=last-30-days
  • maxAds (integer, optional) - Maximum number of ads to scrape

    • Default: 100
    • Range: 1-1000
  • includeDetailPages (boolean, optional) - Whether to visit individual ad detail pages to get complete ad copy

    • Default: false
    • Note: Setting this to true will make scraping slower but provides complete, non-truncated ad text

How to Build Search URLs

Visit LinkedIn Ad Library and use the search filters:

  1. Search by company - Enter company name in "Search by company or advertiser name"
  2. Filter by country - Select target countries
  3. Filter by date - Choose date range (Last 30 days, This month, This year, etc.)
  4. Copy the URL from your browser

Example URLs:

https://www.linkedin.com/ad-library/search?accountOwner=nvidia&countries=US&dateOption=last-30-days
https://www.linkedin.com/ad-library/search?accountOwner=apple&countries=GB,FR,DE&dateOption=current-year
https://www.linkedin.com/ad-library/search?accountOwner=microsoft&dateOption=last-year

⬆️ Output

The extracted ad data is stored in a dataset, accessible in the Storage tab. It's available in JSON, JSONL, Excel, HTML, CSV, or XML formats.

Example Output:

[
{
"ad_id":"971107993",
"ad_detail_url":"https://linkedin.com/ad-library/detail/971107993",
"advertiser_name":"NVIDIA Brasil",
"advertiser_logo_url":"https://media.licdn.com/dms/image/v2/D560BAQEQxQYINJmKww/company-logo_100_100/...",
"ad_type":"SPONSORED_STATUS_UPDATE",
"creative_format":"Single Image Ad",
"ad_copy":"LideranΓ§a se mede em decisΓ΅es que antecipam o amanhΓ£...",
"ad_copy_truncated":true,
"headline":"Acelere o mundo",
"media_type":"image",
"media_urls":[
"https://media.licdn.com/dms/image/v2/D4D10AQHLsFjBG9z5fg/image-shrink_1280/..."
],
"carousel_items":[],
"cta_text":"View details"
},
{
"ad_id":"969936153",
"ad_detail_url":"https://linkedin.com/ad-library/detail/969936153",
"advertiser_name":"NVIDIA Brasil",
"advertiser_logo_url":"https://media.licdn.com/dms/image/v2/D560BAQEQxQYINJmKww/company-logo_100_100/...",
"ad_type":"SPONSORED_UPDATE_CAROUSEL",
"creative_format":"Carousel Ad",
"ad_copy":"Os Grandes Modelos de Linguagem (LLMs) estΓ£o redefinindo...",
"ad_copy_truncated":true,
"headline":null,
"media_type":"carousel",
"media_urls":[],
"carousel_items":[
{
"image_url":"https://media.licdn.com/dms/image/v2/D4D10AQGJddLzedJ6ZA/...",
"title":"Guia completo sobre LLMs"
},
{
"image_url":"https://media.licdn.com/dms/image/v2/D4D10AQEQqT0MNjrDUw/...",
"title":"Entenda do conceito Γ  aplicaΓ§Γ£o real"
}
],
"cta_text":"View details"
}
]

♾️ How many ads can you scrape?

This scraper automatically handles pagination and will continue scraping until it reaches:

  • The maximum number of ads specified in maxAds parameter, OR
  • The end of available results

The scraper efficiently processes multiple pages using LinkedIn's pagination tokens.

πŸš€ Features

  • βœ… No authentication required - Works with public LinkedIn Ad Library
  • βœ… All ad formats supported - Images, videos, carousels, documents
  • βœ… Automatic pagination - Seamlessly handles multiple pages
  • βœ… Proxy support - Built-in Apify proxy support
  • βœ… Flexible output - Export to JSON, CSV, Excel, and more
  • βœ… Optional detail scraping - Get complete ad copy by visiting detail pages

πŸ’‘ Use Cases

  • Competitive Analysis - Monitor competitors' ad strategies
  • Market Research - Analyze advertising trends in your industry
  • Ad Creative Inspiration - Discover successful ad formats and messaging
  • Lead Generation - Identify companies actively advertising
  • Campaign Planning - Research ad formats and messaging styles

βš™οΈ Technical Details

Technologies Used:

  • Crawlee - Modern web scraping framework
  • Cheerio - Fast HTML parsing
  • Apify SDK - Actor infrastructure

Performance:

  • Efficient scraping with minimal resource usage
  • Automatic retry on failures
  • Proxy rotation to avoid rate limiting

βš–οΈ Is it legal to scrape LinkedIn Ads data?

Scraping publicly available LinkedIn Ads Library data is legal as long as you:

  • Only access publicly available information
  • Respect LinkedIn's terms of service
  • Comply with data protection regulations (GDPR, CCPA, etc.)
  • Don't scrape personal data without legitimate reason

πŸ”— Integration

This scraper integrates seamlessly with:

  • Make (Integromat) - Automate workflows
  • Zapier - Connect with 5,000+ apps
  • n8n - Open-source workflow automation
  • Custom APIs - Use Apify API for custom integrations

πŸ“ Example Use Cases

Monitor Competitor Ads

{
"searchUrl":"https://www.linkedin.com/ad-library/search?accountOwner=competitor-name&countries=US&dateOption=last-30-days",
"maxAds":50
}

Get Complete Ad Copy

{
"searchUrl":"https://www.linkedin.com/ad-library/search?accountOwner=company-name&countries=GB&dateOption=current-year",
"maxAds":100,
"includeDetailPages":true
}

Bulk Export for Analysis

{
"searchUrl":"https://www.linkedin.com/ad-library/search?accountOwner=brand&dateOption=last-year",
"maxAds":1000,
"includeDetailPages":false
}

πŸ“Š Related Scrapers

  • Facebook Ads Library Scraper - Extract ads from Facebook Ad Library
  • Google Ads Transparency Center Scraper - Scrape Google political ads
  • TikTok Ads Library Scraper - Extract TikTok commercial content

πŸ“„ License

This project is licensed under the Apache-2.0 License.

Happy Scraping! πŸš€

If you find this scraper useful, please consider giving it a ⭐ star!

You might also like

LinkedIn Ads Scraper

silva95gustavo/linkedin-ad-library-scraper

Extract ads of any format from LinkedIn Ad Library. Gain access to ad details, ad copy, media URL, call-to-action buttons and more. Dive deeper into the LinkedIn Ad Library for a competitive edge.

πŸ‘ User avatar

Gustavo Silva (Coherent Paradox)

2.9K

5.0

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.

60

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.

242

2.3

LinkedIn Ad Library Scraper - B2B Ad Spy

logiover/linkedin-ad-library-scraper

Scrape LinkedIn Ad Library without login. Export advertiser ads & creatives to CSV/JSON. A LinkedIn ads API alternative for competitor intel.

Google Ads Scraper

silva95gustavo/google-ads-scraper

Extract up to 400 ads per minute along with text, image and video ads from Google Ads, scraped from the ad library provided by the Google Ads Transparency Center. Gain access to ad details, ad copy, locations and more for a faster competitive edge.

πŸ‘ User avatar

Gustavo Silva (Coherent Paradox)

3.4K

4.9

LinkedIn Ads Scraper πŸ”πŸŒ (Advanced & Cheaper πŸ’°)

scrapestorm/linkedin-ads-scraper-advanced-cheaper

Looking for a LinkedIn ads scraper to fetch sponsored ad details? πŸ” With the LinkedIn Ads Scraper πŸš€, easily collect ad listings based on keywords, companies, locations & more. Retrieve details like advertiser names, ad headlines, commentary, image URLs, event dates, and links to detailed ad pages

23

2.8

LinkedIn Ads Library Scraper

s-r/linkedin-ads-library

Scrape LinkedIn's Ad Library for company ads β€” get ad type, body text, headlines, images, advertiser logo, and ad detail deeplinks. B2B competitor ad spy.

Tiktok Ad Library Scraper

ivanvs/tiktok-ad-library-scraper

Extract details about ads from TikTok 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.

LinkedIn Ads Library Scraper

easyapi/linkedin-ads-library-scraper

Effortlessly scrape LinkedIn's Ad Library for comprehensive ad data. Extract company names, ad content, images, and more from multiple search queries. Perfect for competitive analysis, market research, and advertising inspiration. Automate your LinkedIn ad intelligence gathering today!

LinkedIn Ads Scraper

dz_omar/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.

πŸ‘ User avatar

FlowExtract API

82

5.0