Details

Smaato's VAST video capabilities are currently running on VAST Version 2.0 as detailed by the IAB's OpenRTB 2.2 specifications.

Instream/Interstitial Bid Request

{
 "app":{
	 "cat":["IAB14"],
	 "id":"1001000",
	 "name":"Facebook Event",
	 "publisher":{
		 "id":"900000001",
		 "name":"Facebook Event"
	 }
 },
 "at":2,
 "bcat":["IAB7-28", "IAB17-18", "IAB26", "IAB25", "IAB24", "IAB9-9", "IAB7-42", "IAB23"],
 "device":{
	 "carrier":"310-004",
	 "connectiontype":0,
	 "devicetype":1,
	 "dnt":0,
	 "ifa":"F585B1EF-D543-4F9C-A39F-A204BD9C1E33",
     "didsha1":"03791cf87e352da6434e4d964f54f0f64db933aa",
     "didmd5":"68b329da9893e34099c7d8ad5cb9c940",
     "dpisha1":"bfc523f83fa54a19e7b2d8bdf8acd687a09fba09",
	 "dpimd5":"223632c428784fecaaa3e2a6aaaf6d8e",
	 "geo":{
		 "country":"USA",
 		 "type":3
	 },
	 "ip":"46.211.129.201",
	 "js":0,
	 "make":"Apple",
	 "model":"iPhone",
	 "os":"iOS",
	 "osv":"5.0",
	 "ua":"Mozilla/5.0 (iPhone; U; CPU iPhone OS 5_1_1 like Mac OS X; da-dk) AppleWebKit/534.46.0 (KHTML, like Gecko) CriOS/19.0.1084.60Mobile/9B206 Safari/7534.48.3"
 },
 "ext":{
 	"carriername":"unknown - probably WLAN",
 	"coppa":0,
 	"operaminibrowser":0,
 	"udi":{
        "atuid":"edc22bd4-aa58-f32a-63b7-8c7fcadfb1b7",
        "idfa":"F585B1EF-D543-4F9C-A39F-A204BD9C1E33",
        "idfatracking":1
    }
 },
 "id":"9xMuXkrL8v",
 "imp":[{
 	"displaymanager":"SOMA",
 	"id":"1",
	 "instl":0,
	 "video":{
		 "linearity":1,
		 "maxduration":18000,
		 "mimes":["video/mp4", "video/3gpp"],
		 "minduration":0,
		 "protocol":2
	 }
 }
 ],
 "regs": {
    "coppa": 0,
    "ext": {
      "gdpr": 1
    }
  },
  "user": {
    "ext": {
      "consent": "BONZC5sONZC5sAAABAENAAoAAAAFIgAAAAAAAAAAAAI"
    },
    "gender": "M",
    "yob": 1976
  }
}

Outstream Bid Request

{
 "app":{
	 "cat":["IAB14"],
	 "id":"1001000",
	 "name":"Facebook Event",
	 "publisher":{
		 "id":"900000001",
		 "name":"Facebook Event"
	 }
 },
 "at":2,
 "bcat":["IAB7-28", "IAB17-18", "IAB26", "IAB25", "IAB24", "IAB9-9", "IAB7-42", "IAB23"],
 "device":{
	 "carrier":"310-004",
	 "connectiontype":0,
	 "devicetype":1,
	 "dnt":0,
	 "ifa":"F585B1EF-D543-4F9C-A39F-A204BD9C1E33",
     "didsha1":"03791cf87e352da6434e4d964f54f0f64db933aa",
     "didmd5":"68b329da9893e34099c7d8ad5cb9c940",
     "dpisha1":"bfc523f83fa54a19e7b2d8bdf8acd687a09fba09",
	 "dpimd5":"223632c428784fecaaa3e2a6aaaf6d8e",
	 "geo":{
		 "country":"USA",
 		 "type":3
	 },
	 "ip":"46.211.129.201",
	 "js":0,
	 "make":"Apple",
	 "model":"iPhone",
	 "os":"iOS",
	 "osv":"5.0",
	 "ua":"Mozilla/5.0 (iPhone; U; CPU iPhone OS 5_1_1 like Mac OS X; da-dk) AppleWebKit/534.46.0 (KHTML, like Gecko) CriOS/19.0.1084.60Mobile/9B206 Safari/7534.48.3"
 },
 "ext":{
 	"carriername":"unknown - probably WLAN",
 	"coppa":0,
 	"operaminibrowser":0,
 	"udi":{
        "atuid":"edc22bd4-aa58-f32a-63b7-8c7fcadfb1b7",
        "idfa":"F585B1EF-D543-4F9C-A39F-A204BD9C1E33",
        "idfatracking":1
    }
 },
 "id":"9xMuXkrL8v",
 "imp":[{
 	"displaymanager":"SOMA",
 	"id":"1",
	 "instl":0,
	 "video":{
		 "linearity":1,
		 "maxduration":18000,
		 "mimes":["video/mp4", "video/3gpp"],
		 "minduration":0,
		"protocol":2,
         "ext": {
               "outstream": 1
            }
	 }
 }
 ],
 "regs": {
    "coppa": 0,
    "ext": {
      "gdpr": 1
    }
  },
  "user": {
    "ext": {
      "consent": "BONZC5sONZC5sAAABAENAAoAAAAFIgAAAAAAAAAAAAI"
    },
    "gender": "M",
    "yob": 1976
  }
}

Rewarded Bid Request

{
 "app":{
	 "cat":["IAB14"],
	 "id":"1001000",
	 "name":"Facebook Event",
	 "publisher":{
		 "id":"900000001",
		 "name":"Facebook Event"
	 }
 },
 "at":2,
 "bcat":["IAB7-28", "IAB17-18", "IAB26", "IAB25", "IAB24", "IAB9-9", "IAB7-42", "IAB23"],
 "device":{
	 "carrier":"310-004",
	 "connectiontype":0,
	 "devicetype":1,
	 "dnt":0,
	 "ifa":"F585B1EF-D543-4F9C-A39F-A204BD9C1E33",
     "didsha1":"03791cf87e352da6434e4d964f54f0f64db933aa",
     "didmd5":"68b329da9893e34099c7d8ad5cb9c940",
     "dpisha1":"bfc523f83fa54a19e7b2d8bdf8acd687a09fba09",
	 "dpimd5":"223632c428784fecaaa3e2a6aaaf6d8e",
	 "geo":{
		 "country":"USA",
 		 "type":3
	 },
	 "ip":"46.211.129.201",
	 "js":0,
	 "make":"Apple",
	 "model":"iPhone",
	 "os":"iOS",
	 "osv":"5.0",
	 "ua":"Mozilla/5.0 (iPhone; U; CPU iPhone OS 5_1_1 like Mac OS X; da-dk) AppleWebKit/534.46.0 (KHTML, like Gecko) CriOS/19.0.1084.60Mobile/9B206 Safari/7534.48.3"
 },
 "ext":{
 	"carriername":"unknown - probably WLAN",
 	"coppa":0,
	"outstream":1,
 	"operaminibrowser":0,
 	"udi":{
        "atuid":"edc22bd4-aa58-f32a-63b7-8c7fcadfb1b7",
        "idfa":"F585B1EF-D543-4F9C-A39F-A204BD9C1E33",
        "idfatracking":1
    }
 },
 "id":"9xMuXkrL8v",
 "imp":[{
 	"displaymanager":"SOMA",
 	"id":"1",
	 "instl":0,
	 "video":{
		 "linearity":1,
		 "maxduration":18000,
		 "mimes":["video/mp4", "video/3gpp"],
		 "minduration":0,
		 "protocol":2,
		 "ext": {
               "rewarded": 1
             }
	 }
 }
 ],
 "regs": {
    "coppa": 0,
    "ext": {
      "gdpr": 1
    }
  },
  "user": {
    "ext": {
      "consent": "BONZC5sONZC5sAAABAENAAoAAAAFIgAAAAAAAAAAAAI"
    },
    "gender": "M",
    "yob": 1976
  }
}

Video Object Description

instl: denotes that the video ad will be shown as an interstitial.
video: the video object containing the following request details:

linearity: indicates whether the ad will be shown in a linear (i.e. pre- or midroll) or non-linear (i.e. overlay) fashion. (1 = Linear, 2 = Non-linear)
maxduration: indicates the maximum allowed video duration for this request.
mimes: indicates which video formats a publisher supports
minduration: indicates the minimum allowed video duration for this request. 
protocol: indicates the supported VAST video version.

Bid Response

{
 "id":"vast-response",
 "seatbid":[
 {
 "seat":"vast_seat1",
"bid":[
 {
 "impid":"1",
 "price":10.051027,
 "id":"vast_seat1-bid1",
 "adm":"<VAST version=\"2.0\">
			<Ad id=\"preroll-1\"modelVersion=\"0.9\">
				<InLine>
					<AdSystem>2.0</AdSystem>
					<AdTitle>5773100</AdTitle>
					<Creatives>
						<Creative>	
							<Linear>
								<Duration>00:00:15</Duration>
								<MediaFiles>
									<MediaFile height=\"360\" width=\"640\" type=\"video/mp4\">http://soma.smaato.com/video.mp4</MediaFile>
								</MediaFiles>
							</Linear>
						</Creative>
						<Creative>
							<CompanionAds>
								<Companion height=\"250\" width=\"300\" id=\"573242\">
									<HTMLResource>
										<![CDATA[
											<A href=\"http://www.smaato.com\" target=\"_blank\"><IMG SRC=\"http://soma.smaato-ads.com/image.jpg\" ALT=\"Click Here\" /></A>
											<img src=\"http://soma.smaato.com/beacon\" height=\"1\" width=\"1\" />]]>
									</HTMLResource>
									</Companion>
							</CompanionAds>
						</Creative>
					</Creatives>
				</InLine>
			</Ad>
		</VAST>",
 "adomain":[
 "http://www.smaato.com"
 ],
 "crid":"16969426",
 "cid":"2445",
 "iurl":"http://www.smaato.com"
 }
 ]
 }
 ]
}
   

ADM Object Description

In accordance with the IAB, the ADM object should contain a plain VAST XML tag as shown in the OpenRTB 2.2 specifications and the VAST XML Schema Definitions.