github.com/prebid/prebid-server/v2@v2.18.0/adapters/huaweiads/huaweiadstest/exemplary/bannerTestExtraInfo2.json (about) 1 { 2 "mockBidRequest": { 3 "id": "a3b18c5b-6708-4bb7-b41b-40ed37d89561", 4 "source": { 5 "tid": "a3b18c5b-6708-4bb7-b41b-40ed37d89561" 6 }, 7 "imp": [ 8 { 9 "id": "PrebidMobile", 10 "secure": 1, 11 "banner": { 12 "format": [ 13 { 14 "w": 300, 15 "h": 250 16 } 17 ], 18 "api": [ 19 5 20 ] 21 }, 22 "ext": { 23 "prebid": { 24 "storedrequest": { 25 "id": "1001-1" 26 } 27 }, 28 "bidder": { 29 "slotid": "m8x9x3rzff", 30 "adtype": "banner", 31 "publisherid": "123", 32 "signkey": "signkey", 33 "keyid": "41", 34 "isTestAuthorization": "true" 35 } 36 } 37 } 38 ], 39 "device": { 40 "make": "HUAWEI", 41 "model": "LYA-AL00", 42 "ua": "ua", 43 "lmt": 0, 44 "os": "android", 45 "osv": "29", 46 "language": "en", 47 "w": 360, 48 "h": 755, 49 "pxratio": 3, 50 "mccmnc": "424-3", 51 "carrier": "carrier", 52 "connectiontype": 1, 53 "geo": { 54 "country": "RUS" 55 } 56 }, 57 "app": { 58 "bundle": "com.example4.p", 59 "ver": "1.11", 60 "name": "API1.0Demo", 61 "publisher": { 62 "id": "1001" 63 }, 64 "ext": { 65 "prebid": { 66 "source": "prebid-mobile", 67 "version": "1.11" 68 } 69 } 70 }, 71 "user": { 72 "gender": "O", 73 "ext": { 74 "data": { 75 "gaid": [ 76 "gaid" 77 ], 78 "oaid": [ 79 "oaid" 80 ], 81 "clientTime": [ 82 "2018-11-02 16:34:07.981+1300" 83 ] 84 } 85 } 86 }, 87 "ext": { 88 "prebid": { 89 "storedrequest": { 90 "id": "1001" 91 }, 92 "cache": { 93 "bids": {} 94 }, 95 "targeting": {} 96 } 97 } 98 }, 99 "httpcalls": [ 100 { 101 "expectedRequest": { 102 "uri": "https://adx-drru.op.hicloud.com/ppsadx/getResult", 103 "headers": { 104 "Accept": [ 105 "application/json" 106 ], 107 "Content-Type": [ 108 "application/json;charset=utf-8" 109 ], 110 "User-Agent": [ 111 "ua" 112 ], 113 "Authorization": [ 114 "Digest username=123,realm=ppsadx/getResult,nonce=1629473330823,response=d1d61a13a83e1468aa4dff5c8a6cee0b8b381173ca3eb6fa9b313937684d87c0,algorithm=HmacSHA256,usertype=1,keyid=41" 115 ] 116 }, 117 "body": { 118 "app": { 119 "lang": "en", 120 "country": "RU", 121 "name": "API1.0Demo", 122 "pkgname": "com.example.pkgname2", 123 "version": "1.11" 124 }, 125 "multislot": [ 126 { 127 "adtype": 8, 128 "slotid": "m8x9x3rzff", 129 "test": 1, 130 "format": [ 131 { 132 "w": 300, 133 "h": 250 134 } 135 ] 136 } 137 ], 138 "device": { 139 "height": 755, 140 "language": "en", 141 "oaid": "oaid", 142 "os": "android", 143 "localeCountry": "RU", 144 "pxratio": 3, 145 "width": 360, 146 "model": "LYA-AL00", 147 "clientTime": "2018-11-02 16:34:07.981+1300", 148 "gaid": "gaid", 149 "useragent": "ua", 150 "version": "29", 151 "maker": "HUAWEI", 152 "belongCountry": "RU" 153 }, 154 "geo": { 155 }, 156 "network": { 157 "carrier": 99, 158 "cellInfo": [ 159 { 160 "mcc": "424", 161 "mnc": "3" 162 } 163 ], 164 "type": 1 165 }, 166 "regs": { 167 }, 168 "version": "3.4", 169 "clientAdRequestId": "a3b18c5b-6708-4bb7-b41b-40ed37d89561" 170 }, 171 "impIDs":["PrebidMobile"] 172 }, 173 "mockResponse": { 174 "status": 200, 175 "body": { 176 "ctrlSwitchs": "0", 177 "dsp1cost": 61, 178 "dspcost": 108, 179 "multiad": [ 180 { 181 "adtype": 8, 182 "brsetting": "Y", 183 "content": [ 184 { 185 "clickActionList": [ 186 1 187 ], 188 "contentid": "58025103", 189 "creativetype": 2, 190 "endtime": 1621428898335, 191 "filterList": [ 192 3 193 ], 194 "interactiontype": 1, 195 "landingTitle": 1, 196 "metaData": { 197 "adSign": "2", 198 "appPromotionChannel": "401721412", 199 "clickUrl": "https://ads.huawei.com/usermgtportal/home/index.html#/", 200 "imageInfo": [ 201 { 202 "checkSha256Flag": 1, 203 "height": 250, 204 "imageType": "img", 205 "sha256": "", 206 "url": "https://ads.huawei.com/usermgtportal/home/img/huawei_logo_black.aaec817d.svg", 207 "width": 300 208 } 209 ], 210 "label": "Banner_API", 211 "landingPageType": "3" 212 }, 213 "monitor": [ 214 { 215 "eventType": "click" 216 }, 217 { 218 "eventType": "imp", 219 "url": [ 220 ] 221 } 222 ], 223 "paramfromserver": { 224 "a": "1||test", 225 "sig": "", 226 "t": "99990101235959" 227 }, 228 "price": 2.8, 229 "starttime": 1621267200000, 230 "taskid": "48017658" 231 } 232 ], 233 "retcode30": 200, 234 "slotid": "m8x9x3rzff" 235 } 236 ], 237 "noReportAdTypeEventList": [ 238 { 239 "adType": 8, 240 "eventTypeList": [ 241 "exception_6" 242 ] 243 } 244 ], 245 "retcode": 200, 246 "totalCacheSize": 300 247 } 248 } 249 } 250 ], 251 "expectedBidResponses": [ 252 { 253 "currency": "USD", 254 "bids": [ 255 { 256 "bid": { 257 "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='300' height='250'/> </a> <script type=\"text/javascript\">var dspClickTrackings = [];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>", 258 "adomain": [ 259 "huaweiads" 260 ], 261 "h": 250, 262 "w": 300, 263 "crid": "58025103", 264 "id": "PrebidMobile", 265 "impid": "PrebidMobile", 266 "price": 2.8 267 }, 268 "type": "banner" 269 } 270 ] 271 } 272 ] 273 }