github.com/prebid/prebid-server@v0.275.0/adapters/smartyads/smartyadstest/supplemental/empty-seatbid-array.json (about) 1 { 2 "mockBidRequest": { 3 "id": "some-request-id", 4 "device": { 5 "ua": "test-user-agent", 6 "ip": "123.123.123.123", 7 "language": "en", 8 "dnt": 0 9 }, 10 "tmax": 1000, 11 "user": { 12 "buyeruid": "awesome-user" 13 }, 14 "app": { 15 "publisher": { 16 "id": "123456789" 17 }, 18 "cat": [ 19 "IAB22-1" 20 ], 21 "bundle": "com.app.awesome", 22 "name": "Awesome App", 23 "domain": "awesomeapp.com", 24 "id": "123456789" 25 }, 26 "imp": [ 27 { 28 "id": "some-impression-id", 29 "tagid": "ogTAGID", 30 "video": { 31 "mimes": [ 32 "video/mp4" 33 ], 34 "w": 640, 35 "h": 480, 36 "minduration": 120, 37 "maxduration": 150 38 }, 39 "ext": { 40 "bidder": { 41 "host": "ep1", 42 "sourceid": "partner", 43 "accountid": "hash" 44 } 45 } 46 } 47 ] 48 }, 49 "httpCalls": [ 50 { 51 "expectedRequest": { 52 "headers": { 53 "Content-Type": [ 54 "application/json;charset=utf-8" 55 ], 56 "Accept": [ 57 "application/json" 58 ], 59 "X-Openrtb-Version": [ 60 "2.5" 61 ], 62 "User-Agent": [ 63 "test-user-agent" 64 ], 65 "X-Forwarded-For": [ 66 "123.123.123.123" 67 ], 68 "Accept-Language": [ 69 "en" 70 ], 71 "Dnt": [ 72 "0" 73 ] 74 }, 75 "uri": "http://ep1.example.com/bid?rtb_seat_id=partner&secret_key=hash", 76 "body": { 77 "id": "some-request-id", 78 "device": { 79 "ua": "test-user-agent", 80 "ip": "123.123.123.123", 81 "language": "en", 82 "dnt": 0 83 }, 84 "imp": [ 85 { 86 "id": "some-impression-id", 87 "video": { 88 "mimes": [ 89 "video/mp4" 90 ], 91 "minduration": 120, 92 "maxduration": 150, 93 "w": 640, 94 "h": 480 95 }, 96 "tagid": "ogTAGID" 97 } 98 ], 99 "app": { 100 "id": "123456789", 101 "name": "Awesome App", 102 "bundle": "com.app.awesome", 103 "domain": "awesomeapp.com", 104 "cat": [ 105 "IAB22-1" 106 ], 107 "publisher": { 108 "id": "123456789" 109 } 110 }, 111 "user": { 112 "buyeruid": "awesome-user" 113 }, 114 "tmax": 1000 115 } 116 }, 117 "mockResponse": { 118 "status": 200, 119 "body": { 120 "id": "awesome-resp-id", 121 "seatbid": [ 122 ], 123 "cur": "USD", 124 "ext": { 125 "responsetimemillis": { 126 "smartyads": 154 127 }, 128 "tmaxrequest": 1000 129 } 130 } 131 } 132 } 133 ], 134 "mockResponse": { 135 "status": 200, 136 "body": "invalid response" 137 }, 138 "expectedMakeBidsErrors": [ 139 { 140 "value": "Empty SeatBid array", 141 "comparison": "literal" 142 } 143 ] 144 }