github.com/prebid/prebid-server@v0.275.0/adapters/videobyte/videobytetest/exemplary/video.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        },
   104        "mockResponse": {
   105          "status": 200,
   106          "body": {
   107            "cur": "USD",
   108            "seatbid": [
   109              {
   110                "bid": [
   111                  {
   112                    "id": "fe69dd6d-e85c-4186-80a7-605b530bc23b",
   113                    "crid": "72745",
   114                    "adomain": [
   115                      "ad-domain.com"
   116                    ],
   117                    "price": 3,
   118                    "impid": "test-imp-id",
   119                    "adid": "564",
   120                    "adm": "<?xml version=\"1.0\"?><VAST version=\"2.0\"></VAST>"
   121                  }
   122                ],
   123                "seat": "videobyte"
   124              }
   125            ],
   126            "bidid": "test-request-id",
   127            "id": "test-request-id"
   128          }
   129        }
   130      }
   131    ],
   132    "expectedBidResponses": [
   133      {
   134        "currency": "USD",
   135        "bids": [
   136          {
   137            "bid": {
   138              "id": "fe69dd6d-e85c-4186-80a7-605b530bc23b",
   139              "crid": "72745",
   140              "adomain": [
   141                "ad-domain.com"
   142              ],
   143              "price": 3,
   144              "impid": "test-imp-id",
   145              "adid": "564",
   146              "adm": "<?xml version=\"1.0\"?><VAST version=\"2.0\"></VAST>"
   147            },
   148            "type": "video"
   149          }
   150        ]
   151      }
   152    ]
   153  }