github.com/prebid/prebid-server/v2@v2.18.0/adapters/pangle/pangletest/supplemental/response_code_400.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "test-request-id",
     4      "app": {
     5        "bundle": "com.prebid"
     6      },
     7      "device": {
     8        "ifa": "87857b31-8942-4646-ae80-ab9c95bf3fab"
     9      },
    10      "imp": [
    11        {
    12          "id": "test-imp-id",
    13          "banner": {
    14            "format": [
    15              {
    16                "w": 300,
    17                "h": 250
    18              }
    19            ]
    20          },
    21          "ext": {
    22            "bidder": {
    23              "token": "123"
    24            }
    25          }
    26        }
    27      ]
    28    },
    29    "httpCalls": [
    30      {
    31        "expectedRequest": {
    32          "uri": "https://pangle.io/api/get_ads",
    33          "headers": {
    34            "Content-Type": [
    35              "application/json"
    36            ],
    37            "TOKEN": [
    38              "123"
    39            ]
    40          },
    41          "body": {
    42            "id": "test-request-id",
    43            "app": {
    44              "bundle": "com.prebid"
    45            },
    46            "device": {
    47              "ifa": "87857b31-8942-4646-ae80-ab9c95bf3fab"
    48            },
    49            "imp": [
    50              {
    51                "id": "test-imp-id",
    52                "banner": {
    53                  "format": [
    54                    {
    55                      "w": 300,
    56                      "h": 250
    57                    }
    58                  ]
    59                },
    60                "ext": {
    61                  "adtype": 1,
    62                  "bidder": {
    63                    "token": "123"
    64                  },
    65                  "is_prebid": true,
    66                  "prebid": null
    67                }
    68              }
    69            ]
    70          },
    71          "impIDs":["test-imp-id"]
    72        },
    73        "mockResponse": {
    74          "status": 400,
    75          "body": {}
    76        }
    77      }
    78    ],
    79    "expectedBidResponses": [],
    80    "expectedMakeBidsErrors": [
    81      {
    82        "value": "Unexpected status code: 400.*",
    83        "comparison": "regex"
    84      }
    85    ]
    86  }