github.com/prebid/prebid-server@v0.275.0/adapters/huaweiads/huaweiadstest/exemplary/nativeSingleImage.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\":101,\"title\":{\"len\":90},\"required\":1},{\"id\":102,\"img\":{\"type\":3,\"wmin\":200,\"hmin\":200},\"required\":1},{\"id\":103,\"data\":{\"type\":2,\"len\":90},\"required\":1},{\"id\":105,\"data\":{\"type\":12,\"len\":90}}],\"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": "en",
    32        "model": "COL-TEST",
    33        "os": "android",
    34        "osv": "10.0.0",
    35        "devicetype": 4,
    36        "make": "huawei",
    37        "w": 1080,
    38        "ip": "ip",
    39        "dnt": 0,
    40        "pxratio": 23.01,
    41        "geo": {
    42          "country": "DEU"
    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-dre.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": "DE",
    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                ],
    96                "test": 1
    97              }
    98            ],
    99            "device": {
   100              "height": 1920,
   101              "language": "en",
   102              "oaid": "oaid",
   103              "os": "android",
   104              "type": 4,
   105              "ip": "ip",
   106              "localeCountry": "DE",
   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              "gaidTrackingEnabled": "1",
   113              "isTrackingEnabled": "1",
   114              "useragent": "useragent",
   115              "version": "10.0.0",
   116              "maker": "huawei",
   117              "belongCountry": "DE"
   118            },
   119            "geo": {
   120            },
   121            "network": {
   122              "type": 0
   123            },
   124            "regs": {
   125            },
   126            "version": "3.4",
   127            "clientAdRequestId": "test-req-id"
   128          }
   129        },
   130        "mockResponse": {
   131          "status": 200,
   132          "body": {
   133            "ctrlSwitchs": "0",
   134            "dsp1cost": 28,
   135            "dspcost": 59,
   136            "multiad": [
   137              {
   138                "adtype": 3,
   139                "content": [
   140                  {
   141                    "contentid": "58022259",
   142                    "creativetype": 106,
   143                    "ctrlSwitchs": "001011101001010212",
   144                    "endtime": 1621344684645,
   145                    "interactiontype": 1,
   146                    "landingTitle": 1,
   147                    "metaData": {
   148                      "adSign": "2",
   149                      "apkInfo": {
   150                        "appDesc": "43+%E4%BA%BF%E6%AC%A1%E5%AE%89%E8%A3%85",
   151                        "appIcon": "https://icon.png",
   152                        "appName": "demo",
   153                        "fileSize": 118902470,
   154                        "packageName": "com.demo.package",
   155                        "permPromptForCard": "0",
   156                        "popNotify": 1,
   157                        "popUpAfterInstallNew": 1,
   158                        "priorInstallWay": "2",
   159                        "sha256": "sha256",
   160                        "url": "http://test/url",
   161                        "versionCode": "284",
   162                        "versionName": "9.6.1.9"
   163                      },
   164                      "appId": "101219405",
   165                      "appPromotionChannel": "401721412",
   166                      "clickUrl": "https://ads.huawei.com/usermgtportal/home/index.html#/",
   167                      "cta": "install",
   168                      "duration": 6038,
   169                      "description": "",
   170                      "icon": [
   171                        {
   172                          "checkSha256Flag": 1,
   173                          "fileSize": 10797,
   174                          "height": 160,
   175                          "imageType": "img",
   176                          "sha256": "042479eccbda9a8d7d3aa3da73c42486854407835623a30ffff875cb578242d0",
   177                          "url": "https://pps-icon.png",
   178                          "width": 160
   179                        }
   180                      ],
   181                      "imageInfo": [
   182                        {
   183                          "checkSha256Flag": 0,
   184                          "height": 1280,
   185                          "imageType": "img",
   186                          "sha256": "8baa56fdb2702b9fb044d95b328936160cd245764375cdb25a4ab504f4ae2e19",
   187                          "url": "http://image.jpg",
   188                          "width": 720
   189                        }
   190                      ],
   191                      "label": "%E6%89%8B%E6%9C%BA%E6%B7%98%E5%AE%9D",
   192                      "landingPageType": "3",
   193                      "marketAppId": "C101219405",
   194                      "title": "%2Ftest%2F"
   195                    },
   196                    "monitor": [
   197                      {
   198                        "eventType": "click",
   199                        "url": [
   200                          "http://test/click"
   201                        ]
   202                      },
   203                      {
   204                        "eventType": "imp",
   205                        "url": [
   206                          "http://test/imp"
   207                        ]
   208                      },
   209                      {
   210                        "eventType": "download",
   211                        "url": [
   212                          "http://test/download"
   213                        ]
   214                      },
   215                      {
   216                        "eventType": "install",
   217                        "url": [
   218                          "http://test/install"
   219                        ]
   220                      },
   221                      {
   222                        "eventType": "downloadstart",
   223                        "url": [
   224                          "http://test/downloadstart"
   225                        ]
   226                      },
   227                      {
   228                        "eventType": "userclose",
   229                        "url": [
   230                          "http://test/userclose"
   231                        ]
   232                      },
   233                      {
   234                        "eventType": "playStart",
   235                        "url": [
   236                          "http://test/playStart"
   237                        ]
   238                      },
   239                      {
   240                        "eventType": "playEnd",
   241                        "url": [
   242                          "http://test/playEnd"
   243                        ]
   244                      },
   245                      {
   246                        "eventType": "playResume",
   247                        "url": [
   248                          "http://test/playResume"
   249                        ]
   250                      },
   251                      {
   252                        "eventType": "playPause",
   253                        "url": [
   254                          "http://test/playPause"
   255                        ]
   256                      },
   257                      {
   258                        "eventType": "appOpen",
   259                        "url": [
   260                          "http://test/appOpen"
   261                        ]
   262                      }
   263                    ],
   264                    "paramfromserver": {
   265                      "a": "1||test",
   266                      "sig": "",
   267                      "t": "99990101235959"
   268                    },
   269                    "price": 2.8,
   270                    "starttime": 1620230400000,
   271                    "taskid": "48016632"
   272                  }
   273                ],
   274                "retcode30": 200,
   275                "slotid": "u42ohmaufh"
   276              }
   277            ],
   278            "noReportAdTypeEventList": [
   279              {
   280                "adType": 3,
   281                "eventTypeList": [
   282                  "installFail"
   283                ]
   284              }
   285            ],
   286            "retcode": 200,
   287            "totalCacheSize": 300
   288          }
   289        }
   290      }
   291    ],
   292    "expectedBidResponses": [
   293      {
   294        "currency": "USD",
   295        "bids": [
   296          {
   297            "bid": {
   298              "adomain": [
   299                "huaweiads"
   300              ],
   301              "crid": "58022259",
   302              "adm": "{\"ver\":\"1.2\",\"assets\":[{\"id\":101,\"title\":{\"text\":\"/test/\",\"len\":6}},{\"id\":102,\"img\":{\"type\":3,\"url\":\"http://image.jpg\",\"w\":720,\"h\":1280}},{\"id\":103,\"data\":{\"label\":\"desc\",\"value\":\"\"}},{\"id\":105,\"data\":{\"type\":12,\"value\":\"install\"}}],\"link\":{\"url\":\"https://ads.huawei.com/usermgtportal/home/index.html#/\",\"clicktrackers\":[\"http://test/click\"]},\"eventtrackers\":[{\"event\":1,\"method\":1,\"url\":\"http://test/imp\"}]}",
   303              "id": "test-imp-id",
   304              "impid": "test-imp-id",
   305              "price": 2.8,
   306              "h": 1280,
   307              "w": 720
   308            },
   309            "type": "native"
   310          }
   311        ]
   312      }
   313    ]
   314  }