github.com/prebid/prebid-server/v2@v2.18.0/adapters/huaweiads/huaweiadstest/supplemental/missing_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            "placement": 2,
    18            "linearity": 1
    19          },
    20          "ext": {
    21            "bidder": {
    22              "slotid": "m8x9x3roll",
    23              "adtype": "interstitial",
    24              "publisherid": "123123123",
    25              "signkey": "signkey",
    26              "keyid": "41",
    27              "isTestAuthorization": "true"
    28            }
    29          }
    30        }
    31      ],
    32      "app": {
    33        "bundle": "com.wavehk.android",
    34        "name": "Huawei Browser",
    35        "ver": "9.1.0.301"
    36      },
    37      "device": {
    38        "ua": "useragent",
    39        "h": 1920,
    40        "language": "en",
    41        "model": "COL-TEST",
    42        "os": "android",
    43        "osv": "10.0.0",
    44        "devicetype": 4,
    45        "make": "huawei",
    46        "w": 1080,
    47        "ip": "ip",
    48        "pxratio": 23.01,
    49        "geo": {
    50          "country": "ATA"
    51        }
    52      },
    53      "user": {
    54        "ext": {
    55          "data": {
    56            "gaid": [
    57              "gaid"
    58            ],
    59            "oaid": [
    60              "oaid"
    61            ],
    62            "clientTime": [
    63              "2018-08-10 20:01:11.214+0200"
    64            ]
    65          }
    66        }
    67      },
    68      "ext": {
    69      }
    70    },
    71    "httpcalls": [
    72      {
    73        "expectedRequest": {
    74          "uri": "https://adx-dre.op.hicloud.com/ppsadx/getResult",
    75          "headers": {
    76            "Accept": [
    77              "application/json"
    78            ],
    79            "Content-Type": [
    80              "application/json;charset=utf-8"
    81            ],
    82            "User-Agent": [
    83              "useragent"
    84            ],
    85            "Authorization": [
    86              "Digest username=123123123,realm=ppsadx/getResult,nonce=1629473330823,response=6fdc975d3adac426cbe607eec736f40ad3db8413312457431e391580e1b475c4,algorithm=HmacSHA256,usertype=1,keyid=41"
    87            ]
    88          },
    89          "body": {
    90            "app": {
    91              "lang": "en",
    92              "country": "AT",
    93              "name": "Huawei Browser",
    94              "pkgname": "com.wavehk.android",
    95              "version": "9.1.0.301"
    96            },
    97            "multislot": [
    98              {
    99                "adtype": 12,
   100                "slotid": "m8x9x3roll",
   101                "test": 1
   102              }
   103            ],
   104            "device": {
   105              "height": 1920,
   106              "language": "en",
   107              "oaid": "oaid",
   108              "os": "android",
   109              "type": 4,
   110              "ip": "ip",
   111              "localeCountry": "AT",
   112              "pxratio": 23.01,
   113              "width": 1080,
   114              "model": "COL-TEST",
   115              "clientTime": "2018-08-10 20:01:11.214+0200",
   116              "gaid": "gaid",
   117              "useragent": "useragent",
   118              "version": "10.0.0",
   119              "maker": "huawei",
   120              "belongCountry": "AT"
   121            },
   122            "geo": {
   123            },
   124            "network": {
   125              "type": 0
   126            },
   127            "regs": {
   128            },
   129            "version": "3.4",
   130            "clientAdRequestId": "test-req-id"
   131          },
   132          "impIDs": ["test-imp-id"]
   133        },
   134        "mockResponse": {
   135          "status": 200,
   136          "body": {
   137            "multiad": [
   138              {
   139                "adtype": 60,
   140                "brsetting": "Y",
   141                "content": [
   142                  {
   143                    "contentid": "58001445",
   144                    "creativetype": 106,
   145                    "endtime": 1621344684645,
   146                    "interactiontype": 1,
   147                    "landingTitle": 1,
   148                    "metaData": {
   149                      "adSign": "2",
   150                      "mediaFile": {
   151                        "mime": "video/mp4",
   152                        "width": 720,
   153                        "height": 1280,
   154                        "fileSize": 10000,
   155                        "url": "https://test.png",
   156                        "sha256": ""
   157                      },
   158                      "apkInfo": {
   159                        "appIcon": "https://pps-icon.png",
   160                        "appName": "%E6%89%8B%E6%9C%BA%E6%B7%98%E5%AE%9D",
   161                        "fileSize": 118902470,
   162                        "packageName": "com.demo.package",
   163                        "permPromptForCard": "0",
   164                        "popNotify": 1,
   165                        "popUpAfterInstallNew": 1,
   166                        "priorInstallWay": "2",
   167                        "sha256": "sha256",
   168                        "url": "https://test/apkurl",
   169                        "versionCode": "284",
   170                        "versionName": "9.6.1.9"
   171                      },
   172                      "appId": "101219405",
   173                      "appPromotionChannel": "401721412",
   174                      "clickUrl": "https://ads.huawei.com/usermgtportal/home/index.html#/",
   175                      "cta": "%e5%ae%89%e8%a3%85",
   176                      "duration": 6038,
   177                      "icon": [
   178                        {
   179                          "checkSha256Flag": 1,
   180                          "fileSize": 10797,
   181                          "height": 160,
   182                          "imageType": "img",
   183                          "sha256": "042479eccbda9a8d7d3aa3da73c42486854407835623a30ffff875cb578242d0",
   184                          "url": "https://pps-icon.png",
   185                          "width": 160
   186                        }
   187                      ],
   188                      "imageInfo": [
   189                        {
   190                          "checkSha256Flag": 0,
   191                          "height": 350,
   192                          "imageType": "img",
   193                          "sha256": "8baa56fdb2702b9fb044d95b328936160cd245764375cdb25a4ab504f4ae2e19",
   194                          "url": "http://image1.jpg",
   195                          "width": 400
   196                        },
   197                        {
   198                          "checkSha256Flag": 0,
   199                          "height": 300,
   200                          "imageType": "img",
   201                          "sha256": "8baa56fdb2702b9fb044d95b328936160cd245764375cdb25a4ab504f4ae2e19",
   202                          "url": "http://image2.jpg",
   203                          "width": 400
   204                        }
   205                      ],
   206                      "label": "%E6%89%8B%E6%9C%BA%E6%B7%98%E5%AE%9D",
   207                      "landingPageType": "3",
   208                      "marketAppId": "C101219405",
   209                      "title": "%2Ftest%2F",
   210                      "description": "this is a test ad",
   211                      "videoInfo": {
   212                        "autoPlayAreaRatio": 100,
   213                        "autoStopPlayAreaRatio": 10,
   214                        "checkSha256Flag": 1,
   215                        "sha256": "aa08c8ffce82bbcd37cabefd6c8972b407de48f0b4e332e06d4cc18d25377d77",
   216                        "timeBeforeVideoAutoPlay": 50,
   217                        "videoAutoPlayOnWifi": "y",
   218                        "videoAutoPlayWithSound": "n",
   219                        "videoDownloadUrl": "https://video.mp4",
   220                        "videoDuration": 6038,
   221                        "videoFileSize": 949951,
   222                        "videoPlayMode": 2,
   223                        "videoRatio": 0.5625,
   224                        "width": 600,
   225                        "height": 500
   226                      }
   227                    },
   228                    "monitor": [
   229                      {
   230                        "eventType": "vastError",
   231                        "url": [
   232                          "http://test/vastError"
   233                        ]
   234                      },
   235                      {
   236                        "eventType": "click",
   237                        "url": [
   238                          "http://test/click",
   239                          "http://test/dspclick"
   240                        ]
   241                      },
   242                      {
   243                        "eventType": "imp",
   244                        "url": [
   245                          "http://test/imp",
   246                          "http://test/dspimp"
   247                        ]
   248                      },
   249                      {
   250                        "eventType": "userclose",
   251                        "url": [
   252                          "http://test/userclose"
   253                        ]
   254                      },
   255                      {
   256                        "eventType": "playStart",
   257                        "url": [
   258                          "http://test/playStart"
   259                        ]
   260                      },
   261                      {
   262                        "eventType": "playEnd",
   263                        "url": [
   264                          "http://test/playEnd1",
   265                          "http://test/playEnd2"
   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": "m8x9x3roll"
   299              }
   300            ],
   301            "noReportAdTypeEventList": [
   302              {
   303                "adType": 8,
   304                "eventTypeList": [
   305                  "exception_6"
   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              "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>",
   322              "adomain": [
   323                "huaweiads"
   324              ],
   325              "h": 1280,
   326              "w": 720,
   327              "crid": "58001445",
   328              "id": "test-imp-id",
   329              "impid": "test-imp-id",
   330              "price": 2.8
   331            },
   332            "type": "video"
   333          }
   334        ]
   335      }
   336    ]
   337  }