Adlibrary › Search › Ads
Returns Facebook Ad Library ads matching a keyword, each with its creative text, images, sponsor info, and running status.
Use it to find ads across all advertisers by keyword; if you already know the advertiser, adlibrary/company/ads is more direct.
50 credits per call.
Paginates by cursor: see Pagination.
Request
- Base URL: https://api.insightsocial.app
- URL: https://api.insightsocial.app/v1/facebook/adlibrary/search/ads
- Auth: API key in header x-api-key
Query parameters
Search keyword or phrase to find ads in the Facebook Ad Library
Sort by impressions (high to low), or Most Recent (relevancy_monthly_grouped). Defaults to impressions.
If you want to search by exact phrase or not
Search for all ads or only political and issue ads
This can only be one country. It has to be the 2 letter code for the country. It defaults to ALL.
Status of the ad. Defaults to ACTIVE.
Media type of the ad: ALL (default), IMAGE, VIDEO, MEME (an image with text on it), IMAGE_AND_MEME or NONE.
Impressions start date. Needs to be in YYYY-MM-DD format.
Impressions end date. Needs to be in YYYY-MM-DD format.
Cursor to paginate through results
Set to true for a lighter record with fewer fields.
Set to 1 to get the price of this call without making it: data.dry_run carries credits_min and credits_max. Nothing is charged.
Response
Success.
Changes
No recorded changes to this operation across all 1 revision of this API.