github.com/prebid/prebid-server@v0.275.0/adapters/sovrn/sovrntest/supplemental/invalid-imp-id.json (about) 1 { 2 "mockBidRequest": { 3 "id": "test-request-id", 4 "imp": [ 5 { 6 "id": "test-imp-id1", 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 "tagid": "123456" 22 } 23 } 24 } 25 ], 26 "device": { 27 "ua": "test-user-agent", 28 "ip": "123.123.123.123", 29 "language": "en", 30 "dnt": 0 31 }, 32 "site": { 33 "domain": "www.publisher.com", 34 "page": "http://www.publisher.com/awesome/site" 35 }, 36 "user": { 37 "buyeruid": "test_reader_id" 38 } 39 }, 40 41 "httpCalls": [ 42 { 43 "expectedRequest": { 44 "headers": { 45 "Content-Type": ["application/json"], 46 "User-Agent": ["test-user-agent"], 47 "X-Forwarded-For": ["123.123.123.123"], 48 "Accept-Language": ["en"], 49 "Dnt": ["0"], 50 "Cookie": ["ljt_reader=test_reader_id"] 51 }, 52 "uri": "http://sovrn.com/test/endpoint", 53 "body": { 54 "id": "test-request-id", 55 "imp": [ 56 { 57 "id": "test-imp-id1", 58 "banner": { 59 "format": [ 60 { 61 "w": 300, 62 "h": 250 63 }, 64 { 65 "w": 300, 66 "h": 600 67 } 68 ] 69 }, 70 "tagid": "123456", 71 "ext": { 72 "bidder": { 73 "tagid": "123456" 74 } 75 } 76 } 77 ], 78 "site": { 79 "domain": "www.publisher.com", 80 "page": "http://www.publisher.com/awesome/site" 81 }, 82 "user": { 83 "buyeruid": "test_reader_id" 84 }, 85 "device": { 86 "ua": "test-user-agent", 87 "ip": "123.123.123.123", 88 "dnt": 0, 89 "language": "en" 90 } 91 } 92 }, 93 "mockResponse": { 94 "status": 200, 95 "body": { 96 "id": "test-request-id", 97 "seatbid": [ 98 { 99 "bid": [ 100 { 101 "id": "a_449642_554a13d3b9f348fba707cf83f0f63800", 102 "impid": "test-imp-idx", 103 "price": 3.5, 104 "nurl": "http://sovrn.com/rtb/impression?bannerid=138743&campaignid=3699&zoneid=449642&cb=69493397&tid=a_449642_554a13d3b9f348fba707cf83f0f63800", 105 "adm": "some-test-ad", 106 "w": 300, 107 "h": 250 108 } 109 ] 110 } 111 ] 112 } 113 } 114 } 115 ], 116 "expectedBidResponses": [{"currency":"USD","bids":[]}], 117 "expectedMakeBidsErrors": [ 118 { 119 "value": "Imp ID test-imp-idx in bid didn't match with any imp in the original request", 120 "comparison": "literal" 121 } 122 ] 123 }