Arguments
Store filters apply to the store that runs the ad. Here,query matches ad copy, Facebook page names, and store names.
A range is an object
{ "min": number, "max": number }. Both bounds are optional and must be zero or more, except for traffic_growth_pct. Every argument is optional: with no filters, you get the same default ranking as the dashboard.
Ad-specific arguments:
recommended is the dashboard default: one ad per store, stores with the most active ads first. reach and traffic rank by the store’s traffic, and revenue by the store’s revenue.
Example
Active video ads that started since August 24, 2026, from stores in the Beauty niche:Tool call
Result (trimmed)
Result fields
pagination.mode is grouped_by_shop when results show one ad per store (with sort_by: "recommended"), and then pagination.matching_shops counts the stores. Otherwise it is flat. As with search_shops, an empty result with an app or store creation date filter includes a notice. If the page exceeds 64 KiB, the last items are dropped and the result includes "truncated": true.