Linkedin Ads Scraper
Pricing
$19.99/month + usage
Linkedin Ads Scraper
🔍 LinkedIn Ads Scraper (linkedin-ads-scraper) extracts company sponsored posts—creative, primary text, headline, media, CTA, destination URL & run dates, with CSV/JSON export. 📊 Perfect for competitor research, ad inspiration & media buying. 🚀 Accelerate B2B campaign planning.
Pricing
$19.99/month + usage
Rating
0.0
(0)
Developer
ScrapeEngine
Actor stats
0
Bookmarked
2
Total users
1
Monthly active users
a day ago
Last modified
Categories
Share
Linkedin Ads Scraper
Linkedin Ads Scraper is a production-ready LinkedIn ads scraping tool that collects structured data from public LinkedIn Ads Library pages at scale. It solves the pain of manually browsing sponsored posts by automatically discovering ad detail pages and extracting creative images, ad copy, CTAs, advertiser information, ad formats, and funding labels—ideal for marketers, developers, data analysts, and researchers looking for a LinkedIn ads scraping tool and LinkedIn ads data extractor for competitor tracking and campaign insight. Built for batch runs and automation, this LinkedIn sponsored content scraper enables repeatable, large-scale data extraction for B2B planning, ad inspiration, and analytics workflows. 🚀
What data / output can you get?
This actor exports clean JSON records to the Apify dataset. Below are the exact output fields it produces from LinkedIn ad detail pages.
| Data type | Description | Example value |
|---|---|---|
| adId | Unique LinkedIn ad identifier | "901224633" |
| adLibraryUrl | Direct link to the ad’s detail page | "https://www.linkedin.com/ad-library/detail/901224633" |
| advertiserLogo | URL of the advertiser’s logo image | "https://media.licdn.com/dms/image/.../company-logo_100_100.png" |
| imageUrls | Array of creative image URLs (excludes logos) | ["https://media.licdn.com/dms/image/…/creative1.jpg"] |
| ctas | Up to 5 call-to-action labels detected on the ad | ["Learn more", "Sign up"] |
| advertiserName | Advertiser name (company or brand) | "Microsoft" |
| advertiserUrl | Advertiser’s LinkedIn company URL | "https://www.linkedin.com/company/1035" |
| format | Detected ad format: VIDEO, CAROUSEL, DOCUMENT, or MESSAGE | "VIDEO" |
| paidBy | Funding entity detected on the page | "Microsoft Corp" |
| body | Normalized ad body text (up to ~500 chars) | "If you’re looking to grow your SMB impact..." |
| startUrl | The search URL that sourced this ad | "https://www.linkedin.com/ad-library/search?accountOwner=microsoft&countries=US&dateOption=last-30-days" |
Notes:
- Some fields may be blank when not present on the page; advertiserName may be "Unknown Company" if the label can’t be detected.
- Results are stored in the Apify dataset for easy download and further processing (e.g., JSON/CSV export).
- Bonus media: advertiserLogo and imageUrls support LinkedIn ad creative scraper use cases for analysis and inspiration.
Key features
- ⚙️ Multi‑strategy search discovery — Tries several LinkedIn Ads Library search URL patterns (including empty and time-bounded date options) to maximize ad coverage for each input.
- 🧭 Smart pagination & scrolling — Automates scrolling and “load more” interactions with headless Chrome to reveal additional sponsored entries on long result pages.
- 🖥️ Hybrid rendering (HTTP + Selenium) — Falls back between fast HTTP fetches and headless browser rendering to handle dynamic content and tougher pages reliably.
- 🧵 Batch fetching & concurrency — Collects unique ad IDs from search and fetches ad details in parallel (up to 8 worker threads) for speedy runs in your LinkedIn ads spy tool workflow.
- 🧠 Clean creative & CTA extraction — Captures image URLs (excluding logos), detects CTAs, and normalizes message text to build a high‑quality LinkedIn ad creatives dataset.
- 🧪 Automatic format detection — Identifies VIDEO, CAROUSEL, DOCUMENT, or MESSAGE formats directly from the ad page for richer analysis.
- 🛡️ Apify Proxy support — Optional proxyConfiguration for stability and geolocation. Turn on residential IPs if you hit blocks to power a resilient LinkedIn advertising data scraper.
- 📦 Real‑time dataset output — Streams each item to the Apify dataset for analytics, dashboards, or pipeline consumption with your LinkedIn ads export tool.
- 🔁 No credentials required — Operates on publicly available LinkedIn Ads Library pages; perfect as a LinkedIn ads scraping API alternative for sponsored content.
How to use Linkedin Ads Scraper - step by step
- 🔑 Create or log in to your Apify account.
- 🔎 Open the Linkedin Ads Scraper actor in the Apify Store.
- 🧾 Provide inputs using either:
- input: an array of companies, LinkedIn URLs, or keywords (e.g., ["google", "microsoft"]).
- startUrls: LinkedIn company URLs or keywords (used only if input is empty).
- 🌍 Configure filters:
- countries: choose a country code (default: US).
- dateOption: time range for ads (default: last-30-days).
- 📊 Set limits:
- maxItems: cap the total number of ads to collect (1–1000; default: 30).
- 🛡️ (Optional) Configure proxyConfiguration:
- Enable useApifyProxy if you need residential IPs or improved stability.
- ▶️ Click Start. The actor will discover ad IDs from search results and fetch each ad’s detail page automatically.
- 🧩 Monitor progress in real time; items are pushed to the dataset as they’re collected.
- 💾 Download results from the run’s dataset (e.g., JSON/CSV) for analysis or integration.
Pro tip: Chain this LinkedIn ads data extractor with your analytics or BI pipeline to build a LinkedIn campaign data scraper that feeds dashboards, competitor trackers, and creative libraries automatically.
Use cases
| Use case name | Description |
|---|---|
| Marketing – competitor ad intelligence | Track LinkedIn sponsored content for rivals, collect creatives and CTAs, and benchmark messaging in your category with a LinkedIn competitor ads scraper. |
| Media buying – creative testing library | Build a LinkedIn ad creative scraper dataset to inspire campaigns and evaluate format performance (VIDEO vs CAROUSEL vs MESSAGE). |
| Data analytics – trend benchmarking | Aggregate body text and CTA patterns across time windows and countries for actionable insights and reporting. |
| Developers – API‑like export pipeline | Use the actor as a LinkedIn ads scraping API alternative: automate runs and consume dataset outputs in downstream apps. |
| Researchers – sponsored content analysis | Extract public ad pages to study messaging, funding labels (paidBy), and creative strategies by sector. |
| B2B growth – prospect & campaign scans | Run a LinkedIn paid ads scraper workflow to review how target accounts advertise across regions and time ranges. |
Why choose Linkedin Ads Scraper?
Linkedin Ads Scraper focuses on precision, scale, and automation for extracting public LinkedIn Ads Library data.
- 🎯 Accurate field extraction (advertiser, CTAs, format, media, paidBy, body) directly from ad detail pages.
- ⚡ Scalable batch runs with parallel detail fetches and smart pagination for large result sets.
- 🔌 Developer‑friendly outputs streamed to Apify datasets for easy programmatic consumption.
- 🛡️ Stable operations with optional Apify Proxy configuration for resilient, geolocated scraping.
- 🔁 Works as a LinkedIn ads API alternative without browser extensions or fragile click automation.
- 👥 Built for teams: suits marketers, analysts, researchers, and developers building pipelines.
- 🧱 Runs on Apify’s production infrastructure for reliability and repeatability.
In short: a robust LinkedIn ads scraping tool without the headaches of extensions or manual workflows.
Is it legal / ethical to use Linkedin Ads Scraper?
Yes—when done responsibly. This actor accesses publicly available LinkedIn Ads Library pages and does not request authentication. You should:
- Extract only public ad content and metadata available on ad‑library pages.
- Respect LinkedIn’s Terms of Service and applicable data protection laws (e.g., GDPR, CCPA).
- Avoid personal or non‑public data collection.
- Validate your specific use case with your legal team if needed.
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: 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; select)
- Description: Which country's ads to show.
- Default: US
- Required: No
-
dateOption (string; select)
- Description: Time range for ads. We also try last 30 days and this month for better coverage.
- Default: last-30-days
- Required: No
-
maxItems (integer; 1–1000)
- Description: Cap on total ads to scrape.
- 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": "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/logo.png","imageUrls": ["https://media.licdn.com/dms/image/v2/D561…/creative1.jpg"],"ctas": ["Learn more", "Register"],"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 Small and Medium Business (SMB) impact, Microsoft Dynamics 365 Business Central delivers more than just ERP...","startUrl": "https://www.linkedin.com/ad-library/search?accountOwner=microsoft&countries=US&dateOption=last-30-days"},{"adId": "880280094","adLibraryUrl": "https://www.linkedin.com/ad-library/detail/880280094","advertiserLogo": "https://media.licdn.com/dms/image/v2/D560BAQH32RJQCl3dDQ/company-logo_100_100/logo.png","imageUrls": [],"ctas": ["Saiba mais"],"advertiserName": "Microsoft","advertiserUrl": "https://www.linkedin.com/company/1035","format": "VIDEO","paidBy": "Global Mind USA LLC","body": "O Microsoft 365 Copilot lançou duas novidades que liberam capacidade estratégica...","startUrl": "https://www.linkedin.com/ad-library/search?accountOwner=microsoft&countries=US&dateOption=last-30-days"}]
Field notes:
- advertiserName may fall back to "Unknown Company" if the label can’t be detected.
- imageUrls and paidBy may be empty when not present on the page.
Related tools
FAQ
Is there a free trial for Linkedin Ads Scraper?
✅ Yes. This actor includes trial minutes on Apify (120 minutes), which you can use to evaluate results before scaling your workload.
Do I need to log in to LinkedIn to use this?
❌ No. The scraper works on publicly available LinkedIn Ads Library pages and does not access authenticated data.
What inputs does it accept?
🧾 You can provide input (an array of companies, LinkedIn URLs, or keywords). Alternatively, use startUrls if input is empty. You can also set countries, dateOption, maxItems, and proxyConfiguration.
How many ads can I scrape in one run?
📈 You control this via maxItems (1–1000). Internally, the scraper de‑duplicates ad IDs and fetches details in parallel for speed.
Which fields are extracted from each ad?
🧩 The dataset includes adId, adLibraryUrl, advertiserLogo, imageUrls, ctas, advertiserName, advertiserUrl, format, paidBy, body, and startUrl.
Does it support proxies or geolocation?
🛡️ Yes. Use proxyConfiguration to enable Apify Proxy and choose a country to improve stability and target different regions with your LinkedIn ads spy tool.
Can I use this as a LinkedIn ads API alternative?
🔌 Yes. It programmatically collects public ad data and streams it to the Apify dataset, which you can consume in your pipelines.
How do I download results?
💾 Open the run’s dataset in Apify and export your records (e.g., JSON/CSV) for analysis, reporting, or integration.
Closing CTA / Final thoughts
Linkedin Ads Scraper is built for reliable, structured extraction of public LinkedIn sponsored ads. It delivers advertiser details, ad copy, CTAs, formats, and media links—streamed in real time to your dataset—so marketers, analysts, developers, and researchers can move from browsing to actionable insights fast. Use it as a LinkedIn ads export tool or a LinkedIn competitor ads scraper in your automation stack, and consume the dataset programmatically in your BI or data pipelines. Start extracting smarter LinkedIn ads data today and supercharge your creative research and B2B campaign planning. 🚀