github.com/prebid/prebid-server/v2@v2.18.0/endpoints/openrtb2/sample-requests/currency-conversion/custom-rates/valid/custom-rates-override-usepbsrates-false.json (about) 1 { 2 "description": "request.ext.prebid.currency substitutes those of the currency conversion server because usepbsrates is false", 3 "config": { 4 "currencyRates":{ 5 "USD": { 6 "MXN": 2.00 7 } 8 }, 9 "mockBidders": [ 10 {"bidderName": "appnexus", "currency": "USD", "price": 1.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 "cur": ["MXN"], 34 "ext": { 35 "prebid": { 36 "aliases": { 37 "unknown": "appnexus" 38 }, 39 "currency": { 40 "rates": { 41 "USD": { 42 "MXN": 5.00 43 } 44 }, 45 "usepbsrates": false 46 } 47 } 48 } 49 }, 50 "expectedBidResponse": { 51 "id":"some-request-id", 52 "bidid":"test bid id", 53 "cur": "MXN", 54 "nbr":0, 55 "seatbid": [ 56 { 57 "bid": [ 58 { 59 "id": "appnexus-bid", 60 "impid": "my-imp-id", 61 "price": 5.00 62 } 63 ], 64 "seat": "appnexus" 65 } 66 ] 67 }, 68 "expectedReturnCode": 200 69 }