Build an Ad Library URL
ad_library_urlGenerate a browser-ready Facebook Ad Library URL from your search filters. Open the same query in a browser to verify results independently and distinguish no results from blocked access.
Instructions
Turn a set of filters into the public Ad Library URL, so a person can open the same search in a browser and check the results independently. Useful when a search comes back empty and you need to tell 'no results' apart from 'blocked'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Keyword to search for. | |
| country | No | Two-letter country code. Default US. | |
| page_id | No | Advertiser Page ID, instead of a keyword. | |
| media_type | No | ||
| active_status | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes |