Linkedin Ads Scraper
Pricing
$19.99/month + usage
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
Actor stats
0
Bookmarked
2
Total users
0
Monthly active users
17 days ago
Last modified
Categories
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 type | Description | Example value |
|---|---|---|
| adId | Unique LinkedIn ad identifier | "877002663" |
| adLibraryUrl | Direct link to the adโs detail page in the LinkedIn Ad Library | "https://www.linkedin.com/ad-library/detail/877002663" |
| advertiserLogo | URL of the advertiserโs logo image (if found) | "https://media.licdn.com/.../company-logo_100_100/.../microsoft_logo" |
| imageUrls | Array of image creative URLs (logo-like assets are filtered out) | ["https://media.licdn.com/.../ad_image_1.jpg"] |
| ctas | Extracted call-to-action texts found on the ad page | ["Learn more", "Sign up"] |
| advertiserName | Display name of the advertiser (if detected) | "Microsoft" |
| advertiserUrl | Link to the advertiserโs LinkedIn company profile (if detected) | "https://www.linkedin.com/company/1035" |
| format | Detected ad format: MESSAGE, VIDEO, CAROUSEL, or DOCUMENT | "VIDEO" |
| paidBy | โPaid for by โฆโ entity parsed from the ad detail (if present) | "Global Mind USA LLC" |
| body | Text content/body extracted from the ad detail page | "Ready to take your AI-powered startup to the next level? Join us..." |
| startUrl | The 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
- Create or log in to your Apify account.
- Open the โlinkedin-ads-scraperโ actor.
- 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"}]).
- 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).
- Configure proxy (optional):
- proxyConfiguration: Toggle {"useApifyProxy": true} if you hit blocks or need residential IPs.
- Start the run:
- Click Start. The scraper will discover ad IDs from search pages and fetch each adโs detail page in parallel.
- Monitor progress:
- View logs and dataset items streaming in real time.
- 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 name | Description |
|---|---|
| Marketing teams โ competitor ad tracking | Monitor competitorsโ sponsored posts and creatives with a LinkedIn ad spy tool workflow to inform messaging and budget decisions. |
| Agencies โ creative benchmarking | Scrape LinkedIn sponsored posts to analyze CTAs, formats, and creative variations for client reporting and best-practice playbooks. |
| Growth teams โ company ads monitoring | Build alerts for brands of interest using this LinkedIn company ads scraper and track changes over time. |
| Analysts โ cross-market research | Compare formats (MESSAGE vs VIDEO vs CAROUSEL) across countries using the country filter for structured insights. |
| Developers โ data pipelines | Feed structured ad data into data warehouses via the Apify dataset for LinkedIn ads API integration and analytics. |
| Researchers โ academic/market studies | Collect 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.
Is it legal / ethical to use Linkedin Ads Scraper?
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.
Related tools
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.
Can it handle video or carousel ads?
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.