List ads that need attention
Lists what needs attention across your ads, most severe first:
- ads created in the last 90 days that were rejected
- campaigns the platform reports delivery issues on
- Meta ad accounts with a failed or overdue payment, or disabled while holding live ads
- campaigns that spent on 3 or more of the last 7 days without a result (conversion, lead, purchase or conversation goals)
- budgets spent to their daily cap yesterday
- ads connections that need reconnecting while they still hold live ads
- ad accounts whose sync has been failing
Built from stored data and the last 7 days of synced metrics, so it costs no platform call.
Each alert has a stable id. Dismiss one with POST /v1/ads/alerts/{alertId}/dismiss to hide it for 30 days.
Authentication
API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
Query parameters
OptionalOnly alerts of this ads connection (sibling-expanded like /v1/ads/tree). Omit for every ad account the API key can reach.
Only alerts of the ads connections on this profile. Omit for every profile the API key can reach.
falseAlso return dismissed alerts, with dismissed: true.
Responses
Success· the request worked
Errors· the request failed
Review status of each creative in a TikTok Smart+ ad
Shows which Spark post, video or carousel of an Upgraded Smart+ ad TikTok approved or rejected, with every rejection reason, keyed by the TikTok post id for a Spark post. It reads TikTok's `/smart_plus/ad/review_info/` live (read-only, works on a paused ad) for the Smart+ ad that holds `adId`. It returns the ad-level verdict plus one entry per creative. ### Which ad is read `adId` may be the Smart+ ad itself or any creative of it synced as its own ad. Zernio finds the Smart+ ad in the ad's ad group through `/smart_plus/ad/get/`, and uses the ad group's only Smart+ ad when no creative list names the ad. ### Creative fields `materialType`, `tiktokItemId`, `videoId`, `name` and `operationStatus` come from the Smart+ ad's `creative_list`. Some entries come back with the review verdict and null descriptive fields: - creatives TikTok added on its own, which it leaves out of that list (creator content, authorized TikTok posts, Creative Library content) - each image of a carousel, which TikTok lists under its own material id TikTok returns no review timestamp; `readAt` is when Zernio read it. ### Quota and caching TikTok's review endpoint has a strict quota of its own (TikTok documents neither the quota nor its scope). One TikTok call reads the review of the live Smart+ ads of the ad group, up to 50 creatives in total (TikTok refuses more). Each review is stored per connection, advertiser and Smart+ ad. A review read in the last 10 minutes is served from the store, so sibling ads are answered without a TikTok call and `readAt` can be up to 10 minutes old. An older one is read again. Read reviews when you need them instead of sweeping every ad on a loop. ### Over quota When TikTok answers over quota, Zernio returns 429. It then answers 429 for that advertiser and connection without calling TikTok: - for about 60 seconds at first - then 120, and up to 240, while TikTok keeps refusing - about 60 again after a successful call Each pause has up to 10% of random jitter, with the time left as `Retry-After`. Reviews read in the last 10 minutes are still served.
Rank ads by performance
Returns an ads account's ads ranked by spend, impressions, clicks, results or ROAS over a date range, each with its creative (type, thumbnail, headline, body, link) and campaign. Use it to see which creatives perform best. `accountId` is sibling-expanded like `/v1/ads/timeline`. Money is ranked by its raw amount, so pass `adAccountId` when the connection's ad accounts bill in different currencies. A Meta range older than the imported history answers `202` with `backfillPending: true` and the covered part; repeat the request until it returns 200.