v1

latestOpenAPI 3.1.02026-07-2616636641.7 KB

Update Priority

This API call updates an existing priority using the Priority ID. The user is unable to update the PriorityID or the SelectionAlgorithm.

put/v1/priority/{PriorityID}

Path parameters

priorityIdinteger required

The Priority's ID

Request body

idinteger required

The Priority's ID

channelIdinteger required

The Channel's ID

namestring required

Friendly name of Priority

weightinteger required

The priority order within the channel. 1-100, 1 is highest priority

isDeletedboolean

If want to delete, set to true

secondPriceGroupBystring

Sets whether ads in a second-priced auction should not second price against the same: advertiser, campaign, flight, or ad. Default is null, which is equivalent to advertiser. Can only be set when IsSecondPricing is true

Response

200

idinteger
namestring
channelIdinteger
weightinteger
isDeletedboolean
selectionAlgorithminteger

Example response

{
  "id": 98765,
  "name": "High Priority",
  "channelId": 12345,
  "weight": 10
}