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

     1  {
     2    "mockBidRequest": {
     3      "id": "test-req-id",
     4      "imp": [
     5        {
     6          "id": "test-imp-id",
     7          "banner": {
     8            "format": [
     9              {
    10                "w": 300,
    11                "h": 250
    12              }
    13            ],
    14            "w": 300,
    15            "h": 250
    16          },
    17          "ext": {
    18            "bidder": {
    19              "slotid": "m8x9x3rzff",
    20              "adtype": "banner",
    21              "publisherid": "123",
    22              "signkey": "signkey",
    23              "keyid": "41",
    24              "isTestAuthorization": "true"
    25            }
    26          }
    27        }
    28      ],
    29      "app": {
    30        "bundle": "com.wavehk.android",
    31        "name": "Huawei Browser",
    32        "ver": "9.1.0.301"
    33      },
    34      "device": {
    35        "ua": "useragent",
    36        "h": 1920,
    37        "language": "zh",
    38        "geoCountry": "CH",
    39        "model": "COL-TEST",
    40        "os": "android",
    41        "osv": "10.0.0",
    42        "devicetype": 4,
    43        "make": "huawei",
    44        "w": 1080,
    45        "ip": "ip",
    46        "pxratio": 23.01,
    47        "geo": {
    48          "country": ""
    49        }
    50      },
    51      "user": {
    52        "ext": {
    53          "data": {
    54            "gaid": [
    55              "gaid"
    56            ],
    57            "oaid": [
    58              "oaid"
    59            ],
    60            "clientTime": [
    61              "2018-11-02 16:34:07.981+1300"
    62            ]
    63          }
    64        }
    65      },
    66      "ext": {
    67      }
    68    },
    69    "httpcalls": [
    70      {
    71        "expectedRequest": {
    72          "uri": "https://adx-dra.op.hicloud.com/ppsadx/getResult",
    73          "headers": {
    74            "Accept": [
    75              "application/json"
    76            ],
    77            "Content-Type": [
    78              "application/json;charset=utf-8"
    79            ],
    80            "User-Agent": [
    81              "useragent"
    82            ],
    83            "Authorization": [
    84              "Digest username=123,realm=ppsadx/getResult,nonce=1629473330823,response=d1d61a13a83e1468aa4dff5c8a6cee0b8b381173ca3eb6fa9b313937684d87c0,algorithm=HmacSHA256,usertype=1,keyid=41"
    85            ]
    86          },
    87          "body": {
    88            "app": {
    89              "lang": "en",
    90              "country": "ZA",
    91              "name": "Huawei Browser",
    92              "pkgname": "com.wavehk.android",
    93              "version": "9.1.0.301"
    94            },
    95            "multislot": [
    96              {
    97                "adtype": 8,
    98                "slotid": "m8x9x3rzff",
    99                "test": 1,
   100                "format": [
   101                  {
   102                    "h": 250,
   103                    "w": 300
   104                  }
   105                ],
   106                "h": 250,
   107                "w": 300
   108              }
   109            ],
   110            "device": {
   111              "height": 1920,
   112              "language": "zh",
   113              "oaid": "oaid",
   114              "os": "android",
   115              "type": 4,
   116              "ip": "ip",
   117              "localeCountry": "ZA",
   118              "pxratio": 23.01,
   119              "width": 1080,
   120              "clientTime": "2018-11-02 16:34:07.981+1300",
   121              "gaid": "gaid",
   122              "useragent": "useragent",
   123              "version": "10.0.0",
   124              "maker": "huawei",
   125              "model": "COL-TEST",
   126              "belongCountry": "ZA"
   127            },
   128            "geo": {
   129            },
   130            "network": {
   131              "type": 0
   132            },
   133            "regs": {
   134            },
   135            "version": "3.4",
   136            "clientAdRequestId": "test-req-id"
   137          },
   138          "impIDs":["test-imp-id"]
   139        },
   140        "mockResponse": {
   141          "status": 200,
   142          "body": {
   143            "ctrlSwitchs": "0",
   144            "dsp1cost": 61,
   145            "dspcost": 108,
   146            "multiadw": [
   147              {
   148                "adtype": 8,
   149                "brsetting": "Y",
   150                "content": [
   151                  {
   152                    "clickActionList": [
   153                      1
   154                    ],
   155                    "contentid": "58025103",
   156                    "creativetype": 2,
   157                    "ctrlSwitchs": "001011001001010112",
   158                    "endtime": 1621428898335,
   159                    "filterList": [
   160                      3
   161                    ],
   162                    "interactiontype": 1,
   163                    "landingTitle": 1,
   164                    "metaData": {
   165                      "adSign": "2",
   166                      "appPromotionChannel": "401721412",
   167                      "clickUrl": "https://task/clickurl",
   168                      "imageInfo": [
   169                        {
   170                          "checkSha256Flag": 1,
   171                          "height": 300,
   172                          "imageType": "img",
   173                          "sha256": "f5d8487cddaecec45b73fc078649478c80ec646bfec8ed7da4ff931f90eab232",
   174                          "url": "https://test/1.png",
   175                          "width": 250
   176                        }
   177                      ],
   178                      "label": "Banner_API",
   179                      "landingPageType": "3"
   180                    },
   181                    "monitor": [
   182                      {
   183                        "eventType": "click",
   184                        "url": [
   185                          "http://test/click"
   186                        ]
   187                      },
   188                      {
   189                        "eventType": "imp",
   190                        "url": [
   191                          "http://test/imp"
   192                        ]
   193                      },
   194                      {
   195                        "eventType": "userclose",
   196                        "url": [
   197                          "http://test/userclose"
   198                        ]
   199                      }
   200                    ],
   201                    "paramfromserver": {
   202                      "a": "1||test",
   203                      "sig": "",
   204                      "t": "99990101235959"
   205                    },
   206                    "price": 2.8,
   207                    "starttime": 1621267200000,
   208                    "taskid": "48017658"
   209                  }
   210                ],
   211                "retcode30": 200,
   212                "slotid": "m8x9x3rzff"
   213              }
   214            ],
   215            "retcode": 200,
   216            "totalCacheSize": 300
   217          }
   218        }
   219      }
   220    ],
   221    "expectedBidResponses": [
   222    ],
   223    "expectedMakeRequestsErrors": [],
   224    "expectedMakeBidsErrors": [
   225      {
   226        "value": "convert huaweiads response to bidder response failed: multiad length is 0, get no ads from huawei side.",
   227        "comparison": "literal"
   228      }
   229    ]
   230  }