LinkedIn Ad Library Scraper - Competitor B2B Ads Intel
Pricing
from $2.00 / 1,000 ad scrapeds
LinkedIn Ad Library Scraper - Competitor B2B Ads Intel
Scrape LinkedIn Ad Library for competitor ads, creatives, CTAs. No login required. By keyword, company ID, or company URL. B2B advertising intelligence + DSA compliance research.
Pricing
from $2.00 / 1,000 ad scrapeds
Rating
0.0
(0)
Developer
viralanalyzer
Maintained by CommunityActor stats
0
Bookmarked
4
Total users
2
Monthly active users
12 days ago
Last modified
Categories
Share
💼 LinkedIn Ad Library Scraper - B2B Competitor Ads Intelligence
🔗 View on Apify Store | 🇺🇸 English | 🇧🇷 Português
Extract competitor B2B ad creatives from LinkedIn Ad Library — the public ad transparency archive LinkedIn maintains for EU DSA compliance and global ad accountability. No login, no API key, no OAuth. HTTP-only scrape of linkedin.com/ad-library/search.
✨ Features
- Anonymous access — no LinkedIn account, no OAuth, no API key
- 3 search modes — by keyword/brand, by numeric company ID, by company URL
- Country filter — ISO codes (US/BR/GB/DE/FR/ES/IT/MX/AR/CL/AU/JP/IN/NL/etc.) or leave empty for all
- 24 ads per query — LinkedIn's hard limit per search page
- Lean compute — pure HTTP + Cheerio (no Playwright), 256MB / 120s default
- Rich output — ad ID, creative type (
SPONSORED_STATUS_UPDATE/SPONSORED_VIDEO), advertiser name + URL, logo, headline, ad body, image, detail page link - NEVER 0 ITEMS guard — fails loud with diagnostic (HTML bytes, cards detected, final URL) if LinkedIn rotates schema instead of silently SUCCEED-with-zero
- B2B-focused — perfect for SaaS / enterprise / agency competitive intel
📥 Input
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
searchMode | enum | Yes | keyword | keyword / companyId / companyUrl |
query | string | Yes | Adobe | Keyword/brand name, numeric company ID, or LinkedIn company URL |
country | string | No | `` (all) | ISO country code (US/BR/GB/DE/FR/etc.) |
maxAdsPerQuery | int | No | 24 | Max ads to return (LinkedIn hard-caps at 24 per query) |
Example input — by keyword
{"searchMode": "keyword","query": "Adobe","country": "US","maxAdsPerQuery": 24}
Example input — by company URL
{"searchMode": "companyUrl","query": "https://www.linkedin.com/company/microsoft","country": "","maxAdsPerQuery": 24}
📤 Output
{"adId": "1265295783","creativeType": "SPONSORED_STATUS_UPDATE","advertiserName": "Adobe","advertiserUrl": "https://www.linkedin.com/company/adobe","logoUrl": "https://media.licdn.com/dms/image/v2/.../company-logo_100_100/...","headline": "Transform your creative workflow","body": "See how Adobe Firefly accelerates ideation for enterprise teams...","imageUrl": "https://media.licdn.com/dms/image/v2/.../feedshare-shrink_1280/...","detailUrl": "https://www.linkedin.com/ad-library/detail/1265295783","source": "linkedin-ad-library","scrapedAt": "2026-05-16T15:42:00.000Z"}
💰 Pricing
Pay-per-event — you only pay when a real ad is returned. Zero ads → zero charge. Owner runs (the ViralAnalyzer team itself) are never charged.
🚀 Use cases
- B2B competitive intel — see which campaigns SaaS / enterprise / agency competitors are running
- EU DSA compliance research — LinkedIn maintains this library specifically for Digital Services Act transparency; perfect for academic / regulatory research
- Creative analysis — extract winning B2B headline + copy + imagery patterns from top-spending advertisers
- Brand safety — discover unauthorized ads using your brand keywords
- Ad agency benchmarking — see which creative formats (single image vs. video) competitors prioritize on LinkedIn
- Recruiting intel — track competitor employer-brand ads + talent acquisition campaigns
⚠️ Common errors
| Error | Cause | Fix |
|---|---|---|
[FAIL] Zero ads extracted (htmlBytes < 50000) | LinkedIn blocked the request or returned empty page | Retry with different proxy region or wait 60s |
[FAIL] Zero ads extracted (cardsDetected=0) | Advertiser has no current ads OR keyword too narrow | Broaden the keyword OR remove country filter |
[INPUT] companyUrl mode requires linkedin.com/company/<slug> | URL format invalid | Use full URL like https://www.linkedin.com/company/adobe |
| Request retries exhausted | Rare network glitch | Re-run after 60s |
🔒 Privacy
- All requests go directly to
linkedin.com/ad-library/search(public archive) - No LinkedIn account credentials are sent or stored
- Output contains only ads that LinkedIn itself publishes openly per its EU DSA transparency mandate
📚 Related actors
- Facebook Ad Library Intelligence — Meta Ad Library (FB / IG / Messenger / WhatsApp ads)
- Google Ads Transparency — Google / YouTube / Maps / Shopping ad transparency
- LinkedIn Intelligence — LinkedIn company / job / employee intel
🆕 Changelog
- v1.0 (2026-05-16): Initial release. Three search modes (keyword / companyId / companyUrl), country filter, NEVER 0 ITEMS guard with HTML diagnostics, owner-skip PPE.
Português
💼 LinkedIn Ad Library Scraper - Inteligência de Ads B2B
Extrai criativos publicitários B2B de competidores da LinkedIn Ad Library — arquivo público de transparência publicitária que o LinkedIn mantém para compliance com a DSA da UE e accountability global. Sem login, sem API key, sem OAuth. Scrape HTTP-only de linkedin.com/ad-library/search.
✨ Recursos
- Acesso anônimo — sem conta LinkedIn, sem OAuth, sem API key
- 3 modos de busca — por palavra-chave/marca, por ID numérico da empresa, ou por URL da empresa
- Filtro de país — códigos ISO (US/BR/GB/DE/FR/etc.) ou vazio para todos
- 24 ads por consulta — limite duro do LinkedIn por página de busca
- Compute leve — HTTP puro + Cheerio (sem Playwright), 256MB / 120s padrão
- Output rico — ID do ad, tipo de criativo, nome + URL do anunciante, logo, headline, corpo, imagem, link de detalhes
- Guard NEVER 0 ITEMS — falha alto com diagnóstico se LinkedIn mudou estrutura HTML
💰 Por que vale a pena
- B2B-first: LinkedIn é o único arquivo de ads onde tráfego é majoritariamente B2B / SaaS / enterprise
- Sem fricção: 0 setup, 0 credenciais — apenas rode
- Compliance EU DSA: dados oficiais publicados pelo próprio LinkedIn por mandato regulatório
- Mais barato que API LinkedIn Marketing: API oficial exige conta empresarial + approval; aqui é só pay-per-ad
🚀 Casos de uso para o mercado BR/LATAM
- Espiar campanhas B2B SaaS de Stone, Nubank, RD Station, Resultados Digitais
- Pesquisa acadêmica de compliance regulatório (DSA / LGPD)
- Análise criativa — copiar padrões de headline/body dos top spenders B2B
- Inteligência para agências — saber em quais formatos (vídeo vs imagem) os concorrentes apostam
- Inteligência de recrutamento — ads de employer brand de big-techs do BR
⚠️ Erros comuns
| Erro | Causa | Solução |
|---|---|---|
Zero ads (htmlBytes < 50000) | LinkedIn bloqueou o request | Re-rodar após 60s |
Zero ads (cardsDetected=0) | Anunciante sem ads ativos OU termo muito restrito | Ampliar o termo OU remover filtro country |
companyUrl mode requires... | URL inválida | Use URL completa https://www.linkedin.com/company/<slug> |