github.com/prebid/prebid-server/v2@v2.18.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                                  }
   184                              },
   185                              {
   186                                  "ortbBid": {
   187                                      "id": "losing-bid",
   188                                      "impid": "my-imp-id",
   189                                      "price": 0.21,
   190                                      "w": 200,
   191                                      "h": 250,
   192                                      "crid": "creative-2"
   193                                  },
   194                                  "bidType": "video",
   195                                  "bidMeta": {
   196                                  }
   197                              },
   198                              {
   199                                  "ortbBid": {
   200                                      "id": "other-bid",
   201                                      "impid": "imp-id-2",
   202                                      "price": 0.61,
   203                                      "w": 300,
   204                                      "h": 500,
   205                                      "crid": "creative-3"
   206                                  },
   207                                  "bidType": "video",
   208                                  "bidMeta": {
   209                                  }
   210                              },
   211                              {
   212                                  "ortbBid": {
   213                                      "id": "contending-bid",
   214                                      "impid": "my-imp-id",
   215                                      "price": 0.51,
   216                                      "w": 200,
   217                                      "h": 250,
   218                                      "crid": "creative-4"
   219                                  },
   220                                  "bidType": "video",
   221                                  "bidMeta": {
   222                                  }
   223                              }
   224                          ],
   225                          "seat": "pubmatic"
   226                      }
   227                  ]
   228              }
   229          },
   230          "appnexus": {
   231              "expectRequest": {
   232                  "ortbRequest": {
   233                      "id": "some-request-id",
   234                      "site": {
   235                          "page": "test.somepage.com"
   236                      },
   237                      "imp": [
   238                          {
   239                              "id": "my-imp-id",
   240                              "video": {
   241                                  "mimes": [
   242                                      "video/mp4"
   243                                  ]
   244                              },
   245                              "ext": {
   246                                  "bidder": {
   247                                      "placementId": 1
   248                                  }
   249                              }
   250                          },
   251                          {
   252                              "id": "imp-id-2",
   253                              "video": {
   254                                  "mimes": [
   255                                      "video/mp4"
   256                                  ]
   257                              },
   258                              "ext": {
   259                                  "bidder": {
   260                                      "placementId": 1
   261                                  }
   262                              }
   263                          }
   264                      ]
   265                  }
   266              },
   267              "mockResponse": {
   268                  "pbsSeatBids": [
   269                      {
   270                          "pbsBids": [
   271                              {
   272                                  "ortbBid": {
   273                                      "id": "apn-bid",
   274                                      "impid": "my-imp-id",
   275                                      "price": 0.3,
   276                                      "w": 200,
   277                                      "h": 500,
   278                                      "crid": "creative-a-1"
   279                                  },
   280                                  "bidType": "banner",
   281                                  "bidMeta": {
   282                                  }
   283                              },
   284                              {
   285                                  "ortbBid": {
   286                                      "id": "apn-bid-2",
   287                                      "impid": "my-imp-id",
   288                                      "price": 0.3,
   289                                      "w": 200,
   290                                      "h": 500,
   291                                      "crid": "creative-a-2"
   292                                  },
   293                                  "bidType": "banner",
   294                                  "bidMeta": {
   295                                  }
   296                              }
   297                          ],
   298                          "seat": "appnexus"
   299                      }
   300                  ]
   301              }
   302          }
   303      },
   304      "response": {
   305          "bids": {
   306              "id": "some-request-id",
   307              "seatbid": [
   308                  {
   309                      "seat": "pubmatic",
   310                      "bid": [
   311                          {
   312                              "id": "winning-bid",
   313                              "impid": "my-imp-id",
   314                              "price": 0.71,
   315                              "w": 200,
   316                              "h": 250,
   317                              "crid": "creative-1",
   318                              "ext": {
   319                                  "origbidcpm": 0.71,
   320                                  "prebid": {
   321                                      "meta": {
   322                                      },
   323                                      "type": "video",
   324                                      "targeting": {
   325                                          "hb_bidder": "pubmatic",
   326                                          "hb_bidder_pubmatic": "pubmatic",
   327                                          "hb_cache_host": "www.pbcserver.com",
   328                                          "hb_cache_host_pubmat": "www.pbcserver.com",
   329                                          "hb_cache_path": "/pbcache/endpoint",
   330                                          "hb_cache_path_pubmat": "/pbcache/endpoint",
   331                                          "hb_pb": "0.70",
   332                                          "hb_pb_pubmatic": "0.70",
   333                                          "hb_size": "200x250",
   334                                          "hb_size_pubmatic": "200x250"
   335                                      },
   336                                      "targetbiddercode": "pubmatic"
   337                                  }
   338                              }
   339                          },
   340                          {
   341                              "id": "losing-bid",
   342                              "impid": "my-imp-id",
   343                              "price": 0.21,
   344                              "w": 200,
   345                              "h": 250,
   346                              "crid": "creative-2",
   347                              "ext": {
   348                                  "origbidcpm": 0.21,
   349                                  "prebid": {
   350                                      "meta": {
   351                                      },
   352                                      "type": "video",
   353                                      "targeting": {
   354                                          "hb_bidder_pm3": "pm3",
   355                                          "hb_cache_host_pm3": "www.pbcserver.com",
   356                                          "hb_cache_path_pm3": "/pbcache/endpoint",
   357                                          "hb_pb_pm3": "0.20",
   358                                          "hb_size_pm3": "200x250"
   359                                      },
   360                                      "targetbiddercode": "pm3"
   361                                  }
   362                              }
   363                          },
   364                          {
   365                              "id": "other-bid",
   366                              "impid": "imp-id-2",
   367                              "price": 0.61,
   368                              "w": 300,
   369                              "h": 500,
   370                              "crid": "creative-3",
   371                              "ext": {
   372                                  "origbidcpm": 0.61,
   373                                  "prebid": {
   374                                      "meta": {
   375                                      },
   376                                      "type": "video",
   377                                      "targeting": {
   378                                          "hb_bidder": "pubmatic",
   379                                          "hb_bidder_pubmatic": "pubmatic",
   380                                          "hb_cache_host": "www.pbcserver.com",
   381                                          "hb_cache_host_pubmat": "www.pbcserver.com",
   382                                          "hb_cache_path": "/pbcache/endpoint",
   383                                          "hb_cache_path_pubmat": "/pbcache/endpoint",
   384                                          "hb_pb": "0.60",
   385                                          "hb_pb_pubmatic": "0.60",
   386                                          "hb_size": "300x500",
   387                                          "hb_size_pubmatic": "300x500"
   388                                      },
   389                                      "targetbiddercode": "pubmatic"
   390                                  }
   391                              }
   392                          },
   393                          {
   394                              "id": "contending-bid",
   395                              "impid": "my-imp-id",
   396                              "price": 0.51,
   397                              "w": 200,
   398                              "h": 250,
   399                              "crid": "creative-4",
   400                              "ext": {
   401                                  "origbidcpm": 0.51,
   402                                  "prebid": {
   403                                      "meta": {
   404                                      },
   405                                      "type": "video",
   406                                      "targeting": {
   407                                          "hb_bidder_pm2": "pm2",
   408                                          "hb_cache_host_pm2": "www.pbcserver.com",
   409                                          "hb_cache_path_pm2": "/pbcache/endpoint",
   410                                          "hb_pb_pm2": "0.50",
   411                                          "hb_size_pm2": "200x250"
   412                                      },
   413                                      "targetbiddercode": "pm2"
   414                                  }
   415                              }
   416                          }
   417                      ]
   418                  },
   419                  {
   420                      "seat": "appnexus",
   421                      "bid": [
   422                          {
   423                              "id": "apn-bid",
   424                              "impid": "my-imp-id",
   425                              "price": 0.3,
   426                              "w": 200,
   427                              "h": 500,
   428                              "crid": "creative-a-1",
   429                              "ext": {
   430                                  "origbidcpm": 0.3,
   431                                  "prebid": {
   432                                      "meta": {
   433                                      },
   434                                      "type": "banner",
   435                                      "targeting": {
   436                                          "hb_bidder_appnexus": "appnexus",
   437                                          "hb_cache_host_appnex": "www.pbcserver.com",
   438                                          "hb_cache_path_appnex": "/pbcache/endpoint",
   439                                          "hb_pb_appnexus": "0.20",
   440                                          "hb_size_appnexus": "200x500"
   441                                      }
   442                                  }
   443                              }
   444                          },
   445                          {
   446                              "id": "apn-bid-2",
   447                              "impid": "my-imp-id",
   448                              "price": 0.3,
   449                              "w": 200,
   450                              "h": 500,
   451                              "crid": "creative-a-2",
   452                              "ext": {
   453                                  "origbidcpm": 0.3,
   454                                  "prebid": {
   455                                      "meta": {
   456                                      },
   457                                      "type": "banner"
   458                                  }
   459                              }
   460                          }
   461                      ]
   462                  }
   463              ]
   464          },
   465          "ext": {
   466              "warnings": {
   467                  "general": [
   468                      {
   469                          "code": 10002,
   470                          "message": "debug turned off for account"
   471                      },
   472                      {
   473                          "code": 10006,
   474                          "message": "maxBids not defined for {Bidder:appnexus, Bidders:[], MaxBids:<nil>, TargetBidderCodePrefix:}"
   475                      },
   476                      {
   477                          "code": 10006,
   478                          "message": "invalid maxBids value, using minimum 1 limit for {Bidder:rubicon, Bidders:[], MaxBids:-1, TargetBidderCodePrefix:rubN}"
   479                      },
   480                      {
   481                          "code": 10006,
   482                          "message": "invalid maxBids value, using maximum 9 limit for {Bidder:pubmatic, Bidders:[], MaxBids:10, TargetBidderCodePrefix:pm}"
   483                      },
   484                      {
   485                          "code": 10006,
   486                          "message": "multiBid already defined for pubmatic, ignoring this instance {Bidder:pubmatic, Bidders:[], MaxBids:4, TargetBidderCodePrefix:pubM}"
   487                      },
   488                      {
   489                          "code": 10006,
   490                          "message": "ignoring bidders from {Bidder:groupm, Bidders:[someBidder], MaxBids:5, TargetBidderCodePrefix:gm}"
   491                      },
   492                      {
   493                          "code": 10006,
   494                          "message": "multiBid already defined for groupm, ignoring this instance {Bidder:, Bidders:[groupm], MaxBids:6, TargetBidderCodePrefix:}"
   495                      },
   496                      {
   497                          "code": 10006,
   498                          "message": "ignoring targetbiddercodeprefix for {Bidder:, Bidders:[33across], MaxBids:7, TargetBidderCodePrefix:abc}"
   499                      },
   500                      {
   501                          "code": 10006,
   502                          "message": "bidder(s) not specified for {Bidder:, Bidders:[], MaxBids:8, TargetBidderCodePrefix:xyz}"
   503                      }
   504                  ]
   505              }
   506          }
   507      }
   508  }