Search public ads by keyword or advertiser
Changed onRequest
- Base URL: https://scrappa.co/api
- URL: https://scrappa.co/api/facebook-ad-library/search
- Auth: API key in header X-API-KEY
Query parameters
Keyword to search for in public ads. Either query or page_id is required.
Numeric advertiser page id. Either query or page_id is required.
Two-letter ISO country code to restrict the search to.
Ad category to filter by: ALL, POLITICAL_AND_ISSUE_ADS, CREDIT_ADS, FINANCIAL_PRODUCTS_AND_SERVICES_ADS, EMPLOYMENT_ADS, HOUSING_ADS or UNCATEGORIZED_ADS.
Creative format to filter by: ALL, IMAGE, MEME, IMAGE_AND_MEME, VIDEO or NONE.
Restrict to currently running ads (ACTIVE), stopped ads (INACTIVE) or both (ALL).
Restrict to ads placed on given platforms, such as facebook, instagram or audience_network. Pass the parameter more than once to allow several platforms.
Only return ads whose delivery started at or after this Unix timestamp in seconds.
Pagination cursor taken from the previous response.
Response
Changes
- info
for the
queryrequest parametercursor, the maxLength was increased from500to4096
- info