AdMakeAI
Competitor Research

Meta Ad Library Scraping & Terms of Service: What's Actually Allowed in 2026

Can you legally scrape the Facebook Ad Library? We break down Meta's Terms of Service, the landmark court ruling that changed everything, and why you probably don't need a scraper at all. Plus: free competitor research tools.

AdMake AI Team
February 26, 2026
14 min read
Meta Ad Library Scraping & Terms of Service: What's Actually Allowed in 2026

"Can I scrape the Facebook Ad Library?" It's one of the most searched questions in digital marketing. The answer used to be murky. Then a federal judge made it crystal clear — and Meta didn't even bother to appeal.

The Short Answer: Scraping publicly accessible data from Meta's Ad Library while logged out does not violate Meta's Terms of Service, per a January 2024 federal court ruling. Meta waived its right to appeal. But "legal" and "practical" are different things — and there's a better approach entirely.

This guide covers everything: what Meta's TOS actually says, the landmark court case that settled the debate, what the official API can and can't do, the practical risks of scraping, and why most marketers are better off with free research tools that don't require scraping at all.

What Meta's Terms of Service Actually Say About Scraping

Meta's Terms of Service broadly prohibit automated data collection. The relevant language restricts users from "collecting data from our Products using automated means" without prior permission.

Sounds clear-cut, right? Here's the problem: those terms govern "your use" of Meta's products. The critical legal question became: do the terms apply to someone who isn't logged into a Meta account?

Key TOS Provisions for Scraping:

  • General prohibition: "You may not access or collect data from our Products using automated means"
  • Scope limitation: Terms apply to "your use" of Meta's products — creating an account means accepting the terms
  • Separate research terms: Meta has additional Terms and Conditions specifically for their research tools
  • The Ad Library specifically: It's publicly accessible without any login requirement

This distinction — between logged-in users and anonymous visitors to public pages — turned out to be everything.

§Meta TOS"Don't scrape"Court Rulings"Public data is public"Courts have ruled that TOS cannot restrict access to public data

The Court Case That Changed Everything: Meta v. Bright Data

On January 23, 2024, U.S. District Judge Edward Chen issued a ruling that reshaped the entire scraping landscape. The case: Meta Platforms, Inc. v. Bright Data Ltd.

Bright Data is a company that provides scraping infrastructure and sells data collected from publicly available sources — including Meta's platforms. Meta sued them for breach of contract (violating their TOS) and other claims.

The Ruling:

"The Facebook and Instagram Terms do not bar logged-off scraping of public data; perforce it does not prohibit the sale of such public data."

— Judge Edward Chen, U.S. District Court, Northern District of California

The judge went further, explaining why Meta's Terms of Service don't apply to logged-out scraping:

"When an entity does not utilize that access to, e.g., scrape public data, it does not abuse that access; it stands in the same shoes as a visitor to whom the Terms cannot apply as a matter of basic contract law."

In plain English: if you're not logged in, you haven't agreed to any terms. Meta's TOS is a contract. You can't be bound by a contract you never signed.

Meta Gave Up

Perhaps the most telling detail: on February 23, 2024, Meta filed to dismiss the remaining tortious interference claim "without prejudice" and waived its right to appeal the summary judgment.

Meta — a company with virtually unlimited legal resources — chose not to fight. That tells you how confident they were in their position (not very).

2019hiQ v. LinkedInPublic scraping OK2022Ninth Circuit affirmsCFAA not violatedJan 2024Meta v. Bright DataTOS can't block public dataFeb 2024Meta drops appealWaives right to fightLegal protections for public data scraping have strengthened over time

The Other Key Case: hiQ Labs v. LinkedIn

The Meta v. Bright Data ruling built on earlier precedent. In hiQ Labs v. LinkedIn (2019, affirmed 2022), the Ninth Circuit Court of Appeals held that scraping publicly accessible data does not violate the Computer Fraud and Abuse Act (CFAA).

The court reasoned that "on a publicly available website, there are no rules or access permissions to prevent access, and therefore accessing that publicly available data cannot violate the CFAA."

Together, these cases establish a clear principle: companies cannot use Terms of Service to restrict access to information they've made publicly available.

What This Means for You (The Practical Reality)

"Legal" doesn't mean "easy" or "consequence-free." Here's the nuanced breakdown:

Legally Protected:

  • Logged-out scraping of publicly visible Ad Library data
  • Saving and organizing publicly visible ad creatives
  • Using the data for competitive research and analysis
  • Selling aggregated data from public sources (per Bright Data ruling)

Still Risky:

  • Scraping while logged in — Meta's TOS clearly apply to account holders
  • Scraping personal/private data — violates privacy laws (GDPR, CCPA)
  • Circumventing technical barriers — CAPTCHAs, rate limits
  • International jurisdictions — EU laws add extra restrictions

Important Caveat:

Even with legal protection, Meta can still block your IP, restrict your accounts, serve CAPTCHAs, and change their HTML structure to break your scraper. Legal ≠ Frictionless.

The Meta Ad Library API: Why It's Nearly Useless for Most Marketers

"Just use the official API" is advice you'll hear constantly. Here's why it doesn't work for commercial ad research.

Meta Ad Library API: What You Get vs. What You NeedWhat the API Returns~Ad ID and basic text~Active/inactive status~Political ad spend ranges~EU demographic breakdowns~Snapshot URLs (no images)What Marketers Actually NeedActual ad images and videosPerformance metrics (CTR, ROAS)Audience targeting detailsCommercial US ad dataHistorical creative archive

Geographic and Ad Type Restrictions

Ad TypeAPI AccessRetention
Political/Issue Ads (Global)Full access7 years (since 2018)
All Ads (EU/UK)Available1 year only
Commercial Ads (US)Not available
Ad Images/VideosNot returned

For the vast majority of marketers researching ecommerce, DTC, or B2B competitor ads running in the US — the API is essentially useless. It doesn't return ad images. It doesn't show commercial ad data. And it requires identity verification with government ID just to get started.

The API Reality:

"The Ad Library's API won't return information such as ad assets, advertiser info, etc. You have to fetch them from the ad archive, and that requires a full browser to execute the archive tool's JavaScript-heavy pages." — Swipekit analysis

Why Every Ad Library Scraper Eventually Breaks

Even though scraping is legally defensible, it's an arms race you're destined to lose. Meta has more engineers than any scraping tool has customers.

How Meta Breaks Scrapers:

  • Obfuscated class names: Instead of ad-card, you get x1lliihq — and these change with every deployment
  • Decoy elements: The word "Sponsored" is packed with hidden decoy letters invisible to users but visible to bots
  • IP monitoring: Aggressive rate limiting and behavioral pattern detection
  • Regular DOM changes: Meta deploys production updates every few weeks, breaking CSS selectors
  • CAPTCHA walls: Triggered when automated behavior is detected

Real User Complaints:

  • "The classes are random! How can you extract the data when class names change every time?" — n8n community forum
  • "Request failed and reached maximum retries. Error: Blocked from Searching or Viewing the Ad Library" — Apify issue tracker
  • "I ended up using an external paid tool" — Developer who gave up on DIY

The paid scraping tools ($99–$149/month) face the exact same problems. They just throw more engineering resources at the cat-and-mouse game. When they break — and they do, regularly — you're paying for a tool that doesn't work.

Three Ways to Get Ad Library Data</>Official APIPolitical ads onlyNo images returnedID verification requiredLimited</>Browser ScrapingBreaks every few weeksMeta fights scrapers actively$99-149/mo for paid toolsFragileSmart Research ToolsFree competitor researchSave ads to swipe filesRecreate with AI instantlyRecommended

Free Competitor Intelligence — No Scraping Required

AdMakeAI's competitor research tool lets you discover, save, and analyze competitor ads for free. No scrapers to maintain. No TOS to worry about. Just enter your website URL and let AI find your competitors' ads.

What the Ad Library Won't Tell You (Even If You Scrape It)

Here's the uncomfortable truth that scraper companies don't advertise: even perfect scraping can't give you the data that actually matters.

Data That Doesn't Exist in the Ad Library:

  • CTR (Click-Through Rate) — No scraper can see this
  • ROAS (Return on Ad Spend) — Only the advertiser knows
  • CPA (Cost Per Acquisition) — Impossible to access
  • Actual ad spend — Only shown for political ads
  • Audience targeting — Hidden (except EU demographic ranges)
  • Conversion data — Never exposed

The single best proxy for ad performance is longevity. An ad running for 60, 90, or 120 days is almost certainly profitable — businesses don't keep spending on losing ads. And you can see that for free, right in the Ad Library, without scraping anything.

Industry Research: Beauty, Ecommerce, and Beyond

Different industries use the Ad Library in different ways. Here are the patterns that actually work — no scraper needed.

Beauty & Skincare

Beauty brands dominate Facebook and Instagram advertising, with median ROAS of 1.57x–1.78x for cosmetics. The winning creative strategies are identifiable through manual Ad Library research:

  • UGC-style content outperforms polished studio shots — a 70/30 split favoring UGC often works best
  • "Thumb stoppers" — visuals that make users pause while scrolling mobile
  • Before/after transformations (where platform policies allow)
  • Creator partnerships — search creator account names to see which brands they're running ads for

Beauty Research Tip:

Search for product category keywords like "vitamin C serum" or "retinol moisturizer" instead of brand names. This reveals how the entire market is positioning, not just one competitor.

DTC Ecommerce

For ecommerce brands, the Ad Library research workflow is straightforward:

  1. Search for competitor brand names to see every ad they're running
  2. Filter by "Active" to focus on current campaigns
  3. Look for the oldest active ads — these are proven winners
  4. Note the format (video vs. static vs. carousel), hook style, and offer type
  5. Check weekly to spot new campaigns and seasonal shifts

The most successful DTC advertisers don't just research — they act fast. The gap between finding a winning competitor ad and launching your own version is where most people stall. That's exactly the problem AdMakeAI solves for free.

The Better Approach: Research Without Scraping

The market is shifting. Instead of spending hours maintaining scrapers, smart marketers are using AI tools that let them go from "I found a winning ad" to "I have my own version" in under 60 seconds.

Here's what that workflow looks like with AdMakeAI — and it's completely free to start:

The Free AdMakeAI Research Workflow:

  1. Enter your website URL — Our AI discovers your competitors and scrapes their active ads automatically
  2. Browse competitor ads — See what your competitors are running, organized and searchable
  3. Save to swipe files — Build organized collections of winning ads for inspiration
  4. Create similar ads from winning layouts — Upload any ad, AI extracts the structure and psychology
  5. Generate your own version — Your product, your message, same psychological hooks

The Scraping Approach:

  • $99–149/month for tools that break
  • Hours troubleshooting broken scrapers
  • TOS gray area anxiety
  • Data dump with no actionable workflow
  • Still need a designer to create ads

The AdMakeAI Approach:

  • Free competitor research
  • AI-powered competitor discovery
  • No TOS issues — we handle the data
  • Save, organize, and act on insights
  • Generate ads directly from research

Frequently Asked Questions

Is scraping the Facebook Ad Library allowed by Meta's Terms of Service?

Meta's TOS prohibit automated data collection by users. However, a January 2024 federal court ruling (Meta v. Bright Data) established that logged-off scraping of public data is not governed by Meta's TOS, because the TOS only applies to account holders actively using Meta's products. Meta waived its right to appeal this ruling.

Can Meta sue me for scraping the Ad Library?

Based on current legal precedent, Meta would have a very weak case against logged-out scraping of publicly accessible Ad Library data. However, if you scrape while logged into a Meta account, the TOS likely applies and Meta would have stronger legal standing. Meta can also implement technical countermeasures (IP blocking, rate limiting) without needing legal action.

Does the official Meta Ad Library API return commercial ad data?

No. The API only returns political/social cause ads globally, and all ad types for EU/UK markets (with a 1-year retention limit). For commercial US ads — what most marketers care about — the API returns nothing. It also doesn't return actual ad images or videos, only snapshot URLs that require JavaScript execution.

What's the best free alternative to scraping the Ad Library?

The Ad Library itself is free and doesn't require login. For organized competitor research, AdMakeAI's competitor research tool is free and automatically discovers your competitors' ads, lets you save them to swipe files, and enables you to recreate winning layouts with AI.

How do beauty brands use the Ad Library for research?

Beauty brands typically search by product category keywords (e.g., "vitamin C serum") to see market positioning, track creator partnerships by searching influencer account names, and identify winning formats — particularly UGC-style content which outperforms polished studio shots at roughly a 70/30 ratio.

Research Competitors for Free. No Scraping Needed.

Discover what your competitors are running, save the winners to organized swipe files, and recreate them with your branding — all from one free tool. Skip the TOS headaches entirely.

Free competitor research included with every account

Related Resources

Ready to Create Winning Ads?

Join marketers using AI to research competitors and create high-converting ads