github.com/prebid/prebid-server/v2@v2.18.0/adapters/silverpush/silverpushtest/supplemental/bad-response-unmarshal.json (about) 1 { 2 "mockBidRequest":{ 3 "id": "X4lwEgAAyXAKlqvGCwa9kg", 4 "imp": [ 5 { 6 "id": "1", 7 "banner": { 8 "w": 300, 9 "h": 50, 10 "pos": 3, 11 "mimes": [ 12 "image/jpeg", 13 "image/gif" 14 ], 15 "expdir": [ 16 1, 17 2, 18 3, 19 4 20 ], 21 22 "format": [ 23 { 24 "w": 290, 25 "h": 260 26 } 27 ] 28 }, 29 "tagid": "2612792908", 30 "bidfloor": 0.01, 31 "bidfloorcur": "USD", 32 "secure": 1, 33 "ext": { 34 "bidder": { 35 "publisherId": "publisher123", 36 "bidfloor": 0.05 37 } 38 } 39 } 40 ], 41 "app": { 42 "publisher": { 43 "id": "publisher123" 44 } 45 }, 46 "site": { 47 "domain": "stg.betterbutter.in", 48 "publisher": { 49 "id": "publisher123" 50 } 51 52 }, 53 "device": { 54 "devicetype": 2, 55 "dnt": 0, 56 "h": 2340, 57 "ifa": "9e13d2bf-e968-4065-b4db-852123b627a9", 58 "ip": "110.33.122.75", 59 "js": 1, 60 "make": "OPPO", 61 "model": "CPH2209", 62 "os": "macOS", 63 "osv": "11", 64 "pxratio": 3, 65 "ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36", 66 "w": 1080 67 }, 68 "user": { 69 "id": "Uyb8g9qJmfcma4ABC" 70 }, 71 "at": 1, 72 "tmax": 1300, 73 "cur": [ 74 "USD" 75 ], 76 "ext": { 77 "bc": "sp_pb_ortb_1.0.0", 78 "publisherId": "publisher123" 79 } 80 }, 81 "httpCalls": [ 82 { 83 "expectedRequest": { 84 "headers": { 85 "Content-Type": ["application/json;charset=utf-8"], 86 "Accept": ["application/json"], 87 "X-Openrtb-Version": [ 88 "2.5" 89 ] 90 }, 91 "uri": "http://localhost:8080/bidder/?identifier=5krH8Q", 92 "body": { 93 94 "id": "X4lwEgAAyXAKlqvGCwa9kg", 95 "imp": [ 96 { 97 "id": "1", 98 "banner": { 99 "w": 300, 100 "h": 50, 101 "pos": 3, 102 "mimes": [ 103 "image/jpeg", 104 "image/gif" 105 ], 106 "expdir": [ 107 1, 108 2, 109 3, 110 4 111 ], 112 113 "format": [ 114 { 115 "w": 290, 116 "h": 260 117 } 118 ] 119 }, 120 "tagid": "2612792908", 121 "bidfloor": 0.05, 122 "bidfloorcur": "USD", 123 "secure": 1, 124 "ext": { 125 "bidder": { 126 "publisherId": "publisher123", 127 "bidfloor": 0.05 128 } 129 } 130 } 131 ], 132 "app": { 133 "publisher": { 134 "id": "publisher123" 135 } 136 }, 137 "device": { 138 "devicetype": 2, 139 "dnt": 0, 140 "h": 2340, 141 "ifa": "9e13d2bf-e968-4065-b4db-852123b627a9", 142 "ip": "110.33.122.75", 143 "js": 1, 144 "make": "OPPO", 145 "model": "CPH2209", 146 "os": "macOS", 147 "osv": "11", 148 "pxratio": 3, 149 "ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36", 150 "w": 1080 151 }, 152 "site": { 153 "domain": "stg.betterbutter.in", 154 "publisher": { 155 "id": "publisher123" 156 } 157 }, 158 "user": { 159 "id": "Uyb8g9qJmfcma4ABC" 160 }, 161 "at": 1, 162 "tmax": 1300, 163 "cur": [ 164 "USD" 165 ], 166 "ext": { 167 "bc": "sp_pb_ortb_1.0.0", 168 "publisherId": "publisher123" 169 } 170 }, 171 "impIDs":["1"] 172 }, 173 "mockResponse": { 174 "status": 200, 175 "body": "for unmarshal error" 176 } 177 } 178 ], 179 "expectedMakeBidsErrors": [ 180 { 181 "value": "json: cannot unmarshal string into Go value of type openrtb2.BidResponse", 182 "comparison": "literal" 183 } 184 ] 185 }