github.com/prebid/prebid-server/v2@v2.18.0/exchange/exchangetest/multi-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                      "multibid": [
    68                          {
    69                              "bidder": "pubmatic",
    70                              "maxbids": 2,
    71                              "targetbiddercodeprefix": "pubm"
    72                          },
    73                          {
    74                              "bidders": [
    75                                  "appnexus",
    76                                  "someBidder"
    77                              ],
    78                              "maxbids": 2
    79                          }
    80                      ]
    81                  }
    82              }
    83          }
    84      },
    85      "outgoingRequests": {
    86          "pubmatic": {
    87              "expectRequest": {
    88                  "ortbRequest": {
    89                      "id": "some-request-id",
    90                      "site": {
    91                          "page": "test.somepage.com"
    92                      },
    93                      "imp": [
    94                          {
    95                              "id": "my-imp-id",
    96                              "video": {
    97                                  "mimes": [
    98                                      "video/mp4"
    99                                  ]
   100                              },
   101                              "ext": {
   102                                  "bidder": {
   103                                      "publisherId": 5890
   104                                  }
   105                              }
   106                          },
   107                          {
   108                              "id": "imp-id-2",
   109                              "video": {
   110                                  "mimes": [
   111                                      "video/mp4"
   112                                  ]
   113                              },
   114                              "ext": {
   115                                  "bidder": {
   116                                      "publisherId": 5890
   117                                  }
   118                              }
   119                          }
   120                      ],
   121                      "ext": {
   122                          "prebid": {
   123                              "multibid": [
   124                                  {
   125                                      "bidder": "pubmatic",
   126                                      "maxbids": 2,
   127                                      "targetbiddercodeprefix": "pubm"
   128                                  }
   129                              ]
   130                          }
   131                      }
   132                  }
   133              },
   134              "mockResponse": {
   135                  "pbsSeatBids": [
   136                      {
   137                          "pbsBids": [
   138                              {
   139                                  "ortbBid": {
   140                                      "id": "winning-bid",
   141                                      "impid": "my-imp-id",
   142                                      "price": 0.71,
   143                                      "w": 200,
   144                                      "h": 250,
   145                                      "crid": "creative-1"
   146                                  },
   147                                  "bidType": "video",
   148                                  "bidMeta": {
   149                                  }
   150                              },
   151                              {
   152                                  "ortbBid": {
   153                                      "id": "losing-bid",
   154                                      "impid": "my-imp-id",
   155                                      "price": 0.21,
   156                                      "w": 200,
   157                                      "h": 250,
   158                                      "crid": "creative-2"
   159                                  },
   160                                  "bidType": "video",
   161                                  "bidMeta": {
   162                                  }
   163                              },
   164                              {
   165                                  "ortbBid": {
   166                                      "id": "other-bid",
   167                                      "impid": "imp-id-2",
   168                                      "price": 0.61,
   169                                      "w": 300,
   170                                      "h": 500,
   171                                      "crid": "creative-3"
   172                                  },
   173                                  "bidType": "video",
   174                                  "bidMeta": {
   175                                  }
   176                              },
   177                              {
   178                                  "ortbBid": {
   179                                      "id": "contending-bid",
   180                                      "impid": "my-imp-id",
   181                                      "price": 0.51,
   182                                      "w": 200,
   183                                      "h": 250,
   184                                      "crid": "creative-4"
   185                                  },
   186                                  "bidType": "video",
   187                                  "bidMeta": {
   188                                  }
   189                              }
   190                          ],
   191                          "seat": "pubmatic"
   192                      }
   193                  ]
   194              }
   195          },
   196          "appnexus": {
   197              "expectRequest": {
   198                  "ortbRequest": {
   199                      "id": "some-request-id",
   200                      "site": {
   201                          "page": "test.somepage.com"
   202                      },
   203                      "imp": [
   204                          {
   205                              "id": "my-imp-id",
   206                              "video": {
   207                                  "mimes": [
   208                                      "video/mp4"
   209                                  ]
   210                              },
   211                              "ext": {
   212                                  "bidder": {
   213                                      "placementId": 1
   214                                  }
   215                              }
   216                          },
   217                          {
   218                              "id": "imp-id-2",
   219                              "video": {
   220                                  "mimes": [
   221                                      "video/mp4"
   222                                  ]
   223                              },
   224                              "ext": {
   225                                  "bidder": {
   226                                      "placementId": 1
   227                                  }
   228                              }
   229                          }
   230                      ],
   231                      "ext": {
   232                          "prebid": {
   233                              "multibid": [
   234                                  {
   235                                      "bidders": [
   236                                          "appnexus"
   237                                      ],
   238                                      "maxbids": 2
   239                                  }
   240                              ]
   241                          }
   242                      }
   243                  }
   244              },
   245              "mockResponse": {
   246                  "pbsSeatBids": [
   247                      {
   248                          "pbsBids": [
   249                              {
   250                                  "ortbBid": {
   251                                      "id": "apn-bid",
   252                                      "impid": "my-imp-id",
   253                                      "price": 0.3,
   254                                      "w": 200,
   255                                      "h": 500,
   256                                      "crid": "creative-a-1"
   257                                  },
   258                                  "bidType": "banner",
   259                                  "bidMeta": {
   260                                  }
   261                              },
   262                              {
   263                                  "ortbBid": {
   264                                      "id": "apn-bid-2",
   265                                      "impid": "my-imp-id",
   266                                      "price": 0.3,
   267                                      "w": 200,
   268                                      "h": 500,
   269                                      "crid": "creative-a-2"
   270                                  },
   271                                  "bidType": "banner",
   272                                  "bidMeta": {
   273                                  }
   274                              }
   275                          ],
   276                          "seat": "appnexus"
   277                      }
   278                  ]
   279              }
   280          }
   281      },
   282      "response": {
   283          "bids": {
   284              "id": "some-request-id",
   285              "seatbid": [
   286                  {
   287                      "seat": "pubmatic",
   288                      "bid": [
   289                          {
   290                              "id": "winning-bid",
   291                              "impid": "my-imp-id",
   292                              "price": 0.71,
   293                              "w": 200,
   294                              "h": 250,
   295                              "crid": "creative-1",
   296                              "ext": {
   297                                  "origbidcpm": 0.71,
   298                                  "prebid": {
   299                                      "meta": {
   300                                      },
   301                                      "type": "video",
   302                                      "targeting": {
   303                                          "hb_bidder": "pubmatic",
   304                                          "hb_bidder_pubmatic": "pubmatic",
   305                                          "hb_cache_host": "www.pbcserver.com",
   306                                          "hb_cache_host_pubmat": "www.pbcserver.com",
   307                                          "hb_cache_path": "/pbcache/endpoint",
   308                                          "hb_cache_path_pubmat": "/pbcache/endpoint",
   309                                          "hb_pb": "0.70",
   310                                          "hb_pb_pubmatic": "0.70",
   311                                          "hb_size": "200x250",
   312                                          "hb_size_pubmatic": "200x250"
   313                                      },
   314                                      "targetbiddercode": "pubmatic"
   315                                  }
   316                              }
   317                          },
   318                          {
   319                              "id": "losing-bid",
   320                              "impid": "my-imp-id",
   321                              "price": 0.21,
   322                              "w": 200,
   323                              "h": 250,
   324                              "crid": "creative-2",
   325                              "ext": {
   326                                  "origbidcpm": 0.21,
   327                                  "prebid": {
   328                                      "meta": {
   329                                      },
   330                                      "type": "video"
   331                                  }
   332                              }
   333                          },
   334                          {
   335                              "id": "other-bid",
   336                              "impid": "imp-id-2",
   337                              "price": 0.61,
   338                              "w": 300,
   339                              "h": 500,
   340                              "crid": "creative-3",
   341                              "ext": {
   342                                  "origbidcpm": 0.61,
   343                                  "prebid": {
   344                                      "meta": {
   345                                      },
   346                                      "type": "video",
   347                                      "targeting": {
   348                                          "hb_bidder": "pubmatic",
   349                                          "hb_bidder_pubmatic": "pubmatic",
   350                                          "hb_cache_host": "www.pbcserver.com",
   351                                          "hb_cache_host_pubmat": "www.pbcserver.com",
   352                                          "hb_cache_path": "/pbcache/endpoint",
   353                                          "hb_cache_path_pubmat": "/pbcache/endpoint",
   354                                          "hb_pb": "0.60",
   355                                          "hb_pb_pubmatic": "0.60",
   356                                          "hb_size": "300x500",
   357                                          "hb_size_pubmatic": "300x500"
   358                                      },
   359                                      "targetbiddercode": "pubmatic"
   360                                  }
   361                              }
   362                          },
   363                          {
   364                              "id": "contending-bid",
   365                              "impid": "my-imp-id",
   366                              "price": 0.51,
   367                              "w": 200,
   368                              "h": 250,
   369                              "crid": "creative-4",
   370                              "ext": {
   371                                  "origbidcpm": 0.51,
   372                                  "prebid": {
   373                                      "meta": {
   374                                      },
   375                                      "type": "video",
   376                                      "targeting": {
   377                                          "hb_bidder_pubm2": "pubm2",
   378                                          "hb_cache_host_pubm2": "www.pbcserver.com",
   379                                          "hb_cache_path_pubm2": "/pbcache/endpoint",
   380                                          "hb_pb_pubm2": "0.50",
   381                                          "hb_size_pubm2": "200x250"
   382                                      },
   383                                      "targetbiddercode": "pubm2"
   384                                  }
   385                              }
   386                          }
   387                      ]
   388                  },
   389                  {
   390                      "seat": "appnexus",
   391                      "bid": [
   392                          {
   393                              "id": "apn-bid",
   394                              "impid": "my-imp-id",
   395                              "price": 0.3,
   396                              "w": 200,
   397                              "h": 500,
   398                              "crid": "creative-a-1",
   399                              "ext": {
   400                                  "origbidcpm": 0.3,
   401                                  "prebid": {
   402                                      "meta": {
   403                                      },
   404                                      "targetbiddercode": "appnexus",
   405                                      "type": "banner",
   406                                      "targeting": {
   407                                          "hb_bidder_appnexus": "appnexus",
   408                                          "hb_cache_host_appnex": "www.pbcserver.com",
   409                                          "hb_cache_path_appnex": "/pbcache/endpoint",
   410                                          "hb_pb_appnexus": "0.20",
   411                                          "hb_size_appnexus": "200x500"
   412                                      }
   413                                  }
   414                              }
   415                          },
   416                          {
   417                              "id": "apn-bid-2",
   418                              "impid": "my-imp-id",
   419                              "price": 0.3,
   420                              "w": 200,
   421                              "h": 500,
   422                              "crid": "creative-a-2",
   423                              "ext": {
   424                                  "origbidcpm": 0.3,
   425                                  "prebid": {
   426                                      "meta": {
   427                                      },
   428                                      "type": "banner"
   429                                  }
   430                              }
   431                          }
   432                      ]
   433                  }
   434              ]
   435          }
   436      }
   437  }