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