github.com/prebid/prebid-server/v2@v2.18.0/endpoints/openrtb2/sample-requests/currency-conversion/custom-rates/valid/reverse-currency-conversion.json (about)

     1  {
     2    "description": "USD BidRequest gets converted because mockbidder bids in foreign currency, custom conversion rate is used",
     3    "config": {
     4      "currencyRates":{
     5        "USD": {
     6          "MXN": 8.00
     7        }
     8      },
     9      "mockBidders": [
    10        {"bidderName": "appnexus", "currency": "MXN", "price": 20.00}
    11      ]
    12    },
    13    "mockBidRequest": {
    14      "id": "some-request-id",
    15      "site": {
    16        "page": "test.somepage.com"
    17      },
    18      "imp": [
    19        {
    20          "id": "my-imp-id",
    21          "video": {
    22            "mimes": [
    23              "video/mp4"
    24            ]
    25          },
    26          "ext": {
    27            "appnexus": {
    28              "placementId": 12883451
    29            }
    30          }
    31        }
    32      ],
    33      "ext": {
    34        "prebid": {
    35          "currency": {
    36            "rates": {
    37              "USD": {
    38                "MXN": 10.00
    39              }
    40            },
    41            "usepbsrates": true
    42          }
    43        }
    44      }
    45    },
    46    "expectedBidResponse": {
    47        "id":"some-request-id",
    48        "bidid":"test bid id",
    49        "nbr":0,
    50        "cur": "USD",
    51        "seatbid": [
    52          {
    53            "bid": [
    54              {
    55                "id": "appnexus-bid",
    56                "impid": "my-imp-id",
    57                "price": 2
    58              }
    59            ],
    60            "seat": "appnexus"
    61          }
    62        ]
    63    },
    64    "expectedReturnCode": 200
    65  }