github.com/prebid/prebid-server/v2@v2.18.0/exchange/exchangetest/multi-bids-with-extra-bids.json (about) 1 { 2 "multiBid": {}, 3 "incomingRequest": { 4 "ortbRequest": { 5 "id": "some-request-id", 6 "site": { 7 "page": "test.somepage.com" 8 }, 9 "imp": [ 10 { 11 "id": "my-imp-id", 12 "video": { 13 "mimes": [ 14 "video/mp4" 15 ] 16 }, 17 "ext": { 18 "prebid": { 19 "bidder": { 20 "pubmatic": { 21 "publisherId": 5890 22 }, 23 "appnexus": { 24 "placementId": 1 25 } 26 } 27 } 28 } 29 }, 30 { 31 "id": "imp-id-2", 32 "video": { 33 "mimes": [ 34 "video/mp4" 35 ] 36 }, 37 "ext": { 38 "prebid": { 39 "bidder": { 40 "pubmatic": { 41 "publisherId": 5890 42 }, 43 "appnexus": { 44 "placementId": 1 45 } 46 } 47 } 48 } 49 } 50 ], 51 "ext": { 52 "prebid": { 53 "targeting": { 54 "includewinners": true, 55 "includebidderkeys": true, 56 "pricegranularity": { 57 "precision": 2, 58 "ranges": [ 59 { 60 "min": 0, 61 "max": 20, 62 "increment": 0.1 63 } 64 ] 65 } 66 }, 67 "alternatebiddercodes": { 68 "enabled": true, 69 "bidders": { 70 "pubmatic": { 71 "enabled": true, 72 "allowedbiddercodes": [ 73 "groupm" 74 ] 75 } 76 } 77 }, 78 "multibid": [ 79 { 80 "bidder": "pubmatic", 81 "maxbids": 2, 82 "targetbiddercodeprefix": "pubm" 83 }, 84 { 85 "bidders": [ 86 "appnexus", 87 "groupm" 88 ], 89 "maxbids": 2 90 } 91 ] 92 } 93 } 94 } 95 }, 96 "outgoingRequests": { 97 "pubmatic": { 98 "expectRequest": { 99 "ortbRequest": { 100 "id": "some-request-id", 101 "site": { 102 "page": "test.somepage.com" 103 }, 104 "imp": [ 105 { 106 "id": "my-imp-id", 107 "video": { 108 "mimes": [ 109 "video/mp4" 110 ] 111 }, 112 "ext": { 113 "bidder": { 114 "publisherId": 5890 115 } 116 } 117 }, 118 { 119 "id": "imp-id-2", 120 "video": { 121 "mimes": [ 122 "video/mp4" 123 ] 124 }, 125 "ext": { 126 "bidder": { 127 "publisherId": 5890 128 } 129 } 130 } 131 ], 132 "ext": { 133 "prebid": { 134 "alternatebiddercodes": { 135 "enabled": true, 136 "bidders": { 137 "pubmatic": { 138 "enabled": true, 139 "allowedbiddercodes": [ 140 "groupm" 141 ] 142 } 143 } 144 }, 145 "multibid": [ 146 { 147 "bidder": "pubmatic", 148 "maxbids": 2, 149 "targetbiddercodeprefix": "pubm" 150 }, 151 { 152 "bidders": [ 153 "groupm" 154 ], 155 "maxbids": 2 156 } 157 ] 158 } 159 } 160 } 161 }, 162 "mockResponse": { 163 "pbsSeatBids": [ 164 { 165 "pbsBids": [ 166 { 167 "ortbBid": { 168 "id": "winning-bid", 169 "impid": "my-imp-id", 170 "price": 0.71, 171 "w": 200, 172 "h": 250, 173 "crid": "creative-1" 174 }, 175 "bidType": "video", 176 "bidMeta": { 177 } 178 }, 179 { 180 "ortbBid": { 181 "id": "losing-bid", 182 "impid": "my-imp-id", 183 "price": 0.21, 184 "w": 200, 185 "h": 250, 186 "crid": "creative-2" 187 }, 188 "bidType": "video", 189 "bidMeta": { 190 } 191 }, 192 { 193 "ortbBid": { 194 "id": "other-bid", 195 "impid": "imp-id-2", 196 "price": 0.61, 197 "w": 300, 198 "h": 500, 199 "crid": "creative-3" 200 }, 201 "bidType": "video", 202 "bidMeta": { 203 } 204 }, 205 { 206 "ortbBid": { 207 "id": "contending-bid", 208 "impid": "my-imp-id", 209 "price": 0.51, 210 "w": 200, 211 "h": 250, 212 "crid": "creative-4" 213 }, 214 "bidType": "video", 215 "bidMeta": { 216 } 217 } 218 ], 219 "seat": "pubmatic" 220 } 221 ] 222 } 223 }, 224 "appnexus": { 225 "expectRequest": { 226 "ortbRequest": { 227 "id": "some-request-id", 228 "site": { 229 "page": "test.somepage.com" 230 }, 231 "imp": [ 232 { 233 "id": "my-imp-id", 234 "video": { 235 "mimes": [ 236 "video/mp4" 237 ] 238 }, 239 "ext": { 240 "bidder": { 241 "placementId": 1 242 } 243 } 244 }, 245 { 246 "id": "imp-id-2", 247 "video": { 248 "mimes": [ 249 "video/mp4" 250 ] 251 }, 252 "ext": { 253 "bidder": { 254 "placementId": 1 255 } 256 } 257 } 258 ], 259 "ext": { 260 "prebid": { 261 "alternatebiddercodes": { 262 "enabled": true, 263 "bidders": null 264 }, 265 "multibid": [ 266 { 267 "bidders": [ 268 "appnexus" 269 ], 270 "maxbids": 2 271 } 272 ] 273 } 274 } 275 } 276 }, 277 "mockResponse": { 278 "pbsSeatBids": [ 279 { 280 "pbsBids": [ 281 { 282 "ortbBid": { 283 "id": "apn-bid", 284 "impid": "my-imp-id", 285 "price": 0.3, 286 "w": 200, 287 "h": 500, 288 "crid": "creative-a-1" 289 }, 290 "bidType": "banner", 291 "bidMeta": { 292 } 293 }, 294 { 295 "ortbBid": { 296 "id": "apn-bid-2", 297 "impid": "my-imp-id", 298 "price": 0.3, 299 "w": 200, 300 "h": 500, 301 "crid": "creative-a-2" 302 }, 303 "bidType": "banner", 304 "bidMeta": { 305 } 306 } 307 ], 308 "seat": "appnexus" 309 } 310 ] 311 } 312 } 313 }, 314 "response": { 315 "bids": { 316 "id": "some-request-id", 317 "seatbid": [ 318 { 319 "seat": "pubmatic", 320 "bid": [ 321 { 322 "id": "winning-bid", 323 "impid": "my-imp-id", 324 "price": 0.71, 325 "w": 200, 326 "h": 250, 327 "crid": "creative-1", 328 "ext": { 329 "origbidcpm": 0.71, 330 "prebid": { 331 "meta": { 332 }, 333 "type": "video", 334 "targeting": { 335 "hb_bidder": "pubmatic", 336 "hb_bidder_pubmatic": "pubmatic", 337 "hb_cache_host": "www.pbcserver.com", 338 "hb_cache_host_pubmat": "www.pbcserver.com", 339 "hb_cache_path": "/pbcache/endpoint", 340 "hb_cache_path_pubmat": "/pbcache/endpoint", 341 "hb_pb": "0.70", 342 "hb_pb_pubmatic": "0.70", 343 "hb_size": "200x250", 344 "hb_size_pubmatic": "200x250" 345 }, 346 "targetbiddercode": "pubmatic" 347 } 348 } 349 }, 350 { 351 "id": "losing-bid", 352 "impid": "my-imp-id", 353 "price": 0.21, 354 "w": 200, 355 "h": 250, 356 "crid": "creative-2", 357 "ext": { 358 "origbidcpm": 0.21, 359 "prebid": { 360 "meta": { 361 }, 362 "type": "video" 363 } 364 } 365 }, 366 { 367 "id": "other-bid", 368 "impid": "imp-id-2", 369 "price": 0.61, 370 "w": 300, 371 "h": 500, 372 "crid": "creative-3", 373 "ext": { 374 "origbidcpm": 0.61, 375 "prebid": { 376 "meta": { 377 }, 378 "type": "video", 379 "targeting": { 380 "hb_bidder": "pubmatic", 381 "hb_bidder_pubmatic": "pubmatic", 382 "hb_cache_host": "www.pbcserver.com", 383 "hb_cache_host_pubmat": "www.pbcserver.com", 384 "hb_cache_path": "/pbcache/endpoint", 385 "hb_cache_path_pubmat": "/pbcache/endpoint", 386 "hb_pb": "0.60", 387 "hb_pb_pubmatic": "0.60", 388 "hb_size": "300x500", 389 "hb_size_pubmatic": "300x500" 390 }, 391 "targetbiddercode": "pubmatic" 392 } 393 } 394 }, 395 { 396 "id": "contending-bid", 397 "impid": "my-imp-id", 398 "price": 0.51, 399 "w": 200, 400 "h": 250, 401 "crid": "creative-4", 402 "ext": { 403 "origbidcpm": 0.51, 404 "prebid": { 405 "meta": { 406 }, 407 "type": "video", 408 "targeting": { 409 "hb_bidder_pubm2": "pubm2", 410 "hb_cache_host_pubm2": "www.pbcserver.com", 411 "hb_cache_path_pubm2": "/pbcache/endpoint", 412 "hb_pb_pubm2": "0.50", 413 "hb_size_pubm2": "200x250" 414 }, 415 "targetbiddercode": "pubm2" 416 } 417 } 418 } 419 ] 420 }, 421 { 422 "seat": "appnexus", 423 "bid": [ 424 { 425 "id": "apn-bid", 426 "impid": "my-imp-id", 427 "price": 0.3, 428 "w": 200, 429 "h": 500, 430 "crid": "creative-a-1", 431 "ext": { 432 "origbidcpm": 0.3, 433 "prebid": { 434 "meta": { 435 }, 436 "targetbiddercode": "appnexus", 437 "type": "banner", 438 "targeting": { 439 "hb_bidder_appnexus": "appnexus", 440 "hb_cache_host_appnex": "www.pbcserver.com", 441 "hb_cache_path_appnex": "/pbcache/endpoint", 442 "hb_pb_appnexus": "0.20", 443 "hb_size_appnexus": "200x500" 444 } 445 } 446 } 447 }, 448 { 449 "id": "apn-bid-2", 450 "impid": "my-imp-id", 451 "price": 0.3, 452 "w": 200, 453 "h": 500, 454 "crid": "creative-a-2", 455 "ext": { 456 "origbidcpm": 0.3, 457 "prebid": { 458 "meta": { 459 }, 460 "type": "banner" 461 } 462 } 463 } 464 ] 465 } 466 ] 467 } 468 } 469 }