github.com/prebid/prebid-server@v0.275.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 }, 153 "mockResponse": { 154 "status": 200, 155 "body": { 156 "ctrlSwitchs": "0", 157 "dsp1cost": 61, 158 "dspcost": 108, 159 "multiad": [ 160 { 161 "adtype": 8, 162 "brsetting": "Y", 163 "content": [ 164 { 165 "clickActionList": [ 166 1 167 ], 168 "contentid": "58025103", 169 "creativetype": 2, 170 "ctrlSwitchs": "001011001001010112", 171 "endtime": 1621428898335, 172 "filterList": [ 173 3 174 ], 175 "interactiontype": 1, 176 "landingTitle": 1, 177 "metaData": { 178 "adSign": "2", 179 "appPromotionChannel": "401721412", 180 "clickUrl": "https://ads.huawei.com/usermgtportal/home/index.html#/", 181 "imageInfo": [ 182 { 183 "checkSha256Flag": 1, 184 "height": 300, 185 "imageType": "img", 186 "sha256": "f5d8487cddaecec45b73fc078649478c80ec646bfec8ed7da4ff931f90eab232", 187 "url": "https://ads.huawei.com/usermgtportal/home/img/huawei_logo_black.aaec817d.svg", 188 "width": 250 189 } 190 ], 191 "label": "Banner_API", 192 "landingPageType": "3" 193 }, 194 "monitor": [ 195 { 196 "eventType": "click", 197 "url": [ 198 "http://test/click1", 199 "http://test/click2", 200 "http://test/click3" 201 ] 202 }, 203 { 204 "eventType": "imp", 205 "url": [ 206 "http://test/imp1", 207 "http://test/imp2", 208 "http://test/imp3" 209 ] 210 } 211 ], 212 "paramfromserver": { 213 "a": "1||test", 214 "sig": "", 215 "t": "99990101235959" 216 }, 217 "price": 2.8, 218 "starttime": 1621267200000, 219 "taskid": "48017658" 220 } 221 ], 222 "retcode30": 200, 223 "slotid": "m8x9x3rzff" 224 } 225 ], 226 "noReportAdTypeEventList": [ 227 { 228 "adType": 8, 229 "eventTypeList": [ 230 "exception_6" 231 ] 232 } 233 ], 234 "retcode": 200, 235 "totalCacheSize": 300 236 } 237 } 238 } 239 ], 240 "expectedBidResponses": [ 241 { 242 "currency": "USD", 243 "bids": [ 244 { 245 "bid": { 246 "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>", 247 "adomain": [ 248 "huaweiads" 249 ], 250 "crid": "58025103", 251 "id": "test-imp-id", 252 "impid": "test-imp-id", 253 "price": 2.8, 254 "h": 300, 255 "w": 250 256 }, 257 "type": "banner" 258 } 259 ] 260 } 261 ] 262 }