github.com/prebid/prebid-server/v2@v2.18.0/adapters/videobyte/videobytetest/exemplary/banner.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          "banner": {
    21            "w": 300,
    22            "h": 250
    23          },
    24          "ext": {
    25            "bidder": {
    26              "pubId": "examplePublisherId",
    27              "placementId": "examplePlacementId",
    28              "nid": "exampleNetworkId"
    29            }
    30          }
    31        }
    32      ],
    33      "site": {
    34        "domain": "example.com",
    35        "page": "http://example.com/page-1",
    36        "ref": "http://referer.com/page-2"
    37      }
    38    },
    39    "httpCalls": [
    40      {
    41        "expectedRequest": {
    42          "method": "GET",
    43          "headers": {
    44            "Referer": [
    45              "http://referer.com/page-2"
    46            ],
    47            "Origin": [
    48              "example.com"
    49            ],
    50            "Accept": [
    51              "application/json"
    52            ],
    53            "Content-Type": [
    54              "application/json;charset=utf-8"
    55            ]
    56          },
    57          "uri": "https://mock.videobyte.com?nid=exampleNetworkId&pid=examplePublisherId&placementId=examplePlacementId&source=pbs",
    58          "body": {
    59            "id": "test-request-id",
    60            "bcat": [
    61              "IAB25",
    62              "IAB7-39",
    63              "IAB8-18"
    64            ],
    65            "user": {
    66              "buyeruid": "user-101",
    67              "yob": 1973
    68            },
    69            "device": {
    70              "ua": "my-user-agent",
    71              "ip": "1.2.3.4"
    72            },
    73            "imp": [
    74              {
    75                "id": "test-imp-id",
    76                "banner": {
    77                  "w": 300,
    78                  "h": 250
    79                },
    80                "ext": {
    81                  "bidder": {
    82                    "pubId": "examplePublisherId",
    83                    "placementId": "examplePlacementId",
    84                    "nid": "exampleNetworkId"
    85                  }
    86                }
    87              }
    88            ],
    89            "site": {
    90              "domain": "example.com",
    91              "page": "http://example.com/page-1",
    92              "ref": "http://referer.com/page-2"
    93            }
    94          },
    95          "impIDs":["test-imp-id"]
    96        },
    97        "mockResponse": {
    98          "status": 200,
    99          "body": {
   100            "cur": "USD",
   101            "seatbid": [
   102              {
   103                "bid": [
   104                  {
   105                    "id": "fe69dd6d-e85c-4186-80a7-605b530bc23b",
   106                    "crid": "72745",
   107                    "adomain": [
   108                      "ad-domain.com"
   109                    ],
   110                    "price": 3,
   111                    "impid": "test-imp-id",
   112                    "adid": "564",
   113                    "adm": "<iframe bordercolor=\"#000000\" frameborder=\"0\" height=\"250\" hspace=\"0\" marginheight=\"0\" marginwidth=\"0\" scrolling=\"no\" srcdoc=\"contents\" vspace=\"0\" width=\"300\"></iframe>"
   114                  }
   115                ],
   116                "seat": "videobyte"
   117              }
   118            ],
   119            "bidid": "test-request-id",
   120            "id": "test-request-id"
   121          }
   122        }
   123      }
   124    ],
   125    "expectedBidResponses": [
   126      {
   127        "currency": "USD",
   128        "bids": [
   129          {
   130            "bid": {
   131              "id": "fe69dd6d-e85c-4186-80a7-605b530bc23b",
   132              "crid": "72745",
   133              "adomain": [
   134                "ad-domain.com"
   135              ],
   136              "price": 3,
   137              "impid": "test-imp-id",
   138              "adid": "564",
   139              "adm": "<iframe bordercolor=\"#000000\" frameborder=\"0\" height=\"250\" hspace=\"0\" marginheight=\"0\" marginwidth=\"0\" scrolling=\"no\" srcdoc=\"contents\" vspace=\"0\" width=\"300\"></iframe>"
   140            },
   141            "type": "banner"
   142          }
   143        ]
   144      }
   145    ]
   146  }