github.com/prebid/prebid-server/v2@v2.18.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          "impIDs":["ComboADMVideoWithBannerImp1","ComboNurlVideoWithBannerImp2"]
   126        },
   127        "mockResponse": {
   128          "status": 200,
   129  
   130          "body": [
   131            {
   132              "crid": "crid_1",
   133              "price": 2.942808,
   134              "w": 300,
   135              "h": 250,
   136              "slot": "div-gpt-ad-1460505748561-0",
   137              "adm": "<div id=\"44861168\"><script>!function(){console.log\"Hello, ad.\";}();<\/script><\/div>"
   138            },
   139            {
   140              "crid": "crid_1",
   141              "price": 2.942808,
   142              "w": 300,
   143              "h": 250,
   144              "slot": "div-gpt-ad-1460505748561-0",
   145              "adm": "<div id=\"44861168\"><script>!function(){console.log\"Hello, ad.\";}();<\/script><\/div>"
   146            }
   147          ]
   148        }
   149      },
   150      {
   151        "expectedRequest": {
   152          "uri": "https://qa.beachrtb.com/bid.json?exchange_id=videoAppId1",
   153          "body": {
   154            "id":"two-four-combo",
   155            "imp":[
   156              {
   157                "id":"ComboADMVideoWithBannerImp1",
   158                "video":{
   159                  "mimes":[
   160                    "video/mp4"
   161                  ],
   162                  "w":300,
   163                  "h":400
   164                },
   165                "bidfloor":1.02,
   166                "bidfloorcur": "USD",
   167                "secure":0
   168              }
   169            ],
   170            "site":{
   171              "domain":"example.com",
   172              "page":"http://example.com/whatever/something.html"
   173            },
   174            "device":{
   175              "devicetype": 2,
   176              "ip":"255.255.255.255"
   177            },
   178            "cur":[
   179              "USD"
   180            ]
   181          },
   182          "impIDs":["ComboADMVideoWithBannerImp1"]
   183        },
   184        "mockResponse": {
   185          "status": 200,
   186          "body": {
   187            "id":"two-four-combo",
   188            "seatbid":[
   189              {
   190                "bid":[
   191                  {
   192                    "id":"5fe7ad26d49d461ab0544836",
   193                    "impid":"ComboADMVideoWithBannerImp1",
   194                    "price":2.5500002,
   195                    "adm": "<VAST version=\"2.0\"><Ad><Wrapper>http://example.com/vast.xml</Wrapper></Ad></VAST>",
   196                    "adid":"22873",
   197                    "adomain":[
   198                      "nintendo.com"
   199                    ],
   200                    "cid":"6095",
   201                    "crid":"0",
   202                    "cat":[
   203                      "IAB9-30"
   204                    ],
   205                    "w":300,
   206                    "h":400,
   207                    "ext":{
   208                      "duration":30
   209                    }
   210                  }
   211                ],
   212                "seat":"bfb-io-s1"
   213              }
   214            ],
   215            "bidid":"5fe7ad26d49d461ab0544836",
   216            "cur":"USD"
   217          }
   218        }
   219      },
   220      {
   221        "expectedRequest":  {
   222          "uri": "https://qa.beachrtb.com/bid.json?exchange_id=videoAppId1&prebidserver",
   223          "body": {
   224            "isPrebid":true,
   225            "id":"two-four-combo",
   226            "imp":[
   227              {
   228                "id":"ComboNurlVideoWithBannerImp2",
   229                "video":{
   230                  "mimes":[
   231                    "video/mp4"
   232                  ],
   233                  "w":100,
   234                  "h":150
   235                },
   236                "bidfloor":1.01,
   237                "bidfloorcur": "USD",
   238                "secure":0
   239              }
   240            ],
   241            "site":{
   242              "domain":"example.com",
   243              "page":"http://example.com/whatever/something.html"
   244            },
   245            "device":{
   246              "devicetype": 2,
   247              "ip":"255.255.255.255"
   248            },
   249            "cur":[
   250              "USD"
   251            ]
   252          },
   253          "impIDs":["ComboNurlVideoWithBannerImp2"]
   254        },
   255        "mockResponse": {
   256          "status": 200,
   257          "body": {
   258            "id":"two-four-combo",
   259            "seatBid":[
   260              {
   261                "bid":[
   262                  {
   263                    "id":"ComboNurlVideoWithBannerImp2",
   264                    "price":2.4700302,
   265                    "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",
   266                    "w":300,
   267                    "h":400
   268                  }
   269                ]
   270              }
   271            ]
   272          }
   273        }
   274      }
   275    ],
   276    "expectedBidResponses": [
   277        {"currency":"USD","bids":[
   278          {"bid": {
   279              "adm": "<div id=\"44861168\"><script>!function(){console.log\"Hello, ad.\";}();</script></div>",
   280              "crid": "crid_1",
   281              "h": 250,
   282              "id": "div-gpt-ad-1460505748561-0Banner",
   283              "impid": "div-gpt-ad-1460505748561-0",
   284              "price": 2.942808,
   285              "w": 300
   286          }, "type": "banner"},
   287          {"bid": {
   288              "adm": "<div id=\"44861168\"><script>!function(){console.log\"Hello, ad.\";}();</script></div>",
   289              "crid": "crid_1",
   290              "h": 250,
   291              "id": "div-gpt-ad-1460505748561-0Banner",
   292              "impid": "div-gpt-ad-1460505748561-0",
   293              "price": 2.942808,
   294              "w": 300
   295          }, "type": "banner"}
   296        ]},
   297        {"currency":"USD","bids":[
   298          {
   299            "bid": {
   300              "adid": "22873",
   301              "adomain": ["nintendo.com"],
   302              "id": "ComboADMVideoWithBannerImp1AdmVideo",
   303              "impid": "ComboADMVideoWithBannerImp1",
   304              "price": 2.5500002,
   305              "adm": "<VAST version=\"2.0\"><Ad><Wrapper>http://example.com/vast.xml</Wrapper></Ad></VAST>",
   306              "cat":["IAB9-30"],
   307              "cid": "6095",
   308              "crid": "0",
   309              "w": 300,
   310              "h": 400,
   311              "ext": {
   312                "duration": 30
   313              }
   314            },
   315            "type": "video"
   316          }
   317        ]},
   318        {"currency":"USD","bids":[
   319          {
   320            "bid": {
   321                "crid": "747f49a2-7a15-40bd-a43f-b8576eaa0368",
   322              "id": "ComboNurlVideoWithBannerImp2NurlVideo",
   323              "impid": "ComboNurlVideoWithBannerImp2",
   324              "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",
   325              "price": 2.4700302,
   326              "w": 100,
   327              "h": 150
   328            },
   329            "type": "video"
   330          }
   331        ]}
   332    ]
   333  }