Video Object¶
Note
Fields marked with an asterisk (*) are optional.
Value |
Type |
Description |
---|---|---|
mimes |
array of strings |
Content MIME types supported. Note: For Google bids all the specified MIME type media files are
required in the VAST response, for example,
|
minduration |
integer |
Minimum video ad duration in seconds, for example, |
maxduration |
integer |
Maximum video ad duration in seconds, for example, |
linearity* |
integer |
Indicates if the impression must be linear or nonlinear, for
example,
This corresponds to the required type of VAST response, where a linear response is VAST containing video assets, and non-linear is a VAST response (typically) containing a banner/overlay. Whether a placement is instream, out-stream, etc. For that, see placement. |
placement* |
integer |
Placement type for the impression, for example
To be considered In-stream, impressions must be set to Sound On by default at start. “Sound On” by default must be signaled within the playbackmethod field. Values of All impressions with Default Sound Off ( |
playbackend* |
integer |
The event that causes playback to end, for example
|
protocols |
array of integers |
Accepted video bid response protocols as defined in OpenRTB,
for example |
pos* |
integer |
Ad Position as defined in OpenRTB, for example |
w* |
integer |
Width of the player in pixels, for example, |
h* |
integer |
Height of the player in pixels, for example |
startdelay* |
integer |
Indicates the start delay in seconds. If the start delay value is greater than 0, then the position is mid-roll and the value indicates the start delay.
|
battr* |
array of integers |
Blocked creative attributes as defined in OpenRTB,
for example, |
minbitrate* |
integer |
Minimum bit rate in Kbps, for example |
maxbitrate* |
integer |
Maximum bit rate in Kbps, for example |
api* |
array of integers |
List of supported API frameworks for this impression as defined in
OpenRTB, for example, |
maxextended* |
integer |
Maximum extended video ad duration if extension is allowed.
|
boxingallowed* |
integer |
Indicates if letter-boxing of 4:3 content into a 16:9 window is allowed:
|
playbackmethod* |
array of integers |
Allowed playback methods as defined in the OpenRTB, for example
|
delivery* |
array of integers |
Supported delivery methods (e.g., streaming, progressive) as defined
in OpenRTB. If none specified, assume all are supported,
for example, |
sequence* |
integer |
If multiple ad impressions are offered in the same bid request,
the sequence number will allow for the coordinated delivery of
multiple creatives, for example, |
companionad* |
object array |
Array of Banner objects if companion ads are available. See the Banner Object section for more information. |
companiontype* |
array of integers |
List of allowed companion ad types, for example
|
ext* |
object |
See the Video Ext Object section |
skip* |
integer |
Indicates if the player will allow the video to be skipped, where 0 = no, 1 = yes. |
skipmin* |
integer |
Videos of a total duration greater than this value (seconds) can be skippable; only applicable if the ad is skippable. |
skipafter* |
integer |
Number of seconds a video must play before skipping is enabled; only applicable if the ad is skippable. |
Video Ext Object¶
Value |
Type |
Description |
---|---|---|
skippable* |
integer |
Indicates whether the video ad may be skippable (i.e. contain a skip button). The values are:
|
player_type* |
integer |
Video player type based on detected player size:
|
outstream* |
integer |
Indicates that the video is outstream, for example |
rewarded* |
integer |
Indicates whether the ad is being rendered as part of a rewarded / incentivised user experience, where:
|
vast_url_rq* |
integer |
Used to specify if the
|
Video Object Example¶
{
"id":"1",
"bidfloor":0.03,
"video":{
"w":640,
"h":480,
"pos":1,
"startdelay":0,
"minduration":5,
"maxduration":30,
"maxextended":30,
"minbitrate":300,
"maxbitrate":1500,
"skip":1,
"api":[
1,
2
],
"protocols":[
2,
3
],
"mimes":[
"video/x-flv",
"video/mp4",
"application/x-shockwave-flash",
"application/javascript"
],
"linearity":1,
"boxingallowed":1,
"playbackmethod":[
1,
3
],
"delivery":[
2
],
"battr":[
13,
14
],
"companionad":[
{
"id":"1234567893-1",
"w":300,
"h":250,
"pos":1,
"battr":[
13,
14
],
"expdir":[
2,
4
]
},
{
"id":"1234567893-2",
"w":728,
"h":90,
"pos":1,
"battr":[
13,
14
]
}
],
"companiontype":[
1,
2
]
"ext":{
"rewarded": 1
}
}
}