Create Priority

Note

IsSecondPricing can only be set to true for an Auction-type SelectionMethod of 1 or 3.

Note

If FloorPrice is not set, and IsSecondPricing is false, it will be set to null. If FloorPrice is not set, and IsSecondPricing is true, it will be set to $0.01.

Caution

Priorities may only be set on creation, and this field cannot be updated once set. Values include:

0 = Lottery 1 = Auction 2 = Adchain Ordered 3 = Adchain Optimized 4 = Lottery with Outbid

Fields

Example Request

curl -X POST -H "X-Adzerk-ApiKey:$ADZERK_API_KEY" -H "Content-Type:application/json" "https://api.kevel.co/v1/priority" --data-binary '{"Name":"High Priority","ChannelId":12345,"Weight":10,"IsDeleted":false,"SelectionAlgorithm":0}'

Example Response

{
  "id": 12345,
  "name": "High Priority",
  "channelId": 1234,
  "weight": 10,
  "isDeleted": false,
  "selectionAlgorithm": 0
}