github.com/prebid/prebid-server/v2@v2.18.0/adapters/jixie/jixietest/exemplary/banner-and-video-site.json (about)

     1  {
     2      "mockBidRequest": {
     3        "id": "some_test_auction",
     4        "imp": [{
     5          "id": "some_test_ad_id_1",
     6          "banner": {
     7            "format": [{
     8              "w": 300,
     9              "h": 100
    10            }, {
    11              "w": 300,
    12              "h": 600
    13            }],
    14            "w": 300,
    15            "h": 100
    16          },
    17          "ext": {
    18            "bidder": {
    19              "unit": "1000008-AbCdEf1234"
    20            }
    21          }
    22        },
    23        {
    24          "id": "some_test_ad_id_2",
    25          "banner": {
    26            "format": [{
    27              "w": 300,
    28              "h": 50
    29            }],
    30            "w": 300,
    31            "h": 50
    32          },
    33          "ext": {
    34            "bidder": {
    35              "unit": "1000008-AbCdEf2345"
    36            }
    37          }
    38        },
    39        {
    40          "id": "some_test_ad_id_3",
    41          "video":{
    42              "mimes": [
    43                "video/mp4",
    44                "application/javascript"
    45              ],
    46              "protocols":[
    47                 2,
    48                 3,
    49                 5,
    50                 6
    51              ],
    52              "w":640,
    53              "h":480
    54          },
    55          "ext": {
    56            "bidder": {
    57              "unit": "1000008-AbCdEf3456"
    58            }
    59          }
    60        }
    61      ],
    62        "device": {
    63          "ua": "Mozilla/5.0 (Linux; Android 8.0.0; SM-G960F Build/R16NW) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.84 Mobile Safari/537.36",
    64          "ip": "111.222.333.444"
    65        },
    66        "site": {
    67          "domain": "www.publisher.com",
    68          "page": "http://www.publisher.com/today/site?param1=a&param2=b"
    69        }
    70      },
    71    
    72      "httpCalls": [{
    73        "expectedRequest": {
    74          "uri": "https://hb.jixie.io/v2/hbsvrpost",
    75          "headers": {
    76            "Accept": [
    77              "application/json"
    78            ],
    79            "Content-Type": [
    80              "application/json;charset=utf-8"
    81            ],
    82            "X-Forwarded-For": [
    83              "111.222.333.444"
    84            ],
    85            "Referer": [
    86              "http://www.publisher.com/today/site?param1=a&param2=b"
    87            ],
    88            "User-Agent": [
    89              "Mozilla/5.0 (Linux; Android 8.0.0; SM-G960F Build/R16NW) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.84 Mobile Safari/537.36"
    90            ]
    91          },
    92          "body": {
    93            "id": "some_test_auction",
    94            "imp": [{
    95              "id": "some_test_ad_id_1",
    96              "banner": {
    97                "format": [{
    98                  "w": 300,
    99                  "h": 100
   100                },{
   101                  "w": 300,
   102                  "h": 600
   103                }],
   104                "w": 300,
   105                "h": 100
   106              },
   107              "ext": {
   108                "bidder": {
   109                  "unit": "1000008-AbCdEf1234"
   110                }
   111              }
   112            },
   113            {
   114              "id": "some_test_ad_id_2",
   115              "banner": {
   116                "format": [{
   117                  "w": 300,
   118                  "h": 50
   119                }],
   120                "w": 300,
   121                "h": 50
   122              },
   123              "ext": {
   124                "bidder": {
   125                  "unit": "1000008-AbCdEf2345"
   126                }
   127              }
   128            },
   129            {
   130              "id": "some_test_ad_id_3",
   131              "video":{
   132                  "mimes": [
   133                    "video/mp4",
   134                    "application/javascript"
   135                  ],
   136                  "protocols":[
   137                     2,
   138                     3,
   139                     5,
   140                     6
   141                  ],
   142                  "w":640,
   143                  "h":480
   144              },
   145              "ext": {
   146                "bidder": {
   147                  "unit": "1000008-AbCdEf3456"
   148                }
   149              }
   150            }],
   151            "site": {
   152              "domain": "www.publisher.com",
   153              "page": "http://www.publisher.com/today/site?param1=a&param2=b"
   154            },
   155            "device": {
   156              "ua": "Mozilla/5.0 (Linux; Android 8.0.0; SM-G960F Build/R16NW) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.84 Mobile Safari/537.36",
   157              "ip": "111.222.333.444"
   158            }
   159          },
   160          "impIDs":["some_test_ad_id_1","some_test_ad_id_2","some_test_ad_id_3"]
   161        },
   162        "mockResponse": {
   163          "status": 200,
   164          "body": {
   165            "id": "some_test_auction",
   166            "seatbid": [{
   167                "seat": "12356",
   168                "bid": [{
   169                  "adm": "<div id=\"jxoutstream-dcc0ca9c6591\" style=\"width: 100%;\"> <script type=\"text/javascript\" src=\"https://creatives.b-cdn.net/js/hbrenderer.min.js\" defer=\"\"></script> <script> var p ={ responsive: 1, nested: 1, maxwidth: 640,  container: \"jxoutstream-dcc0ca9c6591\", jsoncreativeobj64: \"eyJ0ZXN0dmFyIjoxMjN9\"}; function jxdefer(p) { if (window.jxhbuniversal) { window.jxhbuniversal.hbinit(p); } else { setTimeout(function() { jxdefer(p) }, 100); } } jxdefer(p); </script> </div>",
   170                  "id": "some_test_ad_id_1",
   171                  "impid": "some_test_ad_id_1",
   172                  "ttl": 300,
   173                  "crid": "94395500",
   174                  "w": 300,
   175                  "price": 2.942808,
   176                  "adid": "94395500",
   177                  "h": 250
   178                }]
   179            },
   180            {
   181              "seat": "45678",
   182              "bid": [{
   183                "adm": "<VAST xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"vast.xsd\" version=\"3.0\"><Ad id=\"JXAD953\"><InLine><AdSystem> JXADSERVER</AdSystem><AdTitle>DEMO</AdTitle><Description>in-stream</Description><Error><![CDATA[ https://tra.jixie.io/sync/ad?action=error ]]></Error><Impression><![CDATA[ https://tra.jixie.io/sync/ad?action=impression ]]></Impression><Creatives><Creative id=\"JXAD953\" sequence=\"1\"><Linear><Duration> 00:00:10</Duration><TrackingEvents><Tracking event=\"start\"><![CDATA[ https://tra.jixie.io/sync/ad?action=start ]]></Tracking><Tracking event=\"firstQuartil\"><![CDATA[ https://tra.jixie.io/sync/ad?action=firstQuartile ]]></Tracking><Tracking event=\"midpoint\"><![CDATA[ https://tra.jixie.io/sync/ad?action=midpoint ]]></Tracking><Tracking event=\"thirdQuartile\"><![CDATA[ https://tra.jixie.io/sync/ad?action=thirdQuartile ]]></Tracking><Tracking event=\"complete\"><![CDATA[ https://tra.jixie.io/sync/ad?action=complete ]]></Tracking></TrackingEvents><VideoClicks><ClickThrough><![CDATA[ https://tra.jixie.io/sync/ck?igr=1 ]]></ClickThrough><ClickTracking><![CDATA[ https://tra.jixie.io/sync/ad?action=click ]]></ClickTracking></VideoClicks><AdParameters><![CDATA[ {\"videos\": [{\"url\": \"https://creatives.b-cdn.net/80c8a13725c68736d9faf7e5858d51f1/230/798/motion_whitebanner _1_ _ Kislew Trily_240p.mp4\", \"width\": 426, \"height\": 240, \"bitrate\": 342, \"mimetype\": \"video/mp4\"}]}]]></AdParameters><MediaFiles><MediaFile apiFramework=\"VPAID\" type=\"application/javascript\"><![CDATA[ https://creatives.b-cdn.net/js/jxvpaid_1_0.min.js ]]></MediaFile></MediaFiles></Linear></Creative></Creatives></InLine></Ad></VAST>",
   184                "id": "some_test_ad_id_3",
   185                "impid": "some_test_ad_id_3",
   186                "ttl": 300,
   187                "crid": "9999999",
   188                "w": 640,
   189                "price": 1,
   190                "adid": "9999999",
   191                "h": 360
   192              }
   193            ]
   194          }],
   195            "cur": "USD"
   196        }
   197        }
   198      }],
   199    
   200      "expectedBidResponses": [{
   201        "currency": "USD",
   202        "bids": [{
   203          "bid": {
   204            "adm": "<div id=\"jxoutstream-dcc0ca9c6591\" style=\"width: 100%;\"> <script type=\"text/javascript\" src=\"https://creatives.b-cdn.net/js/hbrenderer.min.js\" defer=\"\"></script> <script> var p ={ responsive: 1, nested: 1, maxwidth: 640,  container: \"jxoutstream-dcc0ca9c6591\", jsoncreativeobj64: \"eyJ0ZXN0dmFyIjoxMjN9\"}; function jxdefer(p) { if (window.jxhbuniversal) { window.jxhbuniversal.hbinit(p); } else { setTimeout(function() { jxdefer(p) }, 100); } } jxdefer(p); </script> </div>",
   205            "id": "some_test_ad_id_1",
   206            "impid": "some_test_ad_id_1",
   207            "crid": "94395500",
   208            "w": 300,
   209            "price": 2.942808,
   210            "adid": "94395500",
   211            "h": 250
   212          },
   213          "type": "banner"
   214        },
   215        {
   216          "bid": {
   217            "adm": "<VAST xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"vast.xsd\" version=\"3.0\"><Ad id=\"JXAD953\"><InLine><AdSystem> JXADSERVER</AdSystem><AdTitle>DEMO</AdTitle><Description>in-stream</Description><Error><![CDATA[ https://tra.jixie.io/sync/ad?action=error ]]></Error><Impression><![CDATA[ https://tra.jixie.io/sync/ad?action=impression ]]></Impression><Creatives><Creative id=\"JXAD953\" sequence=\"1\"><Linear><Duration> 00:00:10</Duration><TrackingEvents><Tracking event=\"start\"><![CDATA[ https://tra.jixie.io/sync/ad?action=start ]]></Tracking><Tracking event=\"firstQuartil\"><![CDATA[ https://tra.jixie.io/sync/ad?action=firstQuartile ]]></Tracking><Tracking event=\"midpoint\"><![CDATA[ https://tra.jixie.io/sync/ad?action=midpoint ]]></Tracking><Tracking event=\"thirdQuartile\"><![CDATA[ https://tra.jixie.io/sync/ad?action=thirdQuartile ]]></Tracking><Tracking event=\"complete\"><![CDATA[ https://tra.jixie.io/sync/ad?action=complete ]]></Tracking></TrackingEvents><VideoClicks><ClickThrough><![CDATA[ https://tra.jixie.io/sync/ck?igr=1 ]]></ClickThrough><ClickTracking><![CDATA[ https://tra.jixie.io/sync/ad?action=click ]]></ClickTracking></VideoClicks><AdParameters><![CDATA[ {\"videos\": [{\"url\": \"https://creatives.b-cdn.net/80c8a13725c68736d9faf7e5858d51f1/230/798/motion_whitebanner _1_ _ Kislew Trily_240p.mp4\", \"width\": 426, \"height\": 240, \"bitrate\": 342, \"mimetype\": \"video/mp4\"}]}]]></AdParameters><MediaFiles><MediaFile apiFramework=\"VPAID\" type=\"application/javascript\"><![CDATA[ https://creatives.b-cdn.net/js/jxvpaid_1_0.min.js ]]></MediaFile></MediaFiles></Linear></Creative></Creatives></InLine></Ad></VAST>",
   218            "id": "some_test_ad_id_3",
   219            "impid": "some_test_ad_id_3",
   220            "crid": "9999999",
   221            "w": 640,
   222            "price": 1,
   223            "adid": "9999999",
   224            "h": 360
   225          },
   226          "type": "video"   
   227        }]
   228      }
   229    ]
   230  }
   231