github.com/prebid/prebid-server/v2@v2.18.0/adapters/huaweiads/huaweiadstest/exemplary/banner6_imei.json (about) 1 { 2 "mockBidRequest": { 3 "id": "test-req-id", 4 "imp": [ 5 { 6 "id": "test-imp-id", 7 "banner": { 8 "format": [ 9 { 10 "w": 300, 11 "h": 250 12 } 13 ], 14 "w": 300, 15 "h": 250 16 }, 17 "ext": { 18 "bidder": { 19 "slotid": "m8x9x3rzff", 20 "adtype": "banner", 21 "publisherid": "123", 22 "signkey": "signkey", 23 "keyid": "41", 24 "isTestAuthorization": "true" 25 } 26 } 27 } 28 ], 29 "app": { 30 "bundle": "com.example.p1", 31 "name": "Huawei Browser", 32 "ver": "9.1.0.301", 33 "content": { 34 "language": "zh" 35 } 36 }, 37 "device": { 38 "ua": "useragent", 39 "h": 1920, 40 "language": "zh", 41 "model": "COL-TEST", 42 "os": "android", 43 "osv": "10.0.0", 44 "devicetype": 4, 45 "make": "huawei", 46 "w": 1080, 47 "ip": "ip", 48 "ifa": "e4fe9bde-caa0-47b6-908d-ffba3fa184f2", 49 "pxratio": 23.01, 50 "mccmnc": "460", 51 "geo": { 52 "country": "CHN" 53 } 54 }, 55 "user": { 56 "ext": { 57 "data": { 58 "gaid": [ 59 "gaid" 60 ], 61 "oaid": [ 62 "oaid" 63 ], 64 "imei": [ 65 "354347048908641" 66 ], 67 "clientTime": [ 68 "2018-11-02 16:34:07.981+1300" 69 ] 70 }, 71 "consent": "CPaYLJBPaYLJBIPAAAENCSCgAPAAAAAAAAAAGsQAQGsAAAAA.YAAAAAAAAAA" 72 } 73 }, 74 "regs": { 75 "coppa": 1 76 }, 77 "ext": { 78 } 79 }, 80 "httpcalls": [ 81 { 82 "expectedRequest": { 83 "uri": "https://acd.op.hicloud.com/ppsadx/getResult", 84 "headers": { 85 "Accept": [ 86 "application/json" 87 ], 88 "Content-Type": [ 89 "application/json;charset=utf-8" 90 ], 91 "User-Agent": [ 92 "useragent" 93 ], 94 "Authorization": [ 95 "Digest username=123,realm=ppsadx/getResult,nonce=1629473330823,response=d1d61a13a83e1468aa4dff5c8a6cee0b8b381173ca3eb6fa9b313937684d87c0,algorithm=HmacSHA256,usertype=1,keyid=41" 96 ] 97 }, 98 "body": { 99 "app": { 100 "lang": "zh", 101 "country": "CN", 102 "name": "Huawei Browser", 103 "pkgname": "com.example.pkgname1", 104 "version": "9.1.0.301" 105 }, 106 "multislot": [ 107 { 108 "adtype": 8, 109 "slotid": "m8x9x3rzff", 110 "test": 1, 111 "format": [ 112 { 113 "w": 300, 114 "h": 250 115 } 116 ], 117 "w": 300, 118 "h": 250 119 } 120 ], 121 "device": { 122 "height": 1920, 123 "language": "zh", 124 "oaid": "oaid", 125 "os": "android", 126 "type": 4, 127 "ip": "ip", 128 "localeCountry": "CN", 129 "pxratio": 23.01, 130 "width": 1080, 131 "clientTime": "2018-11-02 16:34:07.981+1300", 132 "gaid": "gaid", 133 "imei": "354347048908641", 134 "useragent": "useragent", 135 "version": "10.0.0", 136 "maker": "huawei", 137 "model": "COL-TEST", 138 "belongCountry": "CN" 139 }, 140 "geo": { 141 }, 142 "network": { 143 "type": 0 144 }, 145 "regs": { 146 "coppa": 1 147 }, 148 "consent": "CPaYLJBPaYLJBIPAAAENCSCgAPAAAAAAAAAAGsQAQGsAAAAA.YAAAAAAAAAA", 149 "version": "3.4", 150 "clientAdRequestId": "test-req-id" 151 }, 152 "impIDs":["test-imp-id"] 153 }, 154 "mockResponse": { 155 "status": 200, 156 "body": { 157 "ctrlSwitchs": "0", 158 "dsp1cost": 61, 159 "dspcost": 108, 160 "multiad": [ 161 { 162 "adtype": 8, 163 "brsetting": "Y", 164 "content": [ 165 { 166 "clickActionList": [ 167 1 168 ], 169 "contentid": "58025103", 170 "creativetype": 2, 171 "ctrlSwitchs": "001011001001010112", 172 "endtime": 1621428898335, 173 "filterList": [ 174 3 175 ], 176 "interactiontype": 1, 177 "landingTitle": 1, 178 "metaData": { 179 "adSign": "2", 180 "appPromotionChannel": "401721412", 181 "clickUrl": "https://ads.huawei.com/usermgtportal/home/index.html#/", 182 "imageInfo": [ 183 { 184 "checkSha256Flag": 1, 185 "height": 300, 186 "imageType": "img", 187 "sha256": "f5d8487cddaecec45b73fc078649478c80ec646bfec8ed7da4ff931f90eab232", 188 "url": "https://ads.huawei.com/usermgtportal/home/img/huawei_logo_black.aaec817d.svg", 189 "width": 250 190 } 191 ], 192 "label": "Banner_API", 193 "landingPageType": "3" 194 }, 195 "monitor": [ 196 { 197 "eventType": "click", 198 "url": [ 199 "http://test/click1", 200 "http://test/click2", 201 "http://test/click3" 202 ] 203 }, 204 { 205 "eventType": "imp", 206 "url": [ 207 "http://test/imp1", 208 "http://test/imp2", 209 "http://test/imp3" 210 ] 211 } 212 ], 213 "paramfromserver": { 214 "a": "1||test", 215 "sig": "", 216 "t": "99990101235959" 217 }, 218 "price": 2.8, 219 "starttime": 1621267200000, 220 "taskid": "48017658" 221 } 222 ], 223 "retcode30": 200, 224 "slotid": "m8x9x3rzff" 225 } 226 ], 227 "noReportAdTypeEventList": [ 228 { 229 "adType": 8, 230 "eventTypeList": [ 231 "exception_6" 232 ] 233 } 234 ], 235 "retcode": 200, 236 "totalCacheSize": 300 237 } 238 } 239 } 240 ], 241 "expectedBidResponses": [ 242 { 243 "currency": "USD", 244 "bids": [ 245 { 246 "bid": { 247 "adm": "<style> html, body { margin: 0; padding: 0; width: 100%; height: 100%; vertical-align: middle; } html { display: table; } body { display: table-cell; vertical-align: middle; text-align: center; -webkit-text-size-adjust: none; } </style> <span class=\"title-link advertiser_label\"></span> <a href='https://ads.huawei.com/usermgtportal/home/index.html#/' style=\"text-decoration:none\" onclick=sendGetReq()> <img src='https://ads.huawei.com/usermgtportal/home/img/huawei_logo_black.aaec817d.svg' width='250' height='300'/> </a> <img height=\"1\" width=\"1\" src='http://test/imp1' > <img height=\"1\" width=\"1\" src='http://test/imp2' > <img height=\"1\" width=\"1\" src='http://test/imp3' > <script type=\"text/javascript\">var dspClickTrackings = [\"http://test/click1\",\"http://test/click2\",\"http://test/click3\"];function sendGetReq() {sendSomeGetReq(dspClickTrackings)}function sendOneGetReq(url) {var req = new XMLHttpRequest();req.open('GET', url, true);req.send(null);}function sendSomeGetReq(urls) {for (var i = 0; i < urls.length; i++) {sendOneGetReq(urls[i]);}}</script>", 248 "adomain": [ 249 "huaweiads" 250 ], 251 "crid": "58025103", 252 "id": "test-imp-id", 253 "impid": "test-imp-id", 254 "price": 2.8, 255 "h": 300, 256 "w": 250 257 }, 258 "type": "banner" 259 } 260 ] 261 } 262 ] 263 }