github.com/prebid/prebid-server/v2@v2.18.0/adapters/ix/ixtest/supplemental/multi-imp-requests-error.json (about) 1 { 2 "mockBidRequest": { 3 "id": "test-request-id", 4 "imp": [ 5 { 6 "id": "test-imp-id-1", 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 "siteId": "569749", 22 "sid": 12345 23 } 24 } 25 }, 26 { 27 "id": "test-imp-id-2", 28 "video": { 29 "mimes": [ 30 "video/mp4" 31 ], 32 "minduration": 15, 33 "maxduration": 30, 34 "protocols": [ 35 2, 36 3, 37 5, 38 6, 39 7, 40 8 41 ], 42 "w": 940, 43 "h": 560 44 }, 45 "ext": { 46 "bidder": { 47 "siteId": "569749" 48 } 49 } 50 }, 51 { 52 "id": "test-imp-id-3", 53 "banner": { 54 "format": [ 55 { 56 "w": 300, 57 "h": 600 58 } 59 ] 60 }, 61 "ext": { 62 "bidder": { 63 "siteId": "569749" 64 } 65 } 66 } 67 ] 68 }, 69 "httpCalls": [ 70 { 71 "expectedRequest": { 72 "uri": "http://host/endpoint", 73 "body": { 74 "id": "test-request-id", 75 "imp": [ 76 { 77 "id": "test-imp-id-2", 78 "video": { 79 "mimes": [ 80 "video/mp4" 81 ], 82 "minduration": 15, 83 "maxduration": 30, 84 "protocols": [ 85 2, 86 3, 87 5, 88 6, 89 7, 90 8 91 ], 92 "w": 940, 93 "h": 560 94 }, 95 "ext": { 96 "bidder": { 97 "siteId": "569749" 98 } 99 } 100 }, 101 { 102 "id": "test-imp-id-3", 103 "banner": { 104 "format": [ 105 { 106 "w": 300, 107 "h": 600 108 } 109 ], 110 "w": 300, 111 "h": 600 112 }, 113 "ext": { 114 "bidder": { 115 "siteId": "569749" 116 } 117 } 118 } 119 ] 120 }, 121 "impIDs":["test-imp-id-2","test-imp-id-3"] 122 }, 123 "mockResponse": { 124 "status": 200, 125 "body": { 126 "id": "test-request-id", 127 "seatbid": [ 128 { 129 "seat": "958", 130 "bid": [ 131 { 132 "id": "7706636740145184841", 133 "impid": "test-imp-id-1", 134 "price": 0.5, 135 "adid": "29681110", 136 "adm": "some-test-ad", 137 "adomain": [ 138 "https://advertiser.example.com" 139 ], 140 "cid": "958", 141 "crid": "29681110", 142 "h": 600, 143 "w": 300, 144 "ext": { 145 "ix": {} 146 } 147 } 148 ] 149 } 150 ], 151 "bidid": "5778926625248726496", 152 "cur": "USD" 153 } 154 } 155 } 156 ], 157 "expectedBidResponses": [ 158 { 159 "currency": "USD", 160 "bids": [ 161 { 162 "bid": { 163 "id": "7706636740145184841", 164 "impid": "test-imp-id-1", 165 "price": 0.5, 166 "adm": "some-test-ad", 167 "adid": "29681110", 168 "adomain": [ 169 "https://advertiser.example.com" 170 ], 171 "cid": "958", 172 "crid": "29681110", 173 "w": 300, 174 "h": 600, 175 "ext": { 176 "ix": {} 177 } 178 }, 179 "type": "banner" 180 } 181 ] 182 } 183 ], 184 "expectedMakeRequestsErrors": [ 185 { 186 "value": "json: cannot unmarshal number into Go struct field ExtImpIx.sid of type string", 187 "comparison": "literal" 188 } 189 ] 190 }