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