V2 > Ad

Creates a new ad.

post/1/vod/channel/{channel}/player/{player}/ad

Path parameters

channelinteger required

The Channel unique identifier

playerinteger required

The Player unique identifier

Request body

player_idinteger required

<br/>This field must exist on the players database in the id column.

urlstring

<br/>This domain name must have a valid A or AAAA record.

mimetypestring
hrefstring

<br/>This domain name must have a valid A or AAAA record.

typestring required
offsetnumber

<br/>This field must be present and not empty if the type field is equal to any of the following:mid_roll

skip_afternumber
tracking_idstring

Response

Created

result'success' | 'error' | 'asynchronous' required

Result of the HTTP request

Example response

{
  "result": "success"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.