Facebook: Meta Ads Library Search

Fetch Search Ads Pages (POST)

This endpoint retrieves detailed information about ad pages based on a search query, returning up to 26 ads per request. Use the end_cursor parameter to retrieve additional ads if needed.

post/v1/data/facebook/fetch_search_ads_pages

Request

  • Base URL: https://api.superagnt.com
  • URL: https://api.superagnt.com/v1/data/facebook/fetch_search_ads_pages
  • Auth: API key in header Authorization

Request body

querystring

Search query string

ad_page_idstring

Facebook Ad Page ID. Used only if query is not provided.

countrystring

Country filter (e.g. ALL, US, GB)

activeStatusstring

Filter by active status (e.g. ALL, ACTIVE, INACTIVE)

end_cursorstring

Pagination cursor for next page of results

after_timestring

Filter ads created after this time

before_timestring

Filter ads created before this time

sort_datastring

Sort order for results

Response

Successful response

object required

Changes

No recorded changes to this operation across all 1 revision of this API.