github.com/prebid/prebid-server/v2@v2.18.0/adapters/rtbhouse/rtbhousetest/exemplary/bidfloor-as-impbidfloor-with-cur.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "test-request-id",
     4      "imp": [
     5        {
     6          "id": "test-imp-id",
     7          "banner": {
     8            "format": [
     9              {
    10                "w": 300,
    11                "h": 250
    12              }
    13            ]
    14          },
    15          "bidfloor": 1.00,
    16          "bidfloorcur": "EUR",
    17          "ext": {
    18            "bidder": {
    19              "publisherId": "12345"
    20            }
    21          }
    22        }
    23      ],
    24      "ext": {
    25        "prebid": {
    26          "currency": {
    27            "rates": {
    28              "EUR": {
    29                "USD": 0.05
    30              }
    31            },
    32            "usepbsrates": false
    33          }
    34        }
    35      }
    36    },
    37    "httpCalls": [
    38      {
    39        "expectedRequest": {
    40          "uri": "http://localhost/prebid_server",
    41          "body": {
    42            "id": "test-request-id",
    43            "cur": [
    44              "USD"
    45            ],
    46            "imp": [
    47              {
    48                "banner": {
    49                  "format": [
    50                    {
    51                      "h": 250,
    52                      "w": 300
    53                    }
    54                  ]
    55                },
    56                "bidfloor": 0.05,
    57                "bidfloorcur": "USD",
    58                "ext": {
    59                  "bidder": {
    60                    "publisherId": "12345"
    61                  }
    62                },
    63                "id": "test-imp-id"
    64              }
    65            ],
    66            "ext": {
    67              "prebid": {
    68                "currency": {
    69                  "rates": {
    70                    "EUR": {
    71                      "USD": 0.05
    72                    }
    73                  },
    74                  "usepbsrates": false
    75                }
    76              }
    77            }
    78          },
    79          "impIDs":["test-imp-id"]
    80        },
    81        "mockResponse": {
    82          "status": 200,
    83          "body": {
    84            "id": "test-response-id",
    85            "cur": "USD",
    86            "seatbid": [
    87              {
    88                "seat": "rtbhouse",
    89                "bid": [
    90                  {
    91                    "id": "randomid",
    92                    "impid": "test-imp-id",
    93                    "price": 300,
    94                    "adid": "12345678",
    95                    "adm": "some-test-ad",
    96                    "cid": "987",
    97                    "crid": "12345678",
    98                    "h": 250,
    99                    "w": 300,
   100                    "mtype": 1
   101                  }
   102                ]
   103              }
   104            ]
   105          }
   106        }
   107      }
   108    ],
   109    "expectedBidResponses": [
   110      {
   111        "currency": "USD",
   112        "bids": [
   113          {
   114            "bid": {
   115              "id": "randomid",
   116              "impid": "test-imp-id",
   117              "price": 300,
   118              "adid": "12345678",
   119              "adm": "some-test-ad",
   120              "cid": "987",
   121              "crid": "12345678",
   122              "h": 250,
   123              "w": 300,
   124              "mtype": 1
   125            },
   126            "type": "banner"
   127          }
   128        ]
   129      }
   130    ]
   131  }