github.com/prebid/prebid-server@v0.275.0/adapters/triplelift/triplelifttest/supplemental/notgoodstatuscode.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 "w": 300, 15 "h": 600 16 } 17 ] 18 }, 19 "ext": { 20 "bidder": { 21 "inventoryCode": "aa" 22 } 23 } 24 } 25 ] 26 }, 27 "httpCalls": [ 28 { 29 "expectedRequest": { 30 "uri": "http://tlx.3lift.net/s2s/auction?sra=1&supplier_id=20", 31 "body": { 32 "id": "test-request-id", 33 "imp": [ 34 { 35 "id": "test-imp-id", 36 "banner": { 37 "format": [ 38 { 39 "w": 300, 40 "h": 250 41 }, 42 { 43 "w": 300, 44 "h": 600 45 } 46 ] 47 }, 48 "tagid": "aa", 49 "ext": { 50 "bidder": { 51 "inventoryCode": "aa" 52 } 53 } 54 } 55 ] 56 } 57 }, 58 "mockResponse": { 59 "status": 302, 60 "body": { 61 "id": "test-request-id", 62 "seatbid": [ 63 { 64 "seat": "958", 65 "bid": [ 66 { 67 "id": "7706636740145184841", 68 "impid": "test-imp-id", 69 "price": 0.5, 70 "adid": "29681110", 71 "adm": "some-test-ad", 72 "adomain": [ 73 "triplelift.com" 74 ], 75 "iurl": "http://nym1-ib.adnxs.com/cr?id=29681110", 76 "cid": "958", 77 "crid": "29681110", 78 "h": 250, 79 "w": 300, 80 "ext": { 81 "triplelift_pb": { 82 "format": 2 83 } 84 } 85 } 86 ] 87 } 88 ], 89 "bidid": "5778926625248726496", 90 "cur": "USD" 91 } 92 } 93 } 94 ], 95 "expectedBidResponses": [], 96 "expectedMakeBidsErrors": [ 97 { 98 "value": "Unexpected status code: 302. Run with request.debug = 1 for more info", 99 "comparison": "literal" 100 } 101 ] 102 }