Ad Rules

Preview an ad rule

Changed on

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.

post/v1/ads/rules/{ruleId}/preview

Request

  • Base URL
    https://zernio.com/api
  • URL
    https://zernio.com/api/v1/ads/rules/{ruleId}/preview
  • Auth
    HTTP bearer

Path parameters

ruleIdstring required

Response

Evaluation

evaluatedAtstring date-time required
todaystring date required

The ad account's calendar date the windows were resolved against.

timezonestring required

IANA timezone of the ad account.

timezoneAssumedboolean required

True when the ad account has no known timezone and UTC was assumed.

currencystring nullable required
matchedinteger required

How many objects meet every condition.

Changes

    • info

      added subschema #1 subschema #2 to the //////// response property anyOf list for the response status

    • info

      removed the clicks enum value from the //////// response property for the response status

    • info

      removed the conversions enum value from the //////// response property for the response status

    • info

      removed the cpa enum value from the //////// response property for the response status

    • info

      removed the cpc enum value from the //////// response property for the response status

    • info

      removed the cpm enum value from the //////// response property for the response status

    • info

      removed the ctr enum value from the //////// response property for the response status

    • info

      removed the frequency enum value from the //////// response property for the response status

    • info

      removed the impressions enum value from the //////// response property for the response status

    • info

      removed the reach enum value from the //////// response property for the response status

    • info

      removed the roas enum value from the //////// response property for the response status

    • info

      removed the spend enum value from the //////// response property for the response status

    • warning

      added the new frequency enum value to the //////// response property for the response status

    • warning

      added the new reach enum value to the //////// response property for the response status