Search Ads Library
Searches the public Facebook Ads Library by advertiser or keyword, filtered by country and active or inactive status.
facebook.ads-library.search
/execute
Shared execution endpoint
Input parameters
active_status
string
optional
Only active ads (default), only inactive ads, or both Allowed values: `active`, `inactive`, `all`. Default: `active`.
active
country
string
optional
Two-letter country code where the ads ran, or ALL Default: `ALL`.
US
limit
integer
optional
Maximum number of ads to return From 1 to 100. Default: `20`.
20
query
string
required
Advertiser name or keyword to search in the Facebook Ads Library Default: `Meta AI`.
Meta AI
Response
Successful output is returned in results[0].data.
Raw platform output is intentionally open-ended and may evolve with the upstream source.
Illustrative output fields
Values illustrate one response. Read the guidance above for missing values and limits; fields can vary with the requested operation and the data available.
| Path | Observed type | Example |
|---|---|---|
items |
array |
3 items |
items |
array |
3 items |
summary |
object |
1 fields |
summary.total_items |
integer |
20 |
Execution behavior
A 200 response completed inline. A 202 response was queued; poll
GET /jobs/:id until the job reaches completed or
failed.