Extract comprehensive advertising data from LinkedIn's Ad Library with automatic pagination and filtering.
This powerful Apify actor extracts detailed ad information from LinkedIn's public Ad Library, delivering structured data about ad campaigns including creatives, headlines, advertiser details, and targeting information.
- Ad Creatives - Images, videos, and carousel content
- Ad Copy - Headlines, body text, and descriptions
- Advertiser Information - Company names, logos, and bio/subtitle text
- Call-to-Action - CTA button text and links
- External Links - URLs mentioned in ad text
- Metadata - Ad IDs, creative types, and timestamps
- Smart Pagination - Automatically handles multi-page results
- Keyword Search - Search by keywords or account owners
- Date Filtering - Filter ads by time periods
- Country Filtering - Target specific geographic regions
- Rate Limiting - Built-in delays to prevent blocking
- Retry Logic - Exponential backoff with 3 retry attempts
- Proxy Support - Optional Apify Proxy integration
- Multiple Keywords - Process multiple search terms in one run
- Account Owners - Filter by specific advertisers
- Result Limits - Control maximum results (or scrape all)
- Custom Date Ranges - Search specific time periods
- Multi-Country - Search ads from multiple countries
{
"keyword": ["apify"],
"maxResults": 50
}{
"keyword": ["saas", "marketing automation"],
"accountOwner": ["Apify", "HubSpot"],
"countries": ["US", "GB", "CA"],
"dateOption": "last-30-days",
"maxResults": 100,
"proxyConfiguration": {
"useApifyProxy": true,
"apifyProxyGroups": ["RESIDENTIAL"]
}
}| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
keyword |
array | β No | - | Keywords to search in Ad Library |
accountOwner |
array | β No | - | Filter by advertiser account names |
countries |
array | β No | All | Country codes (e.g., US, GB, CA) |
maxResults |
integer | β No | 50 | Maximum ads to scrape (0 = unlimited) |
dateOption |
string | β No | - | Date filter (last-30-days, current-year, etc.) |
startDate |
string | β No | - | Custom start date (YYYY-MM-DD) |
endDate |
string | β No | - | Custom end date (YYYY-MM-DD) |
proxyConfiguration |
object | β No | - | Apify proxy settings |
Array of keywords to search for in LinkedIn Ad Library.
Example:
{
"keyword": ["apify", "web scraping", "automation"]
}Filter ads by specific advertiser names (optional).
Example:
{
"accountOwner": ["Apify", "Microsoft", "Google"]
}Array of country codes to filter ads by geographic targeting.
Example:
{
"countries": ["US", "GB", "CA", "AU"]
}Predefined Options:
last-30-days- Last 30 dayscurrent-month- Current monthcurrent-year- Current yearlast-year- Previous yearcustom-date-range- Custom date range (requires startDate and endDate)
Custom Date Range:
{
"dateOption": "custom-date-range",
"startDate": "2024-01-01",
"endDate": "2024-12-31"
}Optional proxy settings for improved reliability:
{
"proxyConfiguration": {
"useApifyProxy": true,
"apifyProxyGroups": ["RESIDENTIAL"]
}
}{
"adId": "894398854",
"advertiserName": "Apify",
"advertiserBio": "CEO at Apify | Helping people get more value from the web",
"isPromoted": true,
"creativeType": "SPONSORED_STATUS_UPDATE",
"headline": "$1M in prizes for tools AI needs. The frontier is open for builders.",
"adText": "Companies deploying AI hit walls. Tools don't exist yet. That's your opportunity. Build on Apify, win your share.",
"detailPageUrl": "https://www.linkedin.com/ad-library/detail/894398854",
"imageUrl": "https://media.licdn.com/dms/image/v2/D4E10AQH0zRaEVZ_APg/...",
"logoUrl": "https://media.licdn.com/dms/image/v2/D4E0BAQHAN7DZIQRKSw/...",
"ctaText": "View details",
"externalLinksInText": [],
"scrapedAt": "2025-12-03T00:55:56.066Z"
}adId- Unique LinkedIn ad identifieradvertiserName- Company/advertiser nameadvertiserBio- Advertiser bio/subtitle text (e.g., job title, company description, headline)isPromoted- Whether ad is promotedcreativeType- Type of ad creative (SPONSORED_STATUS_UPDATE, etc.)
headline- Ad headline textadText- Main ad body text/descriptionctaText- Call-to-action button text
imageUrl- URL of ad creative imagelogoUrl- URL of advertiser's logo
detailPageUrl- LinkedIn URL to ad detail pageexternalLinksInText- Array of external URLs found in ad textscrapedAt- ISO 8601 timestamp when ad was scraped
Quick summary of all ads with essential information including advertiser bio.
Fields: Ad image, ID, advertiser, bio, creative type, headline, ad text, CTA, LinkedIn URL
Use Case: Initial ad review and filtering
Complete ad information including external links, timestamps, and advertiser bio.
Fields: All ad data including images, logos, bio, external links, scrape timestamps
Use Case: In-depth ad analysis and competitive research
Ads grouped by advertiser/company with bio information.
Fields: Logo, company name, bio, ad ID, headline, creative type, URL
Use Case: Track specific advertisers, competitor monitoring
Focus on ad creatives and content including advertiser bio.
Fields: Creative image, ID, advertiser, bio, type, headline, body text, CTA
Use Case: Creative inspiration, copywriting research, A/B testing ideas
- Competitor Ad Tracking - Monitor competitor ad campaigns and positioning
- Creative Research - Analyze successful ad creatives and messaging
- Messaging Analysis - Study competitor positioning, bio descriptions, and messaging
- Budget Estimation - Track ad volume and frequency by advertiser
- Creative Inspiration - Find ideas for your own campaigns
- Copy Research - Study effective headlines and ad text
- Bio & Description Ideas - Analyze how advertisers describe themselves
- CTA Analysis - Discover compelling call-to-action approaches
- Trend Monitoring - Track advertising trends in your industry
- Industry Analysis - Study advertising patterns by sector
- Brand Monitoring - Track brand advertising activity and positioning
- Geographic Insights - Analyze regional advertising differences
- Seasonal Patterns - Identify seasonal advertising trends
- Advertiser Positioning - Understand how companies present themselves
- Ad Monitoring Alerts - Get notified of new competitor ads
- Database Building - Create comprehensive ad databases with advertiser profiles
- API Integration - Feed data into your own systems
- Reporting Automation - Generate regular competitive reports
Search for multiple keywords in one run:
{
"keyword": [
"web scraping",
"data extraction",
"api integration",
"automation tools"
],
"maxResults": 200
}This will scrape up to 200 ads total across all keywords.
Track specific advertisers:
{
"keyword": ["marketing automation"],
"accountOwner": ["HubSpot", "Salesforce", "Marketo"],
"maxResults": 0
}Analyze ads from specific time periods:
{
"keyword": ["black friday"],
"dateOption": "custom-date-range",
"startDate": "2024-11-01",
"endDate": "2024-11-30",
"maxResults": 0
}Focus on specific countries:
{
"keyword": ["fintech"],
"countries": ["US", "GB", "SG", "HK"],
"maxResults": 500
}For reliable large-scale scraping:
{
"keyword": ["saas"],
"maxResults": 1000,
"proxyConfiguration": {
"useApifyProxy": true,
"apifyProxyGroups": ["RESIDENTIAL"]
}
}- Single Ad - ~0.2 seconds
- Page (10 ads) - ~2-3 seconds (including delay)
- 100 Ads - ~30-40 seconds
- 1000 Ads - ~5-7 minutes
- Memory - 256MB minimum, 2048MB maximum
- CPU - Low to moderate usage
- Network - Moderate bandwidth usage
This actor extracts publicly available data from LinkedIn's Ad Library. Users must:
- Comply with LinkedIn's Terms of Service
- Respect robots.txt directives
- Follow applicable data protection laws (GDPR, CCPA, etc.)
- Use data responsibly and ethically
The actor creator is not responsible for how users utilize the extracted data.
- Data is extracted as-is from LinkedIn Ad Library
- Ad availability may change between scraping sessions
- Some fields may be null if not present in the ad
- External links are extracted from ad text content
- Advertiser bio reflects current LinkedIn profile information
- Built-in 2-second delays between pages
- Retry logic handles temporary failures
- Proxy usage recommended for large-scale operations
- LinkedIn may implement rate limiting
LinkedIn may update their Ad Library structure. If the actor stops working:
- Check for actor updates on Apify
- Report issues via GitHub or Apify support
- Monitor actor changelog for fixes
General Keyword:
{
"keyword": ["apify"],
"maxResults": 50
}Competitor Research:
{
"keyword": ["web scraping"],
"accountOwner": ["ParseHub", "Octoparse", "Apify"],
"dateOption": "last-30-days"
}Industry Analysis:
{
"keyword": ["marketing automation", "crm software"],
"countries": ["US", "GB", "CA"],
"maxResults": 500
}Seasonal Campaign:
{
"keyword": ["christmas", "holiday sale"],
"dateOption": "custom-date-range",
"startDate": "2024-12-01",
"endDate": "2024-12-25"
}- π Website: flowextractapi.com
- π§ Email: flowextractapi@outlook.com
- π Apify Profile: FlowExtract API
- π¬ GitHub Issues: FlowExtractAPI
- πΌ LinkedIn: flowextract-api
- π¦ Twitter: @FlowExtractAPI
- π± Facebook: flowextractapi
YouTube Transcript & Metadata Extractor Extract complete video transcripts with timestamps and comprehensive metadata.
YouTube Full Channel, Playlists, Shorts, Live Extract complete playlist information with all video details from any YouTube playlist.
Zoom Scraper | π₯ Downloader & π Transcript Extract Zoom meeting recordings, transcripts, and metadata.
Loom Scraper | π₯ Downloader & π Transcript Download Loom videos and extract transcripts.
PropertyFinder Scraper Extract real estate property listings from PropertyFinder across UAE, Saudi Arabia, Bahrain, Egypt, and Qatar.
Idealista Scraper API Advanced Idealista property data extraction with API access.
Idealista Scraper Extract Spanish real estate listings from Idealista.
Screenshot Fast, reliable webpage screenshots with customizable options.
Ultimate Screenshot Advanced screenshot tool with full-page capture, custom viewports, and quality controls.
Network Security Scanner Scan websites for security vulnerabilities and get comprehensive security reports.
Facebook Ads Scraper Pro Extract Facebook ads data for competitor analysis and market research.
AI Contact Intelligence Extractor Extract emails, phones, contacts & custom data using AI.
Ready to extract LinkedIn ad data? Start using LinkedIn Ad Library Scraper now!