Dev.to WebDev 🛠 Dev 👁 0 📖 5 min read

How to Scrape Facebook & Instagram Ads with EU Reach and Daily Monitoring (No Login)

Meta's public Ad Library (facebook.com/ads/library) shows every active ad running across Facebook, Instagram, Messenger, Audience Network and Threads — plus, for ads delivered in the European Union under the Digital Serv

How to Scrape Facebook & Instagram Ads with EU Reach and Daily Monitoring (No Login)

Meta's public Ad Library (facebook.com/ads/library) shows every active ad running across Facebook, Instagram, Messenger, Audience Network and Threads — plus, for ads delivered in the European Union under the Digital Services Act, exact EU reach totals, per-country and age/gender delivery breakdowns, targeting criteria and the payer/beneficiary entity.

Checking it manually for a handful of competitors gets tedious quickly, and most Ad Library scrapers either spin up a slow headless browser, charge extra for EU transparency details, or bill you for the same active ads every time a scheduled run executes.

This guide walks through exporting a competitor's active Facebook and Instagram ads to CSV or Python without logging in, breaking down their EU reach and demographic targeting, and setting up a daily monitor that only delivers (and charges for) newly launched ads.

Disclosure: We built the scraper used in this guide (Facebook Ads Library Scraper). It runs over plain HTTP at $0.70 per 1,000 ads ($0.56 on Gold+) with EU reach and targeting included free. Apify's free plan includes $5 of monthly credits (~7,000 ads), so you can reproduce every run below at zero cost.

What a real 20-ad EU scrape actually reveals

To show what comes back in practice, we ran advertisers: ["nike"] in Germany (country: "DE", activeStatus: "active", includeAdDetails: true, maxItems: 20) on 1 December 2026 (build 0.1.13, finished in 24.6 seconds, 24 requests, 0 failed requests, 0 detail failures):

  • 20/20 ads (100%) returned euTotalReach, per-country reachBreakdown, targetedAge, targetedGender, targetedLocations and payerBeneficiary (NIKE, Inc.), plus landing URLs (nike.com) and CTA (Shop now).
  • Two distinct campaign playbooks jumped straight out of the data:
    • 11 Instagram-only ads (8 VIDEO + 3 CAROUSEL), running 25–35 days, split tightly by gender (7 Men-only, 4 Women-only) and narrow age (18–34). Those 8 videos alone drove 88.7% of total EU reach (1,260,047 out of 1,420,725), with individual videos reaching up to 265,177 people.
    • 9 Dynamic Product Catalog (DPA) ads, each carrying 6 product cards, targeting All genders, ages 18–65 across Facebook + Instagram (and Audience Network + Threads on 4 of them). All 9 had launched 1 day earlier (daysActive: 1) and already logged 4,546 to 18,910 EU reach each in their first 24 hours.
  • 96.0% of age-attributed delivery landed in ages 25–34 (965,591) and 18–24 (401,993), with a 59.0% male / 41.0% female split.

Facebook Ads Library Scraper real output: Nike active DE video and carousel ads with ad copy, CTA, landing domain, days running and EU reach

Option 1: no-code export (2 minutes)

  1. Open the Scrape Facebook & Instagram Ads with EU Reach and Targeting example task and click Try for free (no Facebook login, cookies or credit card required).
  2. Replace advertisers with any competitor's Facebook page username, full page URL or numeric page ID — or switch to searchQueries for niche keyword research, or paste a filtered search URL into startUrls.
  3. Pick an EU country (such as DE or FR) and keep includeAdDetails enabled (included in the base price).
  4. Click Start. When the run finishes, click Export to download CSV, Excel or JSON.

Every row includes the ad copy (body), headline (title), displayFormat (VIDEO, IMAGE, CAROUSEL, DPA), platforms, direct image/video URLs, catalog cards, linkUrl/linkDomain, ctaText, startDate, daysActive, versionsCount, euTotalReach, reachBreakdown, targetedAge, targetedGender, targetedLocations and payerBeneficiary.

Option 2: analyze EU reach, formats & demographics in Python

Install the Apify Python client and pandas:

pip install apify-client pandas
export APIFY_TOKEN=your_token   # Apify Console > Settings > API & Integrations

Fetch 20 active EU ads and break down reach by format, age bracket, gender and country:

import os
from collections import Counter
import pandas as pd
from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])

run = client.actor("nexuscortex/facebook-ads-library-scraper").call(run_input={
    "advertisers": ["nike"],
    "country": "DE",
    "activeStatus": "active",
    "includeAdDetails": True,
    "maxItems": 20,  # $0.014 at $0.70 / 1,000 ads
})

items = client.dataset(run["defaultDatasetId"]).list_items().items
df = pd.DataFrame(items)

print(
    f"{len(df)} ads | {df['euTotalReach'].notna().sum()} with EU reach | "
    f"total reach: {int(df['euTotalReach'].fillna(0).sum()):,}"
)

# 1. Reach by creative format
print("\nEU reach by format:")
print(df.groupby("displayFormat")["euTotalReach"].agg(["count", "sum", "max"]))

# 2. Top-reaching ads
print("\nTop 8 ads by EU reach:")
cols = ["displayFormat", "daysActive", "targetedGender", "euTotalReach", "linkDomain"]
print(df.sort_values("euTotalReach", ascending=False)[cols].head(8).to_string(index=False))

# 3. Delivered reach by age bracket, gender and country
age_reach, gender_reach, country_reach = Counter(), Counter(), Counter()
for row in items:
    for bucket in row.get("reachBreakdown") or []:
        country = bucket.get("country")
        age = bucket.get("ageRange")
        for g in ("male", "female", "unknown"):
            val = bucket.get(g) or 0
            country_reach[country] += val
            age_reach[age] += val
            gender_reach[g] += val

print("\nDelivered reach by age:", dict(sorted(age_reach.items())))
print("Delivered reach by gender:", dict(gender_reach))
print("Top EU countries:", country_reach.most_common(5))

df.to_csv("facebook-ads-de.csv", index=False)

EU ad reach breakdown across 20 active Nike DE ads: reach by ad format, gender split, age bracket distribution and top EU countries

Option 3: daily competitor monitor without paying twice

If you run a daily check on a competitor's page without deduplication, you re-download and re-pay for the same long-running ads every morning.

Set a stable monitorName (use a distinct name for each separate search). The Actor persists every delivered adArchiveId in a named Apify key-value store and skips previously delivered ads before billing:

{
    "advertisers": ["nike", "adidas"],
    "country": "DE",
    "activeStatus": "active",
    "includeAdDetails": true,
    "monitorName": "sportswear-de-ads",
    "maxItems": 100,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": ["RESIDENTIAL"]
    }
}

We verified this in two back-to-back cloud runs on 0.1.13 (advertisers: ["nike"], country: "US", maxItems: 10, same monitorName):

  • Run 1 (12.4s): delivered 10 ads (deliveredBefore: 0, saved 10 IDs).
  • Run 2 (7.5s): automatically skipped all 10 previously delivered ads (skippedMonitor: 10) and returned 10 brand-new ads (0 overlap).

Ready-made task: Monitor New Competitor Facebook Ads Daily. Pair an Apify daily schedule with a Webhook to Slack, Google Sheets, Make or n8n so new competitor creatives show up automatically.

What it costs

  • $0.70 per 1,000 delivered ads (Bronze $0.63, Silver $0.595, Gold+ $0.56) plus $0.00005 per run start.
  • 20-ad EU reach analysis: $0.014 (~1.4 cents).
  • Daily 5-competitor monitor (~40 new ads/day): 40 × 30 / 1,000 × $0.70 ≈ $0.84/month.
  • EU transparency details (includeAdDetails) add $0 extra per ad, and previously delivered monitorName ads cost $0.

Limits to know

  • EU transparency data: euTotalReach, reachBreakdown, targetedAge, targetedGender and payerBeneficiary exist only for ads that target or deliver in the EU (or UK for ukTotalReach). US-only commercial ads return creative copy, media, platforms, dates and landing URLs, with null EU fields.
  • Spend & impressions: Meta publishes spend and impression ranges only for political and social-issue ads (adType: "political_and_issue_ads").
  • Residential proxies: Meta rate-limits datacenter IPs on Ad Library GraphQL queries, so the default RESIDENTIAL proxy group is recommended for reliable runs.
  • Public data only: No Facebook account, cookies or Graph API token are used — only what any logged-out visitor can see in Meta Ad Library.

See the full 57-field output reference and 7 ready-to-run examples on the Facebook Ads Library Scraper page.

📰 Read the original article on Dev.to WebDev

Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.