Video: OpenRTB example
Hosts are placeholders; the example uses OpenRTB 2.6 unless stated otherwise. Fields are described in the specification.
Request
json
{
"at": 1,
"badv": [
"blocked-brand.example"
],
"bcat": [
"IAB25",
"IAB26"
],
"cur": [
"USD"
],
"device": {
"devicetype": 2,
"ip": "203.0.113.10",
"language": "de",
"os": "Windows",
"ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36"
},
"id": "req-video-1",
"imp": [
{
"bidfloor": 2,
"bidfloorcur": "USD",
"id": "1",
"tagid": "zone-video-outstream",
"video": {
"h": 360,
"linearity": 1,
"maxduration": 30,
"mimes": [
"video/mp4"
],
"minduration": 5,
"playbackmethod": [
6
],
"plcmt": 4,
"protocols": [
2,
3,
5,
6,
7,
8
],
"skip": 1,
"skipafter": 5,
"startdelay": 0,
"w": 640
}
}
],
"site": {
"cat": [
"IAB12"
],
"domain": "publisher.example",
"id": "site-1",
"page": "https://publisher.example/news/article-1",
"publisher": {
"ext": {
"subid": "sub-42"
},
"id": "pub-1"
}
},
"tmax": 300,
"user": {
"id": "u-789"
}
}Response
json
{
"id": "req-video-1",
"seatbid": [
{
"bid": [
{
"id": "6d1e0c3a-2222-4b3c-8d4e-000000000001",
"impid": "1",
"price": 3.1,
"adid": "2001",
"nurl": "https://notify.example.com/wn?id=6d1e0c3a-2222-4b3c-8d4e-000000000001&t=tk-notice&price=${AUCTION_PRICE}",
"burl": "https://notify.example.com/bn?id=6d1e0c3a-2222-4b3c-8d4e-000000000001&t=tk-notice&price=${AUCTION_PRICE}",
"adm": "<VAST version=\"4.0\"><Ad id=\"2001\"><Wrapper><AdSystem>DSP</AdSystem><Error><![CDATA[https://notify.example.com/ve?id=6d1e0c3a-2222-4b3c-8d4e-000000000001&t=tk-event&event_type=error&errorcode=[ERRORCODE]]]></Error><Impression id=\"0\"><![CDATA[https://notify.example.com/imp?id=6d1e0c3a-2222-4b3c-8d4e-000000000001&t=tk-imp]]></Impression><Creatives><Creative id=\"2001\"><Linear><TrackingEvents><Tracking event=\"start\"><![CDATA[https://notify.example.com/ve?event_type=start&id=6d1e0c3a-2222-4b3c-8d4e-000000000001&t=tk-event]]></Tracking><Tracking event=\"firstQuartile\"><![CDATA[https://notify.example.com/ve?event_type=firstQuartile&id=6d1e0c3a-2222-4b3c-8d4e-000000000001&t=tk-event]]></Tracking><Tracking event=\"midpoint\"><![CDATA[https://notify.example.com/ve?event_type=midpoint&id=6d1e0c3a-2222-4b3c-8d4e-000000000001&t=tk-event]]></Tracking><Tracking event=\"thirdQuartile\"><![CDATA[https://notify.example.com/ve?event_type=thirdQuartile&id=6d1e0c3a-2222-4b3c-8d4e-000000000001&t=tk-event]]></Tracking><Tracking event=\"complete\"><![CDATA[https://notify.example.com/ve?event_type=complete&id=6d1e0c3a-2222-4b3c-8d4e-000000000001&t=tk-event]]></Tracking><Tracking event=\"skip\"><![CDATA[https://notify.example.com/ve?event_type=skip&id=6d1e0c3a-2222-4b3c-8d4e-000000000001&t=tk-event]]></Tracking></TrackingEvents></Linear></Creative></Creatives><VASTAdTagURI><![CDATA[https://notify.example.com/vast?creative_id=c2001&id=6d1e0c3a-2222-4b3c-8d4e-000000000001&t=tk-event]]></VASTAdTagURI></Wrapper></Ad></VAST>",
"adomain": [
"advertiser.example"
],
"cid": "601",
"crid": "2001",
"cat": [
"IAB3"
],
"protocol": 8,
"w": 640,
"h": 360,
"langb": "de",
"dur": 15,
"mtype": 2
}
],
"seat": "77"
}
],
"cur": "USD"
}The newest Wrapper in protocols is 8, so the response is VAST Wrapper 4.0 with protocol: 8.