github.com/prebid/prebid-server@v0.275.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        },
    96        "mockResponse": {
    97          "status": 200,
    98          "body": {
    99            "cur": "USD",
   100            "seatbid": [
   101              {
   102                "bid": [
   103                  {
   104                    "id": "fe69dd6d-e85c-4186-80a7-605b530bc23b",
   105                    "crid": "72745",
   106                    "adomain": [
   107                      "ad-domain.com"
   108                    ],
   109                    "price": 3,
   110                    "impid": "test-imp-id",
   111                    "adid": "564",
   112                    "adm": "<iframe bordercolor=\"#000000\" frameborder=\"0\" height=\"250\" hspace=\"0\" marginheight=\"0\" marginwidth=\"0\" scrolling=\"no\" srcdoc=\"contents\" vspace=\"0\" width=\"300\"></iframe>"
   113                  }
   114                ],
   115                "seat": "videobyte"
   116              }
   117            ],
   118            "bidid": "test-request-id",
   119            "id": "test-request-id"
   120          }
   121        }
   122      }
   123    ],
   124    "expectedBidResponses": [
   125      {
   126        "currency": "USD",
   127        "bids": [
   128          {
   129            "bid": {
   130              "id": "fe69dd6d-e85c-4186-80a7-605b530bc23b",
   131              "crid": "72745",
   132              "adomain": [
   133                "ad-domain.com"
   134              ],
   135              "price": 3,
   136              "impid": "test-imp-id",
   137              "adid": "564",
   138              "adm": "<iframe bordercolor=\"#000000\" frameborder=\"0\" height=\"250\" hspace=\"0\" marginheight=\"0\" marginwidth=\"0\" scrolling=\"no\" srcdoc=\"contents\" vspace=\"0\" width=\"300\"></iframe>"
   139            },
   140            "type": "banner"
   141          }
   142        ]
   143      }
   144    ]
   145  }