github.com/prebid/prebid-server/v2@v2.18.0/adapters/mabidder/mabiddertest/supplemental/bad-request-example.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              "ppid": "mabidder-test"
    24            }
    25          }
    26        }
    27      ]
    28    },
    29    "httpCalls": [
    30      {
    31        "expectedRequest": {
    32          "uri": "https://prebid.ecdrsvc.com/pbs",
    33          "body": {
    34            "id": "test-request-id",
    35            "app": {
    36              "bundle": "com.prebid"
    37            },
    38            "device": {
    39              "ifa":"87857b31-8942-4646-ae80-ab9c95bf3fab"
    40            },
    41            "imp": [
    42              {
    43                "id": "test-imp-id",
    44                "banner": {
    45                  "format": [
    46                    {
    47                      "w": 300,
    48                      "h": 250
    49                    }
    50                  ]
    51                },
    52                "ext": {
    53                  "bidder": {
    54                    "ppid": "mabidder-test"
    55                  }
    56                }
    57              }
    58            ]
    59          },
    60          "impIDs":["test-imp-id"]
    61        },
    62        "mockResponse": {
    63          "status": 400,
    64          "body": {
    65          }
    66        }
    67      }
    68    ],
    69    "expectedMakeBidsErrors": [
    70      {
    71        "value": "Unexpected status code: 400. Run with request.debug = 1 for more info",
    72        "comparison": "literal"
    73      }
    74    ]
    75  }