github.com/prebid/prebid-server@v0.275.0/adapters/dianomi/dianomitest/supplemental/invalid-imp-mediatype.json (about) 1 { 2 "mockBidRequest": { 3 "id": "test-request-id", 4 "imp": [{ 5 "id": "test-imp-id", 6 "audio": {}, 7 "ext": { 8 "bidder": { 9 "smartadId": 12345 10 } 11 } 12 },{ 13 "id": "test-imp-id-2", 14 "audio": {}, 15 "ext": { 16 "bidder": { 17 "smartadId": 12345 18 } 19 } 20 }] 21 }, 22 "httpCalls": [ 23 { 24 "expectedRequest": { 25 "uri": "https://prebid-server-aws.dianomi.com/openrtb2/auction", 26 "body": { 27 "id": "test-request-id", 28 "imp": [{ 29 "ext": { 30 "bidder": { 31 "smartadId": 12345 32 } 33 }, 34 "id": "test-imp-id", 35 "audio": { 36 "mimes": null 37 }, 38 "tagid": "12345" 39 }, { 40 "ext": { 41 "bidder": { 42 "smartadId": 12345 43 } 44 }, 45 "id": "test-imp-id-2", 46 "audio": { 47 "mimes": null 48 }, 49 "tagid": "12345" 50 }] 51 } 52 }, 53 "mockResponse": { 54 "status": 200, 55 "body": { 56 "id": "test-request-id", 57 "seatbid": [{ 58 "bid": [{ 59 "id": "test-bid-id", 60 "impid": "test-imp-id", 61 "price": 10, 62 "adm": "{vast xml}", 63 "crid": "test-creative-id" 64 }, { 65 "id": "test-bid-id", 66 "impid": "test-imp-id-2", 67 "price": 10, 68 "adm": "{vast xml}", 69 "crid": "test-creative-id", 70 "ext": { 71 "prebid": { 72 "type": "not-a-banner" 73 } 74 } 75 }] 76 }], 77 "cur": "USD" 78 } 79 } 80 } 81 ], 82 "expectedBidResponses": [{"currency":"USD","bids":[]}], 83 "expectedMakeBidsErrors": [ 84 { 85 "value": "Failed to parse impression \"test-imp-id\" mediatype", 86 "comparison": "literal" 87 }, 88 { 89 "value": "invalid BidType: not-a-banner", 90 "comparison": "literal" 91 } 92 ] 93 }