github.com/prebid/prebid-server/v2@v2.18.0/adapters/huaweiads/huaweiadstest/exemplary/banner1.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            "clientTime": [
    65              "2018-11-02 16:34:07.981+1300"
    66            ]
    67          },
    68          "consent": "CPaYLJBPaYLJBIPAAAENCSCgAPAAAAAAAAAAGsQAQGsAAAAA.YAAAAAAAAAA"
    69        }
    70      },
    71      "regs": {
    72        "coppa": 1
    73      },
    74      "ext": {
    75      }
    76    },
    77    "httpcalls": [
    78      {
    79        "expectedRequest": {
    80          "uri": "https://acd.op.hicloud.com/ppsadx/getResult",
    81          "headers": {
    82            "Accept": [
    83              "application/json"
    84            ],
    85            "Content-Type": [
    86              "application/json;charset=utf-8"
    87            ],
    88            "User-Agent": [
    89              "useragent"
    90            ],
    91            "Authorization": [
    92              "Digest username=123,realm=ppsadx/getResult,nonce=1629473330823,response=d1d61a13a83e1468aa4dff5c8a6cee0b8b381173ca3eb6fa9b313937684d87c0,algorithm=HmacSHA256,usertype=1,keyid=41"
    93            ]
    94          },
    95          "body": {
    96            "app": {
    97              "lang": "zh",
    98              "country": "CN",
    99              "name": "Huawei Browser",
   100              "pkgname": "com.example.pkgname1",
   101              "version": "9.1.0.301"
   102            },
   103            "multislot": [
   104              {
   105                "adtype": 8,
   106                "slotid": "m8x9x3rzff",
   107                "test": 1,
   108                "format": [
   109                  {
   110                    "w": 300,
   111                    "h": 250
   112                  }
   113                ],
   114                "w": 300,
   115                "h": 250
   116              }
   117            ],
   118            "device": {
   119              "height": 1920,
   120              "language": "zh",
   121              "oaid": "oaid",
   122              "os": "android",
   123              "type": 4,
   124              "ip": "ip",
   125              "localeCountry": "CN",
   126              "pxratio": 23.01,
   127              "width": 1080,
   128              "clientTime": "2018-11-02 16:34:07.981+1300",
   129              "gaid": "gaid",
   130              "useragent": "useragent",
   131              "version": "10.0.0",
   132              "maker": "huawei",
   133              "model": "COL-TEST",
   134              "belongCountry": "CN"
   135            },
   136            "geo": {
   137            },
   138            "network": {
   139              "type": 0
   140            },
   141            "regs": {
   142              "coppa": 1
   143            },
   144            "consent": "CPaYLJBPaYLJBIPAAAENCSCgAPAAAAAAAAAAGsQAQGsAAAAA.YAAAAAAAAAA",
   145            "version": "3.4",
   146            "clientAdRequestId": "test-req-id"
   147          },
   148          "impIDs":["test-imp-id"]
   149        },
   150        "mockResponse": {
   151          "status": 200,
   152          "body": {
   153            "ctrlSwitchs": "0",
   154            "dsp1cost": 61,
   155            "dspcost": 108,
   156            "multiad": [
   157              {
   158                "adtype": 8,
   159                "brsetting": "Y",
   160                "content": [
   161                  {
   162                    "clickActionList": [
   163                      1
   164                    ],
   165                    "contentid": "58025103",
   166                    "creativetype": 2,
   167                    "ctrlSwitchs": "001011001001010112",
   168                    "endtime": 1621428898335,
   169                    "filterList": [
   170                      3
   171                    ],
   172                    "interactiontype": 1,
   173                    "landingTitle": 1,
   174                    "metaData": {
   175                      "adSign": "2",
   176                      "appPromotionChannel": "401721412",
   177                      "clickUrl": "https://ads.huawei.com/usermgtportal/home/index.html#/",
   178                      "imageInfo": [
   179                        {
   180                          "checkSha256Flag": 1,
   181                          "height": 300,
   182                          "imageType": "img",
   183                          "sha256": "f5d8487cddaecec45b73fc078649478c80ec646bfec8ed7da4ff931f90eab232",
   184                          "url": "https://ads.huawei.com/usermgtportal/home/img/huawei_logo_black.aaec817d.svg",
   185                          "width": 250
   186                        }
   187                      ],
   188                      "label": "Banner_API",
   189                      "landingPageType": "3"
   190                    },
   191                    "monitor": [
   192                      {
   193                        "eventType": "click",
   194                        "url": [
   195                          "http://test/click1",
   196                          "http://test/click2",
   197                          "http://test/click3"
   198                        ]
   199                      },
   200                      {
   201                        "eventType": "imp",
   202                        "url": [
   203                          "http://test/imp1",
   204                          "http://test/imp2",
   205                          "http://test/imp3"
   206                        ]
   207                      }
   208                    ],
   209                    "paramfromserver": {
   210                      "a": "1||test",
   211                      "sig": "",
   212                      "t": "99990101235959"
   213                    },
   214                    "price": 2.8,
   215                    "starttime": 1621267200000,
   216                    "taskid": "48017658"
   217                  }
   218                ],
   219                "retcode30": 200,
   220                "slotid": "m8x9x3rzff"
   221              }
   222            ],
   223            "noReportAdTypeEventList": [
   224              {
   225                "adType": 8,
   226                "eventTypeList": [
   227                  "exception_6"
   228                ]
   229              }
   230            ],
   231            "retcode": 200,
   232            "totalCacheSize": 300
   233          }
   234        }
   235      }
   236    ],
   237    "expectedBidResponses": [
   238      {
   239        "currency": "USD",
   240        "bids": [
   241          {
   242            "bid": {
   243              "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>",
   244              "adomain": [
   245                "huaweiads"
   246              ],
   247              "crid": "58025103",
   248              "id": "test-imp-id",
   249              "impid": "test-imp-id",
   250              "price": 2.8,
   251              "h": 300,
   252              "w": 250
   253            },
   254            "type": "banner"
   255          }
   256        ]
   257      }
   258    ]
   259  }