List an ad rule's runs
Lists a rule's scheduled runs, newest first: what each run evaluated, matched and did.
Runs that changed something (or tried to) are kept permanently, also after the rule is deleted; runs that changed nothing are dropped after about 31 days.
For every change across all rules, use GET /v1/ads/rules/activity.
Authentication
API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
Path parameters
Query parameters
Optional200Responses
Success· the request worked
Errors· the request failed
Preview an ad rule
Evaluates a rule against current metrics and returns what it would match right now, without acting on anything, sending a webhook or starting a cooldown. Works on disabled rules.
Check whether an ad account has hourly windows
Hourly windows (`last_complete_hour`, `last_3h`, `today_so_far`) read campaign totals hour by hour, which Zernio syncs only for some Meta and Google ad accounts. A rule with an hourly condition is saved only on an ad account that has them: on any other, creating or editing it returns 400. `hourlyWindows` says which case applies.