Search Meta Ad Library
meta_search_ad_librarySearch the Meta Ad Library to find ads from any advertiser. Access ad creatives, spend, impressions, demographics, and targeting without needing an ad account.
Instructions
Searches the Meta Ad Library for ads from any advertiser. This is a transparency tool — no ad account access needed.
Args:
ad_reached_countries (string[]): Required. ISO country codes where ads were shown (e.g., ["US", "GB"])
search_terms (string, optional): Keywords to search ad text
search_page_ids (string[], optional): Specific Page IDs to search
ad_type (string): ALL, POLITICAL_AND_ISSUE_ADS, HOUSING_ADS, EMPLOYMENT_ADS, CREDIT_ADS (default: ALL)
ad_active_status (string): ALL, ACTIVE, INACTIVE (default: ALL)
ad_delivery_date_min (string, optional): Min delivery date YYYY-MM-DD
ad_delivery_date_max (string, optional): Max delivery date YYYY-MM-DD
limit (number): Max results (1–100, default 25)
after (string, optional): Pagination cursor
Returns: Ad creatives, spend ranges, impressions, demographics, and targeting info.
Note: Requires a valid access token but does NOT require ad account ownership.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ad_reached_countries | Yes | ISO country codes (e.g., ["US"]) | |
| search_terms | No | Keywords to search | |
| search_page_ids | No | Page IDs to filter by | |
| ad_type | No | ALL | |
| ad_active_status | No | ALL | |
| ad_delivery_date_min | No | Min delivery date YYYY-MM-DD | |
| ad_delivery_date_max | No | Max delivery date YYYY-MM-DD | |
| limit | No | ||
| after | No | ||
| response_format | No | Output format: 'markdown' for human-readable or 'json' for machine-readable | markdown |