github.com/prebid/prebid-server/v2@v2.18.0/adapters/videobyte/videobytetest/supplemental/invalid-response.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "test-request-id",
     4      "bcat": [
     5        "IAB25",
     6        "IAB7-39",
     7        "IAB8-18"
     8      ],
     9      "user": {
    10        "buyeruid": "user-101",
    11        "yob": 1973
    12      },
    13      "device": {
    14        "ua": "my-user-agent",
    15        "ip": "1.2.3.4"
    16      },
    17      "imp": [
    18        {
    19          "id": "test-imp-id",
    20          "video": {
    21            "w": 900,
    22            "h": 250,
    23            "mimes": [
    24              "video/x-flv",
    25              "video/mp4"
    26            ]
    27          },
    28          "ext": {
    29            "bidder": {
    30              "pubId": "examplePublisherId",
    31              "placementId": "examplePlacementId",
    32              "nid": "exampleNetworkId"
    33            }
    34          }
    35        }
    36      ],
    37      "site": {
    38        "domain": "example.com",
    39        "page": "http://example.com/page-1",
    40        "ref": "http://referer.com/page-2"
    41      }
    42    },
    43    "httpCalls": [
    44      {
    45        "expectedRequest": {
    46          "method": "GET",
    47          "headers": {
    48            "Referer": [
    49              "http://referer.com/page-2"
    50            ],
    51            "Origin": [
    52              "example.com"
    53            ],
    54            "Accept": [
    55             "application/json"
    56            ],
    57            "Content-Type": [
    58             "application/json;charset=utf-8"
    59            ]
    60          },
    61          "uri": "https://mock.videobyte.com?nid=exampleNetworkId&pid=examplePublisherId&placementId=examplePlacementId&source=pbs",
    62          "body": {
    63            "id": "test-request-id",
    64            "bcat": [
    65              "IAB25",
    66              "IAB7-39",
    67              "IAB8-18"
    68            ],
    69            "user": {
    70              "buyeruid": "user-101",
    71              "yob": 1973
    72            },
    73            "device": {
    74              "ua": "my-user-agent",
    75              "ip": "1.2.3.4"
    76            },
    77            "imp": [
    78              {
    79                "id": "test-imp-id",
    80                "video": {
    81                  "w": 900,
    82                  "h": 250,
    83                  "mimes": [
    84                    "video/x-flv",
    85                    "video/mp4"
    86                  ]
    87                },
    88                "ext": {
    89                  "bidder": {
    90                    "pubId": "examplePublisherId",
    91                    "placementId": "examplePlacementId",
    92                    "nid": "exampleNetworkId"
    93                  }
    94                }
    95              }
    96            ],
    97            "site": {
    98              "domain": "example.com",
    99              "page": "http://example.com/page-1",
   100              "ref": "http://referer.com/page-2"
   101            }
   102          },
   103          "impIDs":["test-imp-id"]
   104        },
   105        "mockResponse": {
   106          "status": 200,
   107          "body": "invalid-body"
   108        }
   109      }
   110    ],
   111    "expectedMakeBidsErrors": [
   112      {
   113        "value": "Bad Server Response",
   114        "comparison": "literal"
   115      }
   116    ]
   117  }