The account's own ads with their metrics, ranked by sort_by and capped at limit rows. Ranking covers every ad in the window, so the top rows are the account's best on that metric — not just the best of an arbitrary page.
Each item carries a preview image URL and the same metric set as /summary. Use the returned platform_ad_id with GET /open/v1/ad-accounts/{account_id}/ads/{platform_ad_id} to drill into a single ad's creative + text copy.
Window: period accepts yesterday, last_7d, last_14d, last_30d, or custom with date_start / date_stop for a specific day or range. Windows are UTC days and the presets end yesterday. The most recent days are still settling — ad platforms keep revising conversion data for a while after a day closes — so figures for a day just ended are the least reliable, and the same day re-read later can differ.
Metrics: metrics is keyed by metric id, with metric_names giving each id's display name. Ids come from GET /open/v1/ad-accounts/{account_id}/metrics; pass them in metrics to add custom conversions, custom events and Atria custom metrics on top of the default set. null means no data for that metric in the window. Figures can differ slightly from the ad platform's own reporting.
Returns: code=0 success; code=40001 invalid query / path parameters or workspace context missing; code=40401 when the account does not exist or belongs to a different workspace; code=50001 when the upstream platform API is unavailable.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
