Search ad library
Search ads by keyword and optional advertiser, returning creative copy, CTA, landing/media URLs, run dates, runtime and available database details without saving, favoriting, generating or changing anything. Inspect up to 20 ad IDs within the original keyword and current search window; unmatched_ids means not in this window, and detail_link is null because Explore exposes dialogs rather than ad-specific URLs. Returns 20 search records by default (maximum 50); reuse next_cursor within ten minutes with the same inputs to continue and de-duplicate by ID if list_changed is true; HTTP results explicitly mark applied-query and correction status unknown when the API does not echo them.
Input
querystringrequiredResult
adslist of objectshas_morebooleannext_cursorstring or nullquery_statestringlist_changedbooleanapplied_brandstring or nullapplied_querystring or nullinspected_idslist of stringstotal_resultsinteger or nullunmatched_idslist of stringsquery_correctedboolean or nullsubmitted_querystringdetail_link_notestringsearch_window_countintegernext_cursor_expires_atstring or nullnext_cursor_unavailablestring