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

     1  {
     2      "mockBidRequest": {
     3          "id": "test-request",
     4          "imp": [
     5              {
     6                  "id": "slot",
     7                  "ext": {
     8                      "bidder": {
     9                          "siteId": "237503",
    10                          "id": "005"
    11                      }
    12                  },
    13                  "secure": 1,
    14                  "banner": {
    15                      "format": [
    16                          {
    17                              "w": 300,
    18                              "h": 250
    19                          }
    20                      ]
    21                  }
    22              }
    23          ],
    24          "site": {
    25              "domain": "test.page",
    26              "page": "https://test.page/",
    27              "ref": "https://test.referer/"
    28          },
    29          "regs": {
    30              "ext": {
    31                  "gdpr": 1
    32              }
    33          },
    34          "user": {
    35              "ext": {
    36                  "consent": "test_consent"
    37              },
    38              "buyeruid": "test_user"
    39          }
    40      },
    41      "httpCalls": [
    42          {
    43              "expectedRequest": {
    44                  "uri": "http://ssp.wp.test/bidder/?bdver=5.8&inver=4",
    45                  "body": {
    46                      "id": "test-request",
    47                      "imp": [
    48                          {
    49                              "id": "005",
    50                              "banner": {
    51                                  "format": [
    52                                      {
    53                                          "w": 300,
    54                                          "h": 250
    55                                      }
    56                                  ]
    57                              },
    58                              "tagid": "slot",
    59                              "secure": 1,
    60                              "ext": {
    61                                  "data": {
    62                                      "pbslot": "slot",
    63                                      "pbsize": "300x250"
    64                                  }
    65                              }
    66                          }
    67                      ],
    68                      "site": {
    69                          "id": "237503",
    70                          "domain": "test.page",
    71                          "page": "https://test.page/",
    72                          "ref": "https://test.referer/"
    73                      },
    74                      "user": {
    75                          "ext": {
    76                              "consent": "test_consent"
    77                          },
    78                          "buyeruid": "test_user"
    79                      },
    80                      "regs": {
    81                          "ext": {
    82                              "gdpr": 1
    83                          }
    84                      }
    85                  },
    86                  "impIDs":["slot"]
    87              },
    88              "mockResponse": {
    89                  "status": 200,
    90                  "body": "{\"id\"incorrect json"
    91              }
    92          }
    93      ],
    94      "expectedMakeBidsErrors": [
    95          {
    96              "value": "json: cannot unmarshal string into Go value of type openrtb2.BidResponse",
    97              "comparison": "literal"
    98          }
    99      ]
   100  }