github.com/prebid/prebid-server@v0.275.0/adapters/huaweiads/huaweiadstest/exemplary/nativeThreeImageIncludeIcon.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "test-req-id",
     4      "imp": [
     5        {
     6          "id": "test-imp-id",
     7          "native": {
     8            "request": "{\"context\":2,\"contextsubtype\":20,\"plcmttype\":1,\"plcmtcnt\":1,\"seq\":0,\"aurlsupport\":0,\"durlsupport\":0,\"eventtrackers\":[{\"event\":1,\"methods\":[1,2]}],\"privacy\":0,\"assets\":[{\"id\":100,\"title\":{\"len\":90},\"required\":1},{\"id\":101,\"img\":{\"type\":3,\"wmin\":200,\"hmin\":200},\"required\":1},{\"id\":102,\"img\":{\"type\":1,\"w\":20,\"h\":20},\"required\":1},{\"id\":103,\"img\":{\"type\":3,\"wmin\":200,\"hmin\":200},\"required\":1},{\"id\":105,\"data\":{\"type\":2,\"len\":90},\"required\":1}],\"ver\":\"1.2\"}",
     9            "ver": "1.2"
    10          },
    11          "ext": {
    12            "bidder": {
    13              "slotid": "u42ohmaufh",
    14              "adtype": "native",
    15              "publisherid": "123",
    16              "signkey": "signkey",
    17              "keyid": "41",
    18              "isTestAuthorization": "true"
    19            }
    20          }
    21        }
    22      ],
    23      "app": {
    24        "bundle": "com.huawei.browser",
    25        "name": "Huawei Browser",
    26        "ver": "9.1.0.301"
    27      },
    28      "device": {
    29        "ua": "useragent",
    30        "h": 1920,
    31        "language": "zh",
    32        "geoCountry": "CH",
    33        "model": "COL-TEST",
    34        "os": "android",
    35        "osv": "10.0.0",
    36        "devicetype": 4,
    37        "make": "huawei",
    38        "w": 1080,
    39        "ip": "152.193.6.74",
    40        "pxratio": 23.01,
    41        "geo": {
    42          "country": ""
    43        }
    44      },
    45      "user": {
    46        "ext": {
    47          "data": {
    48            "gaid": [
    49              "gaid"
    50            ],
    51            "oaid": [
    52              "oaid"
    53            ],
    54            "clientTime": [
    55              "2018-11-02 16:34:07.981+1300"
    56            ]
    57          }
    58        }
    59      },
    60      "ext": {
    61      }
    62    },
    63    "httpcalls": [
    64      {
    65        "expectedRequest": {
    66          "uri": "https://adx-dra.op.hicloud.com/ppsadx/getResult",
    67          "headers": {
    68            "Accept": [
    69              "application/json"
    70            ],
    71            "Content-Type": [
    72              "application/json;charset=utf-8"
    73            ],
    74            "User-Agent": [
    75              "useragent"
    76            ],
    77            "Authorization": [
    78              "Digest username=123,realm=ppsadx/getResult,nonce=1629473330823,response=d1d61a13a83e1468aa4dff5c8a6cee0b8b381173ca3eb6fa9b313937684d87c0,algorithm=HmacSHA256,usertype=1,keyid=41"
    79            ]
    80          },
    81          "body": {
    82            "app": {
    83              "lang": "en",
    84              "country": "ZA",
    85              "name": "Huawei Browser",
    86              "pkgname": "com.huawei.browser",
    87              "version": "9.1.0.301"
    88            },
    89            "multislot": [
    90              {
    91                "adtype": 3,
    92                "slotid": "u42ohmaufh",
    93                "detailedCreativeTypeList": [
    94                  "904"
    95                ],
    96                "test": 1
    97              }
    98            ],
    99            "device": {
   100              "height": 1920,
   101              "language": "zh",
   102              "oaid": "oaid",
   103              "os": "android",
   104              "type": 4,
   105              "ip": "152.193.6.74",
   106              "localeCountry": "ZA",
   107              "pxratio": 23.01,
   108              "model": "COL-TEST",
   109              "width": 1080,
   110              "clientTime": "2018-11-02 16:34:07.981+1300",
   111              "gaid": "gaid",
   112              "useragent": "useragent",
   113              "version": "10.0.0",
   114              "maker": "huawei",
   115              "belongCountry": "ZA"
   116            },
   117            "geo": {
   118            },
   119            "network": {
   120              "type": 0
   121            },
   122            "regs": {
   123            },
   124            "version": "3.4",
   125            "clientAdRequestId": "test-req-id"
   126          }
   127        },
   128        "mockResponse": {
   129          "status": 200,
   130          "body": {
   131            "ctrlSwitchs": "0",
   132            "multiad": [
   133              {
   134                "adtype": 3,
   135                "content": [
   136                  {
   137                    "contentid": "58022259",
   138                    "creativetype": 106,
   139                    "endtime": 1621344684645,
   140                    "interactiontype": 1,
   141                    "landingTitle": 1,
   142                    "metaData": {
   143                      "adSign": "2",
   144                      "apkInfo": {
   145                        "appIcon": "https://icon.png",
   146                        "appName": "%E6%89%8B%E6%9C%BA%E6%B7%98%E5%AE%9D",
   147                        "fileSize": 118902470,
   148                        "packageName": "com.demo.package",
   149                        "permPromptForCard": "0",
   150                        "popNotify": 1,
   151                        "popUpAfterInstallNew": 1,
   152                        "priorInstallWay": "2",
   153                        "sha256": "sha256",
   154                        "url": "https://test/apkurl",
   155                        "versionCode": "284",
   156                        "versionName": "9.6.1.9"
   157                      },
   158                      "appId": "101219405",
   159                      "appPromotionChannel": "401721412",
   160                      "clickUrl": "https://ads.huawei.com/usermgtportal/home/index.html#/",
   161                      "cta": "%e5%ae%89%e8%a3%85",
   162                      "duration": 6038,
   163                      "icon": [
   164                        {
   165                          "checkSha256Flag": 1,
   166                          "fileSize": 10797,
   167                          "height": 160,
   168                          "imageType": "img",
   169                          "sha256": "042479eccbda9a8d7d3aa3da73c42486854407835623a30ffff875cb578242d0",
   170                          "url": "https://icon1.png",
   171                          "width": 160
   172                        },
   173                        {
   174                          "checkSha256Flag": 1,
   175                          "fileSize": 10797,
   176                          "height": 320,
   177                          "imageType": "img",
   178                          "sha256": "042479eccbda9a8d7d3aa3da73c42486854407835623a30ffff875cb578242d0",
   179                          "url": "https://icon2.png",
   180                          "width": 160
   181                        }
   182                      ],
   183                      "imageInfo": [
   184                        {
   185                          "checkSha256Flag": 0,
   186                          "height": 350,
   187                          "imageType": "img",
   188                          "sha256": "8baa56fdb2702b9fb044d95b328936160cd245764375cdb25a4ab504f4ae2e19",
   189                          "url": "http://image1.jpg",
   190                          "width": 400
   191                        },
   192                        {
   193                          "checkSha256Flag": 0,
   194                          "height": 300,
   195                          "imageType": "img",
   196                          "sha256": "8baa56fdb2702b9fb044d95b328936160cd245764375cdb25a4ab504f4ae2e19",
   197                          "url": "http://image2.jpg",
   198                          "width": 400
   199                        },
   200                        {
   201                          "checkSha256Flag": 0,
   202                          "height": 300,
   203                          "imageType": "img",
   204                          "sha256": "8baa56fdb2702b9fb044d95b328936160cd245764375cdb25a4ab504f4ae2e19",
   205                          "url": "http://image3.jpg",
   206                          "width": 400
   207                        }
   208                      ],
   209                      "label": "%E6%89%8B%E6%9C%BA%E6%B7%98%E5%AE%9D",
   210                      "landingPageType": "3",
   211                      "marketAppId": "C101219405",
   212                      "title": "%2Ftest%2F",
   213                      "description": "this is a test ad"
   214                    },
   215                    "monitor": [
   216                      {
   217                        "eventType": "click",
   218                        "url": [
   219                          "http://test/click"
   220                        ]
   221                      },
   222                      {
   223                        "eventType": "imp",
   224                        "url": [
   225                          "http://test/imp"
   226                        ]
   227                      },
   228                      {
   229                        "eventType": "download",
   230                        "url": [
   231                          "http://test/download"
   232                        ]
   233                      },
   234                      {
   235                        "eventType": "install",
   236                        "url": [
   237                          "http://test/install"
   238                        ]
   239                      },
   240                      {
   241                        "eventType": "downloadstart",
   242                        "url": [
   243                          "http://test/downloadstart"
   244                        ]
   245                      },
   246                      {
   247                        "eventType": "userclose",
   248                        "url": [
   249                          "http://test/userclose"
   250                        ]
   251                      },
   252                      {
   253                        "eventType": "playStart",
   254                        "url": [
   255                          "http://test/playStart"
   256                        ]
   257                      },
   258                      {
   259                        "eventType": "playEnd",
   260                        "url": [
   261                          "http://test/playEnd"
   262                        ]
   263                      },
   264                      {
   265                        "eventType": "playResume",
   266                        "url": [
   267                          "http://test/playResume"
   268                        ]
   269                      },
   270                      {
   271                        "eventType": "playPause",
   272                        "url": [
   273                          "http://test/playPause"
   274                        ]
   275                      },
   276                      {
   277                        "eventType": "appOpen",
   278                        "url": [
   279                          "http://test/appOpen"
   280                        ]
   281                      }
   282                    ],
   283                    "paramfromserver": {
   284                      "a": "1||test",
   285                      "sig": "",
   286                      "t": "99990101235959"
   287                    },
   288                    "price": 2.8,
   289                    "starttime": 1620230400000,
   290                    "taskid": "48016632"
   291                  }
   292                ],
   293                "retcode30": 200,
   294                "slotid": "u42ohmaufh"
   295              }
   296            ],
   297            "noReportAdTypeEventList": [
   298              {
   299                "adType": 3,
   300                "eventTypeList": [
   301                  "installFail"
   302                ]
   303              }
   304            ],
   305            "retcode": 200,
   306            "totalCacheSize": 300
   307          }
   308        }
   309      }
   310    ],
   311    "expectedBidResponses": [
   312      {
   313        "currency": "USD",
   314        "bids": [
   315          {
   316            "bid": {
   317              "adomain": [
   318                "huaweiads"
   319              ],
   320              "crid": "58022259",
   321              "adm": "{\"ver\":\"1.2\",\"assets\":[{\"id\":100,\"title\":{\"text\":\"/test/\",\"len\":6}},{\"id\":101,\"img\":{\"type\":3,\"url\":\"http://image1.jpg\",\"w\":400,\"h\":350}},{\"id\":102,\"img\":{\"type\":1,\"url\":\"https://icon1.png\",\"w\":160,\"h\":160}},{\"id\":103,\"img\":{\"type\":3,\"url\":\"http://image2.jpg\",\"w\":400,\"h\":300}},{\"id\":105,\"data\":{\"label\":\"desc\",\"value\":\"this is a test ad\"}}],\"link\":{\"url\":\"https://ads.huawei.com/usermgtportal/home/index.html#/\",\"clicktrackers\":[\"http://test/click\"]},\"eventtrackers\":[{\"event\":1,\"method\":1,\"url\":\"http://test/imp\"}]}",
   322              "id": "test-imp-id",
   323              "impid": "test-imp-id",
   324              "price": 2.8,
   325              "h": 350,
   326              "w": 400
   327            },
   328            "type": "native"
   329          }
   330        ]
   331      }
   332    ]
   333  }