github.com/prebid/prebid-server/v2@v2.18.0/adapters/huaweiads/huaweiadstest/supplemental/zero_video_size.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "test-req-id",
     4      "imp": [
     5        {
     6          "id": "test-imp-id",
     7          "video": {
     8            "mimes": [
     9              "video\/mp4"
    10            ],
    11            "playbackmethod": [
    12              2
    13            ],
    14            "protocols": [
    15              2
    16            ],
    17            "w": 0,
    18            "h": 0,
    19            "placement": 2,
    20            "linearity": 1
    21          },
    22          "ext": {
    23            "bidder": {
    24              "slotid": "m8x9x3roll",
    25              "adtype": "interstitial",
    26              "publisherid": "123123123",
    27              "signkey": "signkey",
    28              "keyid": "41",
    29              "isTestAuthorization": "true"
    30            }
    31          }
    32        }
    33      ],
    34      "app": {
    35        "bundle": "com.wavehk.android",
    36        "name": "Huawei Browser",
    37        "ver": "9.1.0.301"
    38      },
    39      "device": {
    40        "ua": "useragent",
    41        "h": 1920,
    42        "language": "en",
    43        "model": "COL-TEST",
    44        "os": "android",
    45        "osv": "10.0.0",
    46        "devicetype": 4,
    47        "make": "huawei",
    48        "w": 1080,
    49        "ip": "ip",
    50        "pxratio": 23.01,
    51        "geo": {
    52          "country": "ATA"
    53        }
    54      },
    55      "user": {
    56        "ext": {
    57          "data": {
    58            "gaid": [
    59              "gaid"
    60            ],
    61            "oaid": [
    62              "oaid"
    63            ],
    64            "clientTime": [
    65              "2018-08-10 20:01:11.214+0200"
    66            ]
    67          }
    68        }
    69      },
    70      "ext": {
    71      }
    72    },
    73    "httpcalls": [
    74      {
    75        "expectedRequest": {
    76          "uri": "https://adx-dre.op.hicloud.com/ppsadx/getResult",
    77          "headers": {
    78            "Accept": [
    79              "application/json"
    80            ],
    81            "Content-Type": [
    82              "application/json;charset=utf-8"
    83            ],
    84            "User-Agent": [
    85              "useragent"
    86            ],
    87            "Authorization": [
    88              "Digest username=123123123,realm=ppsadx/getResult,nonce=1629473330823,response=6fdc975d3adac426cbe607eec736f40ad3db8413312457431e391580e1b475c4,algorithm=HmacSHA256,usertype=1,keyid=41"
    89            ]
    90          },
    91          "body": {
    92            "app": {
    93              "lang": "en",
    94              "country": "AT",
    95              "name": "Huawei Browser",
    96              "pkgname": "com.wavehk.android",
    97              "version": "9.1.0.301"
    98            },
    99            "multislot": [
   100              {
   101                "adtype": 12,
   102                "slotid": "m8x9x3roll",
   103                "test": 1
   104              }
   105            ],
   106            "device": {
   107              "height": 1920,
   108              "language": "en",
   109              "oaid": "oaid",
   110              "os": "android",
   111              "type": 4,
   112              "ip": "ip",
   113              "localeCountry": "AT",
   114              "pxratio": 23.01,
   115              "width": 1080,
   116              "model": "COL-TEST",
   117              "clientTime": "2018-08-10 20:01:11.214+0200",
   118              "gaid": "gaid",
   119              "useragent": "useragent",
   120              "version": "10.0.0",
   121              "maker": "huawei",
   122              "belongCountry": "AT"
   123            },
   124            "geo": {
   125            },
   126            "network": {
   127              "type": 0
   128            },
   129            "regs": {
   130            },
   131            "version": "3.4",
   132            "clientAdRequestId": "test-req-id"
   133          },
   134          "impIDs": ["test-imp-id"]
   135        },
   136        "mockResponse": {
   137          "status": 200,
   138          "body": {
   139            "multiad": [
   140              {
   141                "adtype": 60,
   142                "brsetting": "Y",
   143                "content": [
   144                  {
   145                    "contentid": "58001445",
   146                    "creativetype": 106,
   147                    "endtime": 1621344684645,
   148                    "interactiontype": 1,
   149                    "landingTitle": 1,
   150                    "metaData": {
   151                      "adSign": "2",
   152                      "mediaFile": {
   153                        "mime": "video/mp4",
   154                        "width": 720,
   155                        "height": 1280,
   156                        "fileSize": 10000,
   157                        "url": "https://test.png",
   158                        "sha256": ""
   159                      },
   160                      "apkInfo": {
   161                        "appIcon": "https://pps-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://pps-icon.png",
   187                          "width": 160
   188                        }
   189                      ],
   190                      "imageInfo": [
   191                        {
   192                          "checkSha256Flag": 0,
   193                          "height": 350,
   194                          "imageType": "img",
   195                          "sha256": "8baa56fdb2702b9fb044d95b328936160cd245764375cdb25a4ab504f4ae2e19",
   196                          "url": "http://image1.jpg",
   197                          "width": 400
   198                        },
   199                        {
   200                          "checkSha256Flag": 0,
   201                          "height": 300,
   202                          "imageType": "img",
   203                          "sha256": "8baa56fdb2702b9fb044d95b328936160cd245764375cdb25a4ab504f4ae2e19",
   204                          "url": "http://image2.jpg",
   205                          "width": 400
   206                        }
   207                      ],
   208                      "label": "%E6%89%8B%E6%9C%BA%E6%B7%98%E5%AE%9D",
   209                      "landingPageType": "3",
   210                      "marketAppId": "C101219405",
   211                      "title": "%2Ftest%2F",
   212                      "description": "this is a test ad",
   213                      "videoInfo": {
   214                        "autoPlayAreaRatio": 100,
   215                        "autoStopPlayAreaRatio": 10,
   216                        "checkSha256Flag": 1,
   217                        "sha256": "aa08c8ffce82bbcd37cabefd6c8972b407de48f0b4e332e06d4cc18d25377d77",
   218                        "timeBeforeVideoAutoPlay": 50,
   219                        "videoAutoPlayOnWifi": "y",
   220                        "videoAutoPlayWithSound": "n",
   221                        "videoDownloadUrl": "https://video.mp4",
   222                        "videoDuration": 6038,
   223                        "videoFileSize": 949951,
   224                        "videoPlayMode": 2,
   225                        "videoRatio": 0.5625,
   226                        "width": 600,
   227                        "height": 500
   228                      }
   229                    },
   230                    "monitor": [
   231                      {
   232                        "eventType": "vastError",
   233                        "url": [
   234                          "http://test/vastError"
   235                        ]
   236                      },
   237                      {
   238                        "eventType": "click",
   239                        "url": [
   240                          "http://test/click",
   241                          "http://test/dspclick"
   242                        ]
   243                      },
   244                      {
   245                        "eventType": "imp",
   246                        "url": [
   247                          "http://test/imp",
   248                          "http://test/dspimp"
   249                        ]
   250                      },
   251                      {
   252                        "eventType": "userclose",
   253                        "url": [
   254                          "http://test/userclose"
   255                        ]
   256                      },
   257                      {
   258                        "eventType": "playStart",
   259                        "url": [
   260                          "http://test/playStart"
   261                        ]
   262                      },
   263                      {
   264                        "eventType": "playEnd",
   265                        "url": [
   266                          "http://test/playEnd1",
   267                          "http://test/playEnd2"
   268                        ]
   269                      },
   270                      {
   271                        "eventType": "playResume",
   272                        "url": [
   273                          "http://test/playResume"
   274                        ]
   275                      },
   276                      {
   277                        "eventType": "playPause",
   278                        "url": [
   279                          "http://test/playPause"
   280                        ]
   281                      },
   282                      {
   283                        "eventType": "appOpen",
   284                        "url": [
   285                          "http://test/appOpen"
   286                        ]
   287                      }
   288                    ],
   289                    "paramfromserver": {
   290                      "a": "1||test",
   291                      "sig": "",
   292                      "t": "99990101235959"
   293                    },
   294                    "price": 2.8,
   295                    "starttime": 1620230400000,
   296                    "taskid": "48016632"
   297                  }
   298                ],
   299                "retcode30": 200,
   300                "slotid": "m8x9x3roll"
   301              }
   302            ],
   303            "noReportAdTypeEventList": [
   304              {
   305                "adType": 8,
   306                "eventTypeList": [
   307                  "exception_6"
   308                ]
   309              }
   310            ],
   311            "retcode": 200,
   312            "totalCacheSize": 300
   313          }
   314        }
   315      }
   316    ],
   317    "expectedBidResponses": [
   318      {
   319        "currency": "USD",
   320        "bids": [
   321          {
   322            "bid": {
   323              "adm": "<?xml version=\"1.0\" encoding=\"UTF-8\"?><VAST version=\"3.0\"><Ad id=\"58001445\"><InLine><AdSystem>HuaweiAds</AdSystem><AdTitle>/test/</AdTitle><Error><![CDATA[http://test/vastError&et=[ERRORCODE]]]></Error><Impression><![CDATA[http://test/imp]]></Impression><Impression><![CDATA[http://test/dspimp]]></Impression><Creatives><Creative adId=\"58001445\" id=\"58001445\"><Linear><Duration>00:00:06.038</Duration><TrackingEvents><Tracking event=\"skip\"><![CDATA[http://test/userclose]]></Tracking><Tracking event=\"closeLinear\"><![CDATA[http://test/userclose]]></Tracking><Tracking event=\"start\"><![CDATA[http://test/playStart]]></Tracking><Tracking event=\"complete\"><![CDATA[http://test/playEnd1]]></Tracking><Tracking event=\"complete\"><![CDATA[http://test/playEnd2]]></Tracking><Tracking event=\"resume\"><![CDATA[http://test/playResume]]></Tracking><Tracking event=\"pause\"><![CDATA[http://test/playPause]]></Tracking></TrackingEvents><VideoClicks><ClickThrough><![CDATA[https://ads.huawei.com/usermgtportal/home/index.html#/]]></ClickThrough><ClickTracking><![CDATA[http://test/click]]></ClickTracking><ClickTracking><![CDATA[http://test/dspclick]]></ClickTracking></VideoClicks><MediaFiles><MediaFile delivery=\"progressive\" type=\"video/mp4\" width=\"720\" height=\"1280\" scalable=\"true\" maintainAspectRatio=\"true\"> <![CDATA[https://test.png]]></MediaFile></MediaFiles></Linear></Creative></Creatives></InLine></Ad></VAST>",
   324              "adomain": [
   325                "huaweiads"
   326              ],
   327              "h": 1280,
   328              "w": 720,
   329              "crid": "58001445",
   330              "id": "test-imp-id",
   331              "impid": "test-imp-id",
   332              "price": 2.8
   333            },
   334            "type": "video"
   335          }
   336        ]
   337      }
   338    ]
   339  }