github.com/prebid/prebid-server/v2@v2.18.0/adapters/huaweiads/huaweiadstest/supplemental/bad_response_400.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": 400,
   142          "body": {}
   143        }
   144      }
   145    ],
   146    "expectedBidResponses": [
   147    ],
   148    "expectedMakeRequestsErrors": [],
   149    "expectedMakeBidsErrors": [
   150      {
   151        "value": "Unexpected status code: [ 400 ]. Run with request.debug = 1 for more info",
   152        "comparison": "literal"
   153      }
   154    ]
   155  }