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