github.com/prebid/prebid-server/v2@v2.18.0/exchange/exchangetest/alternate-bidder-codes.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": "imp-id-1",
    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        "ext": {
    31          "prebid": {
    32            "alternatebiddercodes": {
    33              "enabled": true,
    34              "bidders": {
    35                "PUBmatic": {
    36                  "enabled": true,
    37                  "allowedbiddercodes": [
    38                    "groupm"
    39                  ]
    40                }
    41              }
    42            }
    43          }
    44        }
    45      }
    46    },
    47    "outgoingRequests": {
    48      "pubmatic": {
    49        "expectRequest": {
    50          "ortbRequest": {
    51            "id": "some-request-id",
    52            "site": {
    53              "page": "test.somepage.com"
    54            },
    55            "imp": [
    56              {
    57                "id": "imp-id-1",
    58                "video": {
    59                  "mimes": [
    60                    "video/mp4"
    61                  ]
    62                },
    63                "ext": {
    64                  "bidder": {
    65                    "publisherId": 5890
    66                  }
    67                }
    68              }
    69            ],
    70            "ext": {
    71              "prebid": {
    72                "alternatebiddercodes": {
    73                  "enabled": true,
    74                  "bidders": {
    75                    "pubmatic": {
    76                      "enabled": true,
    77                      "allowedbiddercodes": [
    78                        "groupm"
    79                      ]
    80                    }
    81                  }
    82                }
    83              }
    84            }
    85          }
    86        },
    87        "mockResponse": {
    88          "pbsSeatBids": [
    89            {
    90              "pbsBids": [
    91                {
    92                  "ortbBid": {
    93                    "id": "pubmatic-bid-1",
    94                    "impid": "imp-id-1",
    95                    "price": 0.71
    96                  },
    97                  "bidType": "video",
    98                  "bidMeta": {}
    99                }
   100              ],
   101              "seat": "pubmatic"
   102            },
   103            {
   104              "pbsBids": [
   105                {
   106                  "ortbBid": {
   107                    "id": "pubmatic-bid-2",
   108                    "impid": "imp-id-1",
   109                    "price": 0.51
   110                  },
   111                  "bidType": "video",
   112                  "bidMeta": {}
   113                }
   114              ],
   115              "seat": "groupm"
   116            }
   117          ]
   118        }
   119      },
   120      "appnexus": {
   121        "expectRequest": {
   122          "ortbRequest": {
   123            "id": "some-request-id",
   124            "site": {
   125              "page": "test.somepage.com"
   126            },
   127            "imp": [
   128              {
   129                "id": "imp-id-1",
   130                "video": {
   131                  "mimes": [
   132                    "video/mp4"
   133                  ]
   134                },
   135                "ext": {
   136                  "bidder": {
   137                    "placementId": 1
   138                  }
   139                }
   140              }
   141            ],
   142            "ext": {
   143              "prebid": {
   144                "alternatebiddercodes": {
   145                  "enabled": true,
   146                  "bidders": null
   147                }
   148              }
   149            }
   150          }
   151        },
   152        "mockResponse": {
   153          "pbsSeatBids": [
   154            {
   155              "pbsBids": [
   156                {
   157                  "ortbBid": {
   158                    "id": "appnexus-bid-1",
   159                    "impid": "imp-id-1",
   160                    "price": 0.3
   161                  },
   162                  "bidType": "banner",
   163                  "bidMeta": {}
   164                }
   165              ],
   166              "seat": "appnexus"
   167            },
   168            {
   169              "pbsBids": [
   170                {
   171                  "ortbBid": {
   172                    "id": "appnexus-bid-2",
   173                    "impid": "imp-id-1",
   174                    "price": 0.3
   175                  },
   176                  "bidType": "banner",
   177                  "bidMeta": {
   178                  }
   179                }
   180              ],
   181              "seat": "groupm"
   182            }
   183          ]
   184        }
   185      }
   186    },
   187    "response": {
   188      "bids": {
   189        "id": "some-request-id",
   190        "seatbid": [
   191          {
   192            "seat": "groupm",
   193            "bid": [
   194              {
   195                "id": "pubmatic-bid-2",
   196                "impid": "imp-id-1",
   197                "price": 0.51,
   198                "ext": {
   199                  "origbidcpm": 0.51,
   200                  "prebid": {
   201                    "meta": {},
   202                    "type": "video"
   203                  }
   204                }
   205              },
   206              {
   207                "id": "appnexus-bid-2",
   208                "impid": "imp-id-1",
   209                "price": 0.3,
   210                "ext": {
   211                  "origbidcpm": 0.3,
   212                  "prebid": {
   213                    "meta": {
   214                    },
   215                    "type": "banner"
   216                  }
   217                }
   218              }
   219            ]
   220          },
   221          {
   222            "seat": "pubmatic",
   223            "bid": [
   224              {
   225                "id": "pubmatic-bid-1",
   226                "impid": "imp-id-1",
   227                "price": 0.71,
   228                "ext": {
   229                  "origbidcpm": 0.71,
   230                  "prebid": {
   231                    "meta": {
   232                    },
   233                    "type": "video"
   234                  }
   235                }
   236              }
   237            ]
   238          },
   239          {
   240            "seat": "appnexus",
   241            "bid": [
   242              {
   243                "id": "appnexus-bid-1",
   244                "impid": "imp-id-1",
   245                "price": 0.3,
   246                "ext": {
   247                  "origbidcpm": 0.3,
   248                  "prebid": {
   249                    "meta": {
   250                    },
   251                    "type": "banner"
   252                  }
   253                }
   254              }
   255            ]
   256          }
   257        ]
   258      }
   259    }
   260  }