Facebook Ad Search
/facebook.ads_searchSearch the Meta Ad Library by keyword and get matching ads (advertiser, creative text, CTA, platforms, and run dates) with cursor pagination. `active` is the Ad Library status when the search ran; an ad can stop after that. On an active row `endDate` is not a stop date: every active row carries the same value, a recent midnight US Pacific time, so it equals `startDate` only for an ad that launched that day. `startDate` / `endDate` as inputs filter the dates the ad delivered (impressions), not the day it launched, and grouped results can still hold ads that started earlier: check each row's `startDate` yourself when you need a launch window. `country` is a loose filter: rows can be for adver…
What to tell it
Say these in your message. Your AI agent fills them in when it runs the tool.
- QueryNeededKeyword to search the Meta Ad Library for (e.g. "protein powder").
- CursorOptionalOpaque pagination cursor from a previous response's nextCursor. Pages can overlap: a page may repeat items an earlier page returned and is billed like any othe…
- CountryOptionalTwo-letter country code to scope results. Omit for all countries.
- Ad typeOptionalRestrict to all ads (default) or only political and issue ads.One of all, political_and_issue_ads
- RouteOptionalUpstream source to run on; omit for "lemur". tiger ($0.00105 per call); lemur ($0.0011 per call, 99.2% uptime); giraffe ($0.0012 per call, 99.7% uptime); dolph…One of tiger, lemur, giraffe, dolphin, fox
- End dateOptionalFilter to ads with impressions on or before this date, in YYYY-MM-DD format.
- Search typeOptionalMatch mode for the query: loose keyword match (keyword_unordered, the default) or exact phrase (keyword_exact_phrase).One of keyword_unordered, keyword_exact_phrase
- Media typeOptionalCreative media type filter.One of ALL, IMAGE, VIDEO, MEME, IMAGE_AND_MEME, NONE
- Sort byOptionalSort order: impressions (highest first, the default) or recent (most recent).One of impressions, recent
- Start dateOptionalFilter to ads with impressions on or after this date, in YYYY-MM-DD format.
- StatusOptionalAd status filter.One of ALL, ACTIVE, INACTIVE
Use it in chat
Paste this in chat with what you need, or type @ and pick it. Your AI agents also use it on their own when the work needs it.
@anyapi:/facebook.ads_search