github.com/prebid/prebid-server@v0.275.0/adapters/revcontent/revcontenttest/supplemental/bad_response.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "test-request-id",
     4      "imp": [
     5        {
     6          "id": "test-imp-id",
     7          "banner": {
     8            "format": [{"w": 300, "h": 50}]
     9          }
    10        }
    11      ],
    12      "site": {
    13        "domain": "test.com"
    14      }
    15    },
    16  
    17    "httpCalls": [
    18      {
    19        "expectedRequest": {
    20          "uri": "https://trends.revcontent.com/rtb?userId=1234&apiKey=abcd",
    21          "body": {
    22            "id": "test-request-id",
    23            "imp": [
    24              {
    25                "id":"test-imp-id",
    26                "banner": {
    27                  "format": [{"w": 300, "h": 50}]
    28                }
    29              }
    30            ],
    31            "site": {
    32              "domain": "test.com"
    33            }
    34          }
    35        },
    36        "mockResponse": {
    37          "status": 200,
    38          "body": "{\"id\":test-request-id"
    39        }
    40      }
    41    ],
    42  
    43    "expectedMakeBidsErrors": [
    44      {
    45        "comparison": "literal",
    46        "value": "json: cannot unmarshal string into Go value of type openrtb2.BidResponse"
    47      }
    48    ]
    49  }