github.com/prebid/prebid-server/v2@v2.18.0/adapters/amx/amxtest/supplemental/400-response.json (about) 1 { 2 "mockBidRequest": { 3 "device": { 4 "dnt": 0, 5 "h": 1120, 6 "ip": "98.249.0.0", 7 "language": "en", 8 "os": "macos", 9 "ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36", 10 "w": 1792 11 }, 12 "id": "TL3JS6F43CKNDQFY", 13 "imp": [ 14 { 15 "video": { 16 "api": [1, 2], 17 "h": 300, 18 "pos": 1, 19 "w": 640 20 }, 21 "id": "1", 22 "secure": 1 23 } 24 ], 25 "site": { 26 "ext": { 27 "amp": 0 28 } 29 }, 30 "source": { 31 "ext": { 32 "schain": { 33 "complete": 1, 34 "nodes": [ 35 { 36 "asi": "amxrtb.com", 37 "hp": 1, 38 "sid": "1234" 39 } 40 ], 41 "ver": "1.0" 42 } 43 } 44 }, 45 "test": 0, 46 "tmax": 300 47 }, 48 "httpCalls": [ 49 { 50 "expectedRequest": { 51 "uri": "http://pbs-dev.amxrtb.com/auction/openrtb?v=pbs1.2", 52 "body": { 53 "device": { 54 "dnt": 0, 55 "h": 1120, 56 "ip": "98.249.0.0", 57 "language": "en", 58 "os": "macos", 59 "ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36", 60 "w": 1792 61 }, 62 "id": "TL3JS6F43CKNDQFY", 63 "imp": [ 64 { 65 "video": { 66 "api": [1, 2], 67 "mimes": null, 68 "h": 300, 69 "pos": 1, 70 "w": 640 71 }, 72 "id": "1", 73 "secure": 1 74 } 75 ], 76 "site": { 77 "ext": { 78 "amp": 0 79 } 80 }, 81 "source": { 82 "ext": { 83 "schain": { 84 "complete": 1, 85 "nodes": [ 86 { 87 "asi": "amxrtb.com", 88 "hp": 1, 89 "sid": "1234" 90 } 91 ], 92 "ver": "1.0" 93 } 94 } 95 }, 96 "tmax": 300 97 }, 98 "impIDs":["1"] 99 }, 100 "mockResponse": { 101 "status": 400, 102 "headers": { 103 "X-Nbr": ["3b"] 104 }, 105 "body": {} 106 } 107 } 108 ], 109 "expectedMakeBidsErrors": [ 110 { 111 "value": "Invalid Request: 400. Error Code: 3b", 112 "comparison": "literal" 113 } 114 ] 115 }