Ad Rules

List ready-made ad rules

Changed on

Common rules to start from: stop losers, scale winners, pause ads with no conversions, creative fatigue and spend spike alerts.

Each template is a complete rule body. Add name, accountId and adAccountId, adjust the thresholds to the ad account, and send it to POST /v1/ads/rules. Amounts are in the ad account currency. platforms lists the networks a template works on, or is null for all of them.

get/v1/ads/rules/templates

Request

  • Base URL
    https://zernio.com/api
  • URL
    https://zernio.com/api/v1/ads/rules/templates
  • Auth
    HTTP bearer

Response

The templates.

Example response

{
  "templates": [
    {
      "id": "stop_losers"
    }
  ]
}

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

    • info

      endpoint added