github.com/prebid/prebid-server@v0.275.0/adapters/nobid/nobidtest/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": 728, "h": 90}]
     9            },
    10            "ext": {
    11              "nobid": {
    12                "siteId": "21863532377"
    13              }
    14            }
    15          }
    16        ]
    17      },
    18    
    19      "httpCalls": [
    20        {
    21          "expectedRequest": {
    22            "uri": "http://ads.servenobid.com/ortb_adreq?tek=pbs",
    23            "body": {
    24              "id": "test-request-id",
    25              "imp": [
    26                {
    27                  "id":"test-imp-id",
    28                  "banner": {
    29                    "format": [{"w": 728, "h": 90}]
    30                  },
    31                  "ext": {
    32                    "nobid": {
    33                      "siteId": "21863532377"
    34                    }
    35                  }
    36                }
    37              ]
    38            }
    39          },
    40          "mockResponse": {
    41            "status": 200,
    42            "body": {
    43              "id": "XX",
    44              "seatbid": [
    45                {
    46                  "seat": "ttx",
    47                  "bid": [{
    48                    "id": "8ee514f1-b2b8-4abb-89fd-084437d1e800",
    49                    "impid": "XYZ",
    50                    "price": 0.500000,
    51                    "adm": "some-test-ad",
    52                    "crid": "crid_10",
    53                    "h": 90,
    54                    "w": 728
    55                  }]
    56                }
    57              ],
    58              "cur": "USD"
    59            }
    60          }
    61        }
    62      ],
    63      "expectedBidResponses": [{"currency":"USD","bids":[]}],
    64      "expectedMakeBidsErrors": [
    65        {
    66        "value": "Failed to find impression \"XYZ\"",
    67        "comparison": "literal"
    68        }
    69      ]
    70    }
    71