github.com/prebid/prebid-server@v0.275.0/adapters/huaweiads/huaweiadstest/exemplary/bannerTestExtraInfo3.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": "TUN" 55 } 56 }, 57 "app": { 58 "bundle": "com.example3.unchanged", 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-dra.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": "TN", 121 "name": "API1.0Demo", 122 "pkgname": "com.example3.unchanged", 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": "TN", 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": "TN" 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 }, 172 "mockResponse": { 173 "status": 200, 174 "body": { 175 "ctrlSwitchs": "0", 176 "dsp1cost": 61, 177 "dspcost": 108, 178 "multiad": [ 179 { 180 "adtype": 8, 181 "brsetting": "Y", 182 "content": [ 183 { 184 "clickActionList": [ 185 1 186 ], 187 "contentid": "58025103", 188 "creativetype": 2, 189 "endtime": 1621428898335, 190 "filterList": [ 191 3 192 ], 193 "interactiontype": 1, 194 "landingTitle": 1, 195 "metaData": { 196 "adSign": "2", 197 "appPromotionChannel": "401721412", 198 "clickUrl": "https://ads.huawei.com/usermgtportal/home/index.html#/", 199 "imageInfo": [ 200 { 201 "checkSha256Flag": 1, 202 "height": 250, 203 "imageType": "img", 204 "sha256": "", 205 "url": "https://ads.huawei.com/usermgtportal/home/img/huawei_logo_black.aaec817d.svg", 206 "width": 300 207 } 208 ], 209 "label": "Banner_API", 210 "landingPageType": "3" 211 }, 212 "monitor": [ 213 { 214 "eventType": "click" 215 }, 216 { 217 "eventType": "imp", 218 "url": [ 219 ] 220 } 221 ], 222 "paramfromserver": { 223 "a": "1||test", 224 "sig": "", 225 "t": "99990101235959" 226 }, 227 "price": 2.8, 228 "starttime": 1621267200000, 229 "taskid": "48017658" 230 } 231 ], 232 "retcode30": 200, 233 "slotid": "m8x9x3rzff" 234 } 235 ], 236 "noReportAdTypeEventList": [ 237 { 238 "adType": 8, 239 "eventTypeList": [ 240 "exception_6" 241 ] 242 } 243 ], 244 "retcode": 200, 245 "totalCacheSize": 300 246 } 247 } 248 } 249 ], 250 "expectedBidResponses": [ 251 { 252 "currency": "USD", 253 "bids": [ 254 { 255 "bid": { 256 "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>", 257 "adomain": [ 258 "huaweiads" 259 ], 260 "h": 250, 261 "w": 300, 262 "crid": "58025103", 263 "id": "PrebidMobile", 264 "impid": "PrebidMobile", 265 "price": 2.8 266 }, 267 "type": "banner" 268 } 269 ] 270 } 271 ] 272 }