github.com/prebid/prebid-server@v0.275.0/adapters/beachfront/beachfronttest/supplemental/two-four-combo.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "two-four-combo",
     4      "imp": [
     5        {
     6          "id": "ComboADMVideoWithBannerImp1",
     7          "ext": {
     8            "bidder": {
     9              "videoResponseType": "adm",
    10              "bidfloor": 1.02,
    11              "bidfloorcur": "USD",
    12              "appIds": {
    13                "banner": "bannerAppId1",
    14                "video": "videoAppId1"
    15              }
    16            }
    17          },
    18          "video": {
    19            "mimes": [
    20              "video/mp4"
    21            ],
    22            "w": 300,
    23            "h": 400
    24          },
    25          "banner": {
    26            "format": [
    27              {
    28                "w": 300,
    29                "h": 400
    30              }
    31            ]
    32          }
    33        },
    34        {
    35          "id": "ComboNurlVideoWithBannerImp2",
    36          "ext": {
    37            "bidder": {
    38              "videoResponsetype": "nurl",
    39              "bidfloor": 1.01,
    40              "bidfloorcur": "USD",
    41              "appIds": {
    42                "banner": "bannerAppId2",
    43                "video": "videoAppId1"
    44              }
    45            }
    46          },
    47          "video": {
    48            "mimes": [
    49              "video/mp4"
    50            ],
    51            "w": 100,
    52            "h": 150
    53          },
    54          "banner": {
    55            "format": [
    56              {
    57                "w": 100,
    58                "h": 150
    59              }
    60            ]
    61          }
    62        }
    63      ],
    64      "site": {
    65        "page": "http://example.com/whatever/something.html"
    66      },
    67      "device": {
    68        "ip": "255.255.255.255"
    69      }
    70    },
    71    "httpCalls": [
    72      {
    73        "expectedRequest": {
    74          "uri": "https://qa.beachrtb.com/prebid_display",
    75          "body": {
    76            "slots":[
    77              {
    78                "slot":"ComboADMVideoWithBannerImp1",
    79                "id":"bannerAppId1",
    80                "bidfloor":1.02,
    81                "sizes":[
    82                  {
    83                    "w":300,
    84                    "h":400
    85                  }
    86                ]
    87              },
    88              {
    89                "slot":"ComboNurlVideoWithBannerImp2",
    90                "id":"bannerAppId2",
    91                "bidfloor":1.01,
    92                "sizes":[
    93                  {
    94                    "w":100,
    95                    "h":150
    96                  }
    97                ]
    98              }
    99            ],
   100            "domain":"example.com",
   101            "page":"http://example.com/whatever/something.html",
   102            "real204": true,
   103            "referrer":"",
   104            "search":"",
   105            "secure":0,
   106            "deviceOs":"",
   107            "deviceModel":"",
   108            "isMobile":0,
   109            "ua":"",
   110            "dnt":0,
   111            "user":{
   112  
   113            },
   114            "adapterName":"BF_PREBID_S2S",
   115            "adapterVersion":"1.0.0",
   116            "ip":"255.255.255.255",
   117            "requestId":"two-four-combo",
   118            "schain": {
   119              "complete": 0,
   120              "nodes": null,
   121              "ver": ""
   122            }
   123  
   124          }
   125        },
   126        "mockResponse": {
   127          "status": 200,
   128  
   129          "body": [
   130            {
   131              "crid": "crid_1",
   132              "price": 2.942808,
   133              "w": 300,
   134              "h": 250,
   135              "slot": "div-gpt-ad-1460505748561-0",
   136              "adm": "<div id=\"44861168\"><script>!function(){console.log\"Hello, ad.\";}();<\/script><\/div>"
   137            },
   138            {
   139              "crid": "crid_1",
   140              "price": 2.942808,
   141              "w": 300,
   142              "h": 250,
   143              "slot": "div-gpt-ad-1460505748561-0",
   144              "adm": "<div id=\"44861168\"><script>!function(){console.log\"Hello, ad.\";}();<\/script><\/div>"
   145            }
   146          ]
   147        }
   148      },
   149      {
   150        "expectedRequest": {
   151          "uri": "https://qa.beachrtb.com/bid.json?exchange_id=videoAppId1",
   152          "body": {
   153            "id":"two-four-combo",
   154            "imp":[
   155              {
   156                "id":"ComboADMVideoWithBannerImp1",
   157                "video":{
   158                  "mimes":[
   159                    "video/mp4"
   160                  ],
   161                  "w":300,
   162                  "h":400
   163                },
   164                "bidfloor":1.02,
   165                "bidfloorcur": "USD",
   166                "secure":0
   167              }
   168            ],
   169            "site":{
   170              "domain":"example.com",
   171              "page":"http://example.com/whatever/something.html"
   172            },
   173            "device":{
   174              "devicetype": 2,
   175              "ip":"255.255.255.255"
   176            },
   177            "cur":[
   178              "USD"
   179            ]
   180          }
   181        },
   182        "mockResponse": {
   183          "status": 200,
   184          "body": {
   185            "id":"two-four-combo",
   186            "seatbid":[
   187              {
   188                "bid":[
   189                  {
   190                    "id":"5fe7ad26d49d461ab0544836",
   191                    "impid":"ComboADMVideoWithBannerImp1",
   192                    "price":2.5500002,
   193                    "adm": "<VAST version=\"2.0\"><Ad><Wrapper>http://example.com/vast.xml</Wrapper></Ad></VAST>",
   194                    "adid":"22873",
   195                    "adomain":[
   196                      "nintendo.com"
   197                    ],
   198                    "cid":"6095",
   199                    "crid":"0",
   200                    "cat":[
   201                      "IAB9-30"
   202                    ],
   203                    "w":300,
   204                    "h":400,
   205                    "ext":{
   206                      "duration":30
   207                    }
   208                  }
   209                ],
   210                "seat":"bfb-io-s1"
   211              }
   212            ],
   213            "bidid":"5fe7ad26d49d461ab0544836",
   214            "cur":"USD"
   215          }
   216        }
   217      },
   218      {
   219        "expectedRequest":  {
   220          "uri": "https://qa.beachrtb.com/bid.json?exchange_id=videoAppId1&prebidserver",
   221          "body": {
   222            "isPrebid":true,
   223            "id":"two-four-combo",
   224            "imp":[
   225              {
   226                "id":"ComboNurlVideoWithBannerImp2",
   227                "video":{
   228                  "mimes":[
   229                    "video/mp4"
   230                  ],
   231                  "w":100,
   232                  "h":150
   233                },
   234                "bidfloor":1.01,
   235                "bidfloorcur": "USD",
   236                "secure":0
   237              }
   238            ],
   239            "site":{
   240              "domain":"example.com",
   241              "page":"http://example.com/whatever/something.html"
   242            },
   243            "device":{
   244              "devicetype": 2,
   245              "ip":"255.255.255.255"
   246            },
   247            "cur":[
   248              "USD"
   249            ]
   250          }
   251        },
   252        "mockResponse": {
   253          "status": 200,
   254          "body": {
   255            "id":"two-four-combo",
   256            "seatBid":[
   257              {
   258                "bid":[
   259                  {
   260                    "id":"ComboNurlVideoWithBannerImp2",
   261                    "price":2.4700302,
   262                    "nurl":"https://useast.bfmio.com/getmu?aid=bid:747f49a2-7a15-40bd-a43f-b8576eaa0368:2096a4df-d32c-4b7b-b46c-f4b5d717327a:2.5500002:2.5500002&v=1&dsp=5fe7a6ab3f06cc571bf5c897,1.01&i_type=pre",
   263                    "w":300,
   264                    "h":400
   265                  }
   266                ]
   267              }
   268            ]
   269          }
   270        }
   271      }
   272    ],
   273    "expectedBidResponses": [
   274        {"currency":"USD","bids":[
   275          {"bid": {
   276              "adm": "<div id=\"44861168\"><script>!function(){console.log\"Hello, ad.\";}();</script></div>",
   277              "crid": "crid_1",
   278              "h": 250,
   279              "id": "div-gpt-ad-1460505748561-0Banner",
   280              "impid": "div-gpt-ad-1460505748561-0",
   281              "price": 2.942808,
   282              "w": 300
   283          }, "type": "banner"},
   284          {"bid": {
   285              "adm": "<div id=\"44861168\"><script>!function(){console.log\"Hello, ad.\";}();</script></div>",
   286              "crid": "crid_1",
   287              "h": 250,
   288              "id": "div-gpt-ad-1460505748561-0Banner",
   289              "impid": "div-gpt-ad-1460505748561-0",
   290              "price": 2.942808,
   291              "w": 300
   292          }, "type": "banner"}
   293        ]},
   294        {"currency":"USD","bids":[
   295          {
   296            "bid": {
   297              "adid": "22873",
   298              "adomain": ["nintendo.com"],
   299              "id": "ComboADMVideoWithBannerImp1AdmVideo",
   300              "impid": "ComboADMVideoWithBannerImp1",
   301              "price": 2.5500002,
   302              "adm": "<VAST version=\"2.0\"><Ad><Wrapper>http://example.com/vast.xml</Wrapper></Ad></VAST>",
   303              "cat":["IAB9-30"],
   304              "cid": "6095",
   305              "crid": "0",
   306              "w": 300,
   307              "h": 400,
   308              "ext": {
   309                "duration": 30
   310              }
   311            },
   312            "type": "video"
   313          }
   314        ]},
   315        {"currency":"USD","bids":[
   316          {
   317            "bid": {
   318                "crid": "747f49a2-7a15-40bd-a43f-b8576eaa0368",
   319              "id": "ComboNurlVideoWithBannerImp2NurlVideo",
   320              "impid": "ComboNurlVideoWithBannerImp2",
   321              "nurl": "https://useast.bfmio.com/getmu?aid=bid:747f49a2-7a15-40bd-a43f-b8576eaa0368:2096a4df-d32c-4b7b-b46c-f4b5d717327a:2.5500002:2.5500002&v=1&dsp=5fe7a6ab3f06cc571bf5c897,1.01&i_type=pre",
   322              "price": 2.4700302,
   323              "w": 100,
   324              "h": 150
   325            },
   326            "type": "video"
   327          }
   328        ]}
   329    ]
   330  }