github.com/prebid/prebid-server/v2@v2.18.0/exchange/exchangetest/extra-bids-with-aliases-adaptercode.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                  "pmbidder": {
    20                    "publisherId": 5890
    21                  }
    22                }
    23              }
    24            }
    25          },
    26          {
    27            "id": "imp-id-2",
    28            "video": {
    29              "mimes": [
    30                "video/mp4"
    31              ]
    32            },
    33            "ext": {
    34              "prebid": {
    35                "bidder": {
    36                  "pmbidder": {
    37                    "publisherId": 5890
    38                  }
    39                }
    40              }
    41            }
    42          }
    43        ],
    44        "ext": {
    45          "prebid": {
    46            "targeting": {
    47              "pricegranularity": {
    48                "precision": 2,
    49                "ranges": [
    50                  {
    51                    "min": 0,
    52                    "max": 20,
    53                    "increment": 0.1
    54                  }
    55                ]
    56              },
    57              "includewinners": true,
    58              "includebidderkeys": true
    59            },
    60            "aliases": {
    61              "pmbidder": "pubmatic"
    62            }
    63          }
    64        }
    65      }
    66    },
    67    "outgoingRequests": {
    68      "pmbidder": {
    69        "mockResponse": {
    70          "pbsSeatBids": [
    71            {
    72              "pbsBids": [
    73                {
    74                  "ortbBid": {
    75                    "id": "winning-bid",
    76                    "impid": "my-imp-id",
    77                    "price": 0.71,
    78                    "w": 200,
    79                    "h": 250,
    80                    "crid": "creative-1"
    81                  },
    82                  "bidType": "video",
    83                  "bidMeta": {
    84                  }
    85                },
    86                {
    87                  "ortbBid": {
    88                    "id": "losing-bid",
    89                    "impid": "my-imp-id",
    90                    "price": 0.21,
    91                    "w": 200,
    92                    "h": 250,
    93                    "crid": "creative-2"
    94                  },
    95                  "bidType": "video",
    96                  "bidMeta": {
    97                  }
    98                },
    99                {
   100                  "ortbBid": {
   101                    "id": "other-bid",
   102                    "impid": "imp-id-2",
   103                    "price": 0.61,
   104                    "w": 300,
   105                    "h": 500,
   106                    "crid": "creative-3"
   107                  },
   108                  "bidType": "video",
   109                  "bidMeta": {
   110                  }
   111                }
   112              ],
   113              "seat": "groupm"
   114            },
   115            {
   116              "pbsBids": [
   117                {
   118                  "ortbBid": {
   119                    "id": "contending-bid",
   120                    "impid": "my-imp-id",
   121                    "price": 0.51,
   122                    "w": 200,
   123                    "h": 250,
   124                    "crid": "creative-4"
   125                  },
   126                  "bidType": "video",
   127                  "bidMeta": {
   128                  }
   129                }
   130              ],
   131              "seat": "pmbidder"
   132            }
   133          ]
   134        }
   135      }
   136    },
   137    "response": {
   138      "bids": {
   139        "id": "some-request-id",
   140        "seatbid": [
   141          {
   142            "seat": "pmbidder",
   143            "bid": [
   144              {
   145                "id": "contending-bid",
   146                "impid": "my-imp-id",
   147                "price": 0.51,
   148                "w": 200,
   149                "h": 250,
   150                "crid": "creative-4",
   151                "ext": {
   152                  "origbidcpm": 0.51,
   153                  "prebid": {
   154                    "meta": {
   155                    },
   156                    "type": "video",
   157                    "targeting": {
   158                      "hb_bidder_pmbidder": "pmbidder",
   159                      "hb_cache_host_pmbidd": "www.pbcserver.com",
   160                      "hb_cache_path_pmbidd": "/pbcache/endpoint",
   161                      "hb_pb_pmbidder": "0.50",
   162                      "hb_size_pmbidder": "200x250"
   163                    }
   164                  }
   165                }
   166              }
   167            ]
   168          },
   169          {
   170            "seat": "groupm",
   171            "bid": [
   172              {
   173                "id": "winning-bid",
   174                "impid": "my-imp-id",
   175                "price": 0.71,
   176                "w": 200,
   177                "h": 250,
   178                "crid": "creative-1",
   179                "ext": {
   180                  "origbidcpm": 0.71,
   181                  "prebid": {
   182                    "meta": {
   183                    },
   184                    "type": "video",
   185                    "targeting": {
   186                      "hb_bidder": "groupm",
   187                      "hb_bidder_groupm": "groupm",
   188                      "hb_cache_host": "www.pbcserver.com",
   189                      "hb_cache_host_groupm": "www.pbcserver.com",
   190                      "hb_cache_path": "/pbcache/endpoint",
   191                      "hb_cache_path_groupm": "/pbcache/endpoint",
   192                      "hb_pb": "0.70",
   193                      "hb_pb_groupm": "0.70",
   194                      "hb_size": "200x250",
   195                      "hb_size_groupm": "200x250"
   196                    }
   197                  }
   198                }
   199              },
   200              {
   201                "id": "losing-bid",
   202                "impid": "my-imp-id",
   203                "price": 0.21,
   204                "w": 200,
   205                "h": 250,
   206                "crid": "creative-2",
   207                "ext": {
   208                  "origbidcpm": 0.21,
   209                  "prebid": {
   210                    "meta": {
   211                    },
   212                    "type": "video"
   213                  }
   214                }
   215              },
   216              {
   217                "id": "other-bid",
   218                "impid": "imp-id-2",
   219                "price": 0.61,
   220                "w": 300,
   221                "h": 500,
   222                "crid": "creative-3",
   223                "ext": {
   224                  "origbidcpm": 0.61,
   225                  "prebid": {
   226                    "meta": {
   227                    },
   228                    "type": "video",
   229                    "targeting": {
   230                      "hb_bidder": "groupm",
   231                      "hb_bidder_groupm": "groupm",
   232                      "hb_cache_host": "www.pbcserver.com",
   233                      "hb_cache_host_groupm": "www.pbcserver.com",
   234                      "hb_cache_path": "/pbcache/endpoint",
   235                      "hb_cache_path_groupm": "/pbcache/endpoint",
   236                      "hb_pb": "0.60",
   237                      "hb_pb_groupm": "0.60",
   238                      "hb_size": "300x500",
   239                      "hb_size_groupm": "300x500"
   240                    }
   241                  }
   242                }
   243              }
   244            ]
   245          }
   246        ]
   247      }
   248    }
   249  }