github.com/prebid/prebid-server/v2@v2.18.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\":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                  "901",
    95                  "904",
    96                  "905"
    97                ],
    98                "format":[{"w":1080,"h":607},{"w":300,"h":250},{"w":1080,"h":1620},{"w":1280,"h":720},{"w":640,"h":360},{"w":1080,"h":1920},{"w":720,"h":1280}],
    99                "test": 1
   100              }
   101            ],
   102            "device": {
   103              "height": 1920,
   104              "language": "zh",
   105              "oaid": "oaid",
   106              "os": "android",
   107              "type": 4,
   108              "ip": "152.193.6.74",
   109              "localeCountry": "ZA",
   110              "pxratio": 23.01,
   111              "model": "COL-TEST",
   112              "width": 1080,
   113              "clientTime": "2018-11-02 16:34:07.981+1300",
   114              "gaid": "gaid",
   115              "useragent": "useragent",
   116              "version": "10.0.0",
   117              "maker": "huawei",
   118              "belongCountry": "ZA"
   119            },
   120            "geo": {
   121            },
   122            "network": {
   123              "type": 0
   124            },
   125            "regs": {
   126            },
   127            "version": "3.4",
   128            "clientAdRequestId": "test-req-id"
   129          },
   130          "impIDs":["test-imp-id"]
   131        },
   132        "mockResponse": {
   133          "status": 200,
   134          "body": {
   135            "ctrlSwitchs": "0",
   136            "multiad": [
   137              {
   138                "adtype": 3,
   139                "content": [
   140                  {
   141                    "contentid": "58022259",
   142                    "creativetype": 106,
   143                    "endtime": 1621344684645,
   144                    "interactiontype": 1,
   145                    "landingTitle": 1,
   146                    "metaData": {
   147                      "adSign": "2",
   148                      "apkInfo": {
   149                        "appIcon": "https://icon.png",
   150                        "appName": "%E6%89%8B%E6%9C%BA%E6%B7%98%E5%AE%9D",
   151                        "fileSize": 118902470,
   152                        "packageName": "com.demo.package",
   153                        "permPromptForCard": "0",
   154                        "popNotify": 1,
   155                        "popUpAfterInstallNew": 1,
   156                        "priorInstallWay": "2",
   157                        "sha256": "sha256",
   158                        "url": "https://test/apkurl",
   159                        "versionCode": "284",
   160                        "versionName": "9.6.1.9"
   161                      },
   162                      "appId": "101219405",
   163                      "appPromotionChannel": "401721412",
   164                      "clickUrl": "https://ads.huawei.com/usermgtportal/home/index.html#/",
   165                      "cta": "%e5%ae%89%e8%a3%85",
   166                      "duration": 6038,
   167                      "icon": [
   168                        {
   169                          "checkSha256Flag": 1,
   170                          "fileSize": 10797,
   171                          "height": 160,
   172                          "imageType": "img",
   173                          "sha256": "042479eccbda9a8d7d3aa3da73c42486854407835623a30ffff875cb578242d0",
   174                          "url": "https://icon1.png",
   175                          "width": 160
   176                        },
   177                        {
   178                          "checkSha256Flag": 1,
   179                          "fileSize": 10797,
   180                          "height": 320,
   181                          "imageType": "img",
   182                          "sha256": "042479eccbda9a8d7d3aa3da73c42486854407835623a30ffff875cb578242d0",
   183                          "url": "https://icon2.png",
   184                          "width": 160
   185                        }
   186                      ],
   187                      "imageInfo": [
   188                        {
   189                          "checkSha256Flag": 0,
   190                          "height": 350,
   191                          "imageType": "img",
   192                          "sha256": "8baa56fdb2702b9fb044d95b328936160cd245764375cdb25a4ab504f4ae2e19",
   193                          "url": "http://image1.jpg",
   194                          "width": 400
   195                        },
   196                        {
   197                          "checkSha256Flag": 0,
   198                          "height": 300,
   199                          "imageType": "img",
   200                          "sha256": "8baa56fdb2702b9fb044d95b328936160cd245764375cdb25a4ab504f4ae2e19",
   201                          "url": "http://image2.jpg",
   202                          "width": 400
   203                        },
   204                        {
   205                          "checkSha256Flag": 0,
   206                          "height": 300,
   207                          "imageType": "img",
   208                          "sha256": "8baa56fdb2702b9fb044d95b328936160cd245764375cdb25a4ab504f4ae2e19",
   209                          "url": "http://image3.jpg",
   210                          "width": 400
   211                        }
   212                      ],
   213                      "label": "%E6%89%8B%E6%9C%BA%E6%B7%98%E5%AE%9D",
   214                      "landingPageType": "3",
   215                      "marketAppId": "C101219405",
   216                      "title": "%2Ftest%2F",
   217                      "description": "this is a test ad"
   218                    },
   219                    "monitor": [
   220                      {
   221                        "eventType": "click",
   222                        "url": [
   223                          "http://test/click"
   224                        ]
   225                      },
   226                      {
   227                        "eventType": "imp",
   228                        "url": [
   229                          "http://test/imp"
   230                        ]
   231                      },
   232                      {
   233                        "eventType": "download",
   234                        "url": [
   235                          "http://test/download"
   236                        ]
   237                      },
   238                      {
   239                        "eventType": "install",
   240                        "url": [
   241                          "http://test/install"
   242                        ]
   243                      },
   244                      {
   245                        "eventType": "downloadstart",
   246                        "url": [
   247                          "http://test/downloadstart"
   248                        ]
   249                      },
   250                      {
   251                        "eventType": "userclose",
   252                        "url": [
   253                          "http://test/userclose"
   254                        ]
   255                      },
   256                      {
   257                        "eventType": "playStart",
   258                        "url": [
   259                          "http://test/playStart"
   260                        ]
   261                      },
   262                      {
   263                        "eventType": "playEnd",
   264                        "url": [
   265                          "http://test/playEnd"
   266                        ]
   267                      },
   268                      {
   269                        "eventType": "playResume",
   270                        "url": [
   271                          "http://test/playResume"
   272                        ]
   273                      },
   274                      {
   275                        "eventType": "playPause",
   276                        "url": [
   277                          "http://test/playPause"
   278                        ]
   279                      },
   280                      {
   281                        "eventType": "appOpen",
   282                        "url": [
   283                          "http://test/appOpen"
   284                        ]
   285                      }
   286                    ],
   287                    "paramfromserver": {
   288                      "a": "1||test",
   289                      "sig": "",
   290                      "t": "99990101235959"
   291                    },
   292                    "price": 2.8,
   293                    "starttime": 1620230400000,
   294                    "taskid": "48016632"
   295                  }
   296                ],
   297                "retcode30": 200,
   298                "slotid": "u42ohmaufh"
   299              }
   300            ],
   301            "noReportAdTypeEventList": [
   302              {
   303                "adType": 3,
   304                "eventTypeList": [
   305                  "installFail"
   306                ]
   307              }
   308            ],
   309            "retcode": 200,
   310            "totalCacheSize": 300
   311          }
   312        }
   313      }
   314    ],
   315    "expectedBidResponses": [
   316      {
   317        "currency": "USD",
   318        "bids": [
   319          {
   320            "bid": {
   321              "adomain": [
   322                "huaweiads"
   323              ],
   324              "crid": "58022259",
   325              "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\":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\"}]}",
   326              "id": "test-imp-id",
   327              "impid": "test-imp-id",
   328              "price": 2.8,
   329              "h": 350,
   330              "w": 400
   331            },
   332            "type": "native"
   333          }
   334        ]
   335      }
   336    ]
   337  }