App Logo
facebook.com

Search the Meta (Facebook) Ad Library

Automatically search the Meta (Facebook) Ad Library on facebook.com. Search Meta's public Ad Library for ads running on Facebook, Instagram, Messenger and Threads, by keyword or by advertiser page, in one country or all. Returns each ad's library id and link, advertiser page, active status, start and end dates, platforms, ad text, headline, landing link, call to action, image and video links, and how many versions it has. No account needed.

Input

limit optional

Maximum ads to return (default 25, about one page). Above that, further pages are loaded; Facebook may rate-limit those from datacenter browsers.

query optional

Keyword or advertiser name to search for. Required unless pageId is given.

adType optional

Default all.

pageId optional

Numeric Facebook page id to list all ads of one advertiser (the pageId returned by this script).

country optional

2-letter ISO country code where the ads ran (e.g. FR, US), or ALL. Default ALL.

mediaType optional

Default all.

exactPhrase optional

Match the query as an exact phrase instead of any of its words.

activeStatus optional

Default active.

Output

ads required
count required
query optional
pageId optional
country optional
hasMore optional
totalApprox optional

Meta's own approximate result count.

activeStatus optional

FAQ

Search Meta's public Ad Library for ads running on Facebook, Instagram, Messenger and Threads, by keyword or by advertiser page, in one country or all. Returns each ad's library id and link, advertiser page, active status, start and end dates, platforms, ad text, headline, landing link, call to action, image and video links, and how many versions it has. No account needed.
Ask an AI agent connected to Reduck to run reduck/facebook.com/ads_library_search, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/facebook.com/ads_library_search
You do not need one. "Search the Meta (Facebook) Ad Library" drives the real facebook.com pages in a browser, so it works whether or not facebook.com offers an API for this.
Optional: limit, query, adType, pageId, country, mediaType, exactPhrase, activeStatus.
It returns ads, count, query, pageId, country, hasMore, totalApprox, activeStatus.
No. It only uses pages of facebook.com that are reachable without signing in.
It only reads. It looks things up on facebook.com and changes nothing there.
Ask an AI agent connected to Reduck to run reduck/facebook.com/ads_library_search, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/facebook.com/ads_library_search
It is part of Reduck's official curated catalogue.

Start building not clicking