LinkedIn, Google & TikTok Ads Library Scraper (Ad Spy) avatar

LinkedIn, Google & TikTok Ads Library Scraper (Ad Spy)

Pricing

$2.50 / 1,000 ad creative extracteds

Go to Apify Store
LinkedIn, Google & TikTok Ads Library Scraper (Ad Spy)

LinkedIn, Google & TikTok Ads Library Scraper (Ad Spy)

Extract B2B & DTC ad creatives from LinkedIn Ad Library, Google Ads Transparency Center, and TikTok Creative Center via direct XHR/RPC & TLS requests (zero Playwright). Includes EU DSA impression ranges, UTM-cleaned landing domains for Clay/n8n, delta mode (onlyNew), and PPE billing.

Pricing

$2.50 / 1,000 ad creative extracteds

Rating

0.0

(0)

Developer

Xavier Richard

Xavier Richard

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 hours ago

Last modified

Features

Limited permissions

Share

Multi-Network Ad Spy (LinkedIn, Google & TikTok Ads)

Spy on competitor B2B & DTC ad creatives across LinkedIn Ad Library, Google Ads Transparency Center, and TikTok Creative Center — in one unified dataset, at a fraction of $49–$459/mo AdSpy subscriptions.

Built for Growth B2B teams, ABM strategists, Performance Media Buyers, and Clay / n8n automation pipelines using direct XHR/RPC reverse-engineered endpoints and Chrome TLS impersonation (curl_cffi) — zero Playwright/browser overhead, running comfortably in 512 MB RAM.


Why This Actor?

Most scrapers crowd around Meta Ad Library while ignoring the highest-intent B2B and viral creative intelligence sources:

NetworkWhat You GetHigh-Value Signals
LinkedIn Ad LibrarySponsored Single Image, Video, Carousel, Document, Text & Message Ads by keyword or company (accountOwner)Full ad copy, headline, CTA, UTM-cleaned landing page, video MP4 URLs, active dates, and EU DSA impression ranges & country splits
Google Ads Transparency CenterSearch, Display & YouTube creatives by advertiser name, Advertiser ID (AR...), or domain (hubspot.com)All creative variations, image/YouTube assets, EU DSA total & per-country impression ranges, first-seen & last-shown dates
TikTok Creative Center (Top Ads)Top-performing auction video ads ranked by Likes, CTR, Impressions, or For You across countries & industriesAd copy, brand name, 1080p/720p MP4 + cover image, country targeting, and UTM-cleaned landing page

Key Features for Growth & RevOps Workflows

  • Zero Browser / 512 MB Footprint: Direct HTTP/2 Chrome TLS impersonation (curl_cffi) + C-speed selectolax HTML parsing. No Chromium, no Playwright cold starts, no wasted compute units.
  • Clay & n8n Enrichment Ready (extractLandingDomainInfo): Automatically unwraps ad click-redirectors and strips utm_*, gclid, li_fat_id, ttclid, fbclid, _hsenc, trk, and TikTok deep-link tracking parameters from landingPageUrl, populating a clean advertiserDomain ready for company enrichment in Clay, Apollo, or n8n.
  • EU DSA Transparency Data: Extracts Digital Services Act (DSA) impressionsRange, country distribution (countries), and startDate / lastSeenDate on LinkedIn and Google when European/EEA regions are present.
  • Scheduled Delta Monitoring (onlyNew): Persists seen creative keys (network:adId) in the Apify Key-Value Store (seen_ads or custom deltaStoreKey). Schedule weekly/daily runs to push only newly launched competitor ads to Slack, HubSpot, or Clay — and pay only for new ads.
  • Graceful Abort & Pay-Per-Event Budget Safety: Flushes buffered creatives and persists KV delta state on ABORTING, and enforces maxTotalChargeUsd via ad-extracted PPE checks.

Input Configuration

ParameterTypeDefaultDescription
networksarray["linkedin", "google", "tiktok"]Networks to extract from (linkedin, google, tiktok).
keywordsarray[]Search keywords (used on LinkedIn search and as fallback query in Google Suggestions).
advertisersarray[]Competitor names ("HubSpot"), Google Advertiser IDs ("AR..."), or domains ("hubspot.com").
domainsarray[]Explicit domains for Google Ads Transparency Center (e.g., "hubspot.com", "monday.com").
countriesarray["US", "FR"]ISO-2 country codes ("US", "FR", "DE", "GB", etc.). EU codes unlock DSA impression ranges.
dateRangestring"30d"Lookback window: "any", "7d", "30d", "180d".
adFormatsarray["all"]Filter by format: "all", "text", "image", "video", "carousel", "message".
tiktokIndustrystring""Optional TikTok industry name (e.g., "Business Services", "Tech & Electronics") or numeric ID.
tiktokOrderBystring"like"TikTok ranking: "like", "ctr", "impression", "for_you".
enrichDetailsbooleantrueFetch per-ad detail endpoints for landing URLs, DSA impressions, dates, and full media.
extractLandingDomainInfobooleantrueStrip UTM/tracking params from landingPageUrl and extract clean advertiserDomain.
onlyNewbooleanfalseDelta mode: skip previously seen network:adId keys stored in KV Store.
deltaStoreKeystring"seen_ads"KV Store key for onlyNew (use separate keys for separate watchlists).
maxAdsPerNetworkinteger50Maximum creatives collected per network (1–2000).
maxTotalAdsinteger150Hard cap on total creatives delivered in the run (1–5000).
proxyConfigurationobject{"useApifyProxy": false}Optional Apify Proxy config (disabled by default; enable residential proxies for high-volume runs).

Example Input (B2B Competitor ABM Radar)

{
"networks": ["linkedin", "google", "tiktok"],
"keywords": ["crm"],
"advertisers": ["HubSpot"],
"domains": ["hubspot.com"],
"countries": ["US", "FR"],
"dateRange": "30d",
"enrichDetails": true,
"extractLandingDomainInfo": true,
"onlyNew": true,
"maxAdsPerNetwork": 20,
"maxTotalAds": 60
}

Output Schema (AdCreative)

Every item in the default Dataset follows the unified AdCreative schema:

{
"network": "linkedin",
"adId": "1639057034",
"advertiserName": "S-Docs",
"advertiserUrl": "https://www.linkedin.com/company/10407092",
"advertiserDomain": "salesforceben.com",
"format": "single_image",
"headline": "Salesforce Ben: S-Docs Review",
"adText": "External document apps introduce latency, sync failures, and security risks...",
"cta": "Learn more",
"landingPageUrl": "https://www.salesforceben.com/how-to-generate-and-manage-your-most-important-documents-inside-salesforce/",
"mediaUrls": [
"https://media.licdn.com/dms/image/v2/D5610AQG3MdJM061E0A/image-shrink_1280/..."
],
"countries": ["AU"],
"impressionsRange": "< 1k",
"startDate": "2026-11-11",
"lastSeenDate": "2026-11-11",
"isActive": true,
"scrapedAt": "2026-11-14T00:00:00Z"
}

A run summary is also stored in the Default Key-Value Store under OUTPUT with adsDelivered, byNetwork, skippedByDelta, stoppedByBudget, and errorsByNetwork.


Platform Limits & Practical Notes (Unauthenticated Public Access)

  • LinkedIn Ad Library: Public SSR search & pagination work without login; detail enrichment (enrichDetails: true) fetches each ad's detail page with conservative pacing to avoid rate-limiting.
  • Google Ads Transparency Center: Supports domain (hubspot.com), advertiser ID (AR...), and suggestion-resolved company queries with cursor pagination and EU DSA breakdowns.
  • TikTok Creative Center: Unauthenticated Top Ads (top_ads/v2/list) returns up to 20 top creatives per (country, order_by, industry, period) slice on page 1 and does not support server-side keyword filtering without a logged-in Business session. Use countries, tiktokIndustry, and tiktokOrderBy to slice trends effectively.

Local Development & Testing

python -m venv .venv
source .venv/bin/activate # or .venv\Scripts\activate on Windows
pip install -r requirements-dev.txt
pytest -v