github.com/prebid/prebid-server@v0.275.0/exchange/exchangetest/extra-bids.json (about)

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