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