github.com/prebid/prebid-server/v2@v2.18.0/adapters/triplelift_native/triplelift_nativetest/supplemental/badstatuscode.json (about) 1 { 2 "mockBidRequest": { 3 "site": { "publisher": {"id":"foo","name":"foo"}}, 4 "id": "test-request-id", 5 "imp": [ 6 { 7 "native":{ 8 "request" : "{\"plcmtcnt\":1,\"plcmttype\":2,\"privacy\":1,\"context\":1,\"contextsubtype\":12,\"eventtrackers\":[{\"event\":1,\"methods\":[1,2]},{\"event\":2,\"methods\":[1]}],\"assets\":[{\"data\":{\"type\":12},\"required\":1},{\"title\":{\"len\":50},\"required\":1},{\"img\":{\"w\":80,\"h\":80,\"type\":1},\"required\":1},{\"img\":{\"w\":1200,\"h\":627,\"type\":3},\"required\":1},{\"data\":{\"type\":3},\"required\":0},{\"data\":{\"len\":100,\"type\":2},\"required\":1},{\"video\":{\"mimes\":[\"video/mpeg\",\"video/mp4\"],\"minduration\":2,\"protocols\":[2,5],\"maxduration\":2,\"ext\":{\"playbackmethod\":[1,2]}},\"required\":1}],\"ver\":\"1.2\"}" 9 }, 10 "id": "test-imp-id", 11 "ext": { 12 "bidder": { 13 "inventoryCode": "aa" 14 } 15 } 16 } 17 ] 18 }, 19 "httpCalls": [ 20 { 21 "expectedRequest": { 22 "uri": "http://tlx.3lift.net/s2sn/auction?supplier_id=20", 23 "body": { 24 "site": { "publisher": {"id":"foo","name":"foo"}}, 25 "id": "test-request-id", 26 "imp": [ 27 { 28 "native":{ 29 "request" : "{\"plcmtcnt\":1,\"plcmttype\":2,\"privacy\":1,\"context\":1,\"contextsubtype\":12,\"eventtrackers\":[{\"event\":1,\"methods\":[1,2]},{\"event\":2,\"methods\":[1]}],\"assets\":[{\"data\":{\"type\":12},\"required\":1},{\"title\":{\"len\":50},\"required\":1},{\"img\":{\"w\":80,\"h\":80,\"type\":1},\"required\":1},{\"img\":{\"w\":1200,\"h\":627,\"type\":3},\"required\":1},{\"data\":{\"type\":3},\"required\":0},{\"data\":{\"len\":100,\"type\":2},\"required\":1},{\"video\":{\"mimes\":[\"video/mpeg\",\"video/mp4\"],\"minduration\":2,\"protocols\":[2,5],\"maxduration\":2,\"ext\":{\"playbackmethod\":[1,2]}},\"required\":1}],\"ver\":\"1.2\"}" 30 }, 31 "id": "test-imp-id", 32 "tagid" : "aa", 33 "ext": { 34 "bidder": { 35 "inventoryCode": "aa" 36 } 37 } 38 } 39 ] 40 }, 41 "impIDs":["test-imp-id"] 42 }, 43 "mockResponse": { 44 "status": 400 45 } 46 } 47 ], 48 "expectedBidResponses": [ 49 ], 50 "expectedMakeBidsErrors": [{"comparison":"literal", "value" : "Unexpected status code: 400. Run with request.debug = 1 for more info"}] 51 }