github.com/prebid/prebid-server/v2@v2.18.0/adapters/videobyte/videobytetest/exemplary/multi-imp.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-1",
    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-1",
    31              "placementId": "examplePlacementId-1",
    32              "nid": "exampleNetworkId-1"
    33            }
    34          }
    35        },
    36        {
    37          "id": "test-imp-id-2",
    38          "video": {
    39            "w": 800,
    40            "h": 150,
    41            "mimes": [
    42              "video/x-flv",
    43              "video/mp4"
    44            ]
    45          },
    46          "ext": {
    47            "bidder": {
    48              "pubId": "examplePublisherId-2",
    49              "placementId": "examplePlacementId-2",
    50              "nid": "exampleNetworkId-2"
    51            }
    52          }
    53        }
    54      ],
    55      "site": {
    56        "domain": "example.com",
    57        "page": "http://example.com/page-1",
    58        "ref": "http://referer.com/page-2"
    59      }
    60    },
    61    "httpCalls": [
    62      {
    63        "expectedRequest": {
    64          "method": "GET",
    65          "headers": {
    66            "Referer": [
    67              "http://referer.com/page-2"
    68            ],
    69            "Origin": [
    70              "example.com"
    71            ],
    72            "Accept": [
    73              "application/json"
    74            ],
    75            "Content-Type": [
    76              "application/json;charset=utf-8"
    77            ]
    78          },
    79          "uri": "https://mock.videobyte.com?nid=exampleNetworkId-1&pid=examplePublisherId-1&placementId=examplePlacementId-1&source=pbs",
    80          "body": {
    81            "id": "test-request-id",
    82            "bcat": [
    83              "IAB25",
    84              "IAB7-39",
    85              "IAB8-18"
    86            ],
    87            "user": {
    88              "buyeruid": "user-101",
    89              "yob": 1973
    90            },
    91            "device": {
    92              "ua": "my-user-agent",
    93              "ip": "1.2.3.4"
    94            },
    95            "imp": [
    96              {
    97                "id": "test-imp-id-1",
    98                "video": {
    99                  "w": 900,
   100                  "h": 250,
   101                  "mimes": [
   102                    "video/x-flv",
   103                    "video/mp4"
   104                  ]
   105                },
   106                "ext": {
   107                  "bidder": {
   108                    "pubId": "examplePublisherId-1",
   109                    "placementId": "examplePlacementId-1",
   110                    "nid": "exampleNetworkId-1"
   111                  }
   112                }
   113              }
   114            ],
   115            "site": {
   116              "domain": "example.com",
   117              "page": "http://example.com/page-1",
   118              "ref": "http://referer.com/page-2"
   119            }
   120          },
   121          "impIDs":["test-imp-id-1"]
   122        },
   123        "mockResponse": {
   124          "status": 200,
   125          "body": {
   126            "cur": "USD",
   127            "seatbid": [
   128              {
   129                "bid": [
   130                  {
   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-1",
   138                    "adid": "564",
   139                    "adm": "<?xml version=\"1.0\"?><VAST version=\"2.0\"></VAST>"
   140                  }
   141                ],
   142                "seat": "videobyte"
   143              }
   144            ],
   145            "bidid": "test-request-id",
   146            "id": "test-request-id"
   147          }
   148        }
   149      },
   150      {
   151        "expectedRequest": {
   152          "method": "GET",
   153          "headers": {
   154            "Referer": [
   155              "http://referer.com/page-2"
   156            ],
   157            "Origin": [
   158              "example.com"
   159            ],
   160            "Accept": [
   161              "application/json"
   162            ],
   163            "Content-Type": [
   164              "application/json;charset=utf-8"
   165            ]
   166          },
   167          "uri": "https://mock.videobyte.com?nid=exampleNetworkId-2&pid=examplePublisherId-2&placementId=examplePlacementId-2&source=pbs",
   168          "body": {
   169            "id": "test-request-id",
   170            "bcat": [
   171              "IAB25",
   172              "IAB7-39",
   173              "IAB8-18"
   174            ],
   175            "user": {
   176              "buyeruid": "user-101",
   177              "yob": 1973
   178            },
   179            "device": {
   180              "ua": "my-user-agent",
   181              "ip": "1.2.3.4"
   182            },
   183            "imp": [
   184              {
   185                "id": "test-imp-id-2",
   186                "video": {
   187                  "w": 800,
   188                  "h": 150,
   189                  "mimes": [
   190                    "video/x-flv",
   191                    "video/mp4"
   192                  ]
   193                },
   194                "ext": {
   195                  "bidder": {
   196                    "pubId": "examplePublisherId-2",
   197                    "placementId": "examplePlacementId-2",
   198                    "nid": "exampleNetworkId-2"
   199                  }
   200                }
   201              }
   202            ],
   203            "site": {
   204              "domain": "example.com",
   205              "page": "http://example.com/page-1",
   206              "ref": "http://referer.com/page-2"
   207            }
   208          },
   209          "impIDs":["test-imp-id-2"]
   210        },
   211        "mockResponse": {
   212          "status": 200,
   213          "body": {
   214            "cur": "USD",
   215            "seatbid": [
   216              {
   217                "bid": [
   218                  {
   219                    "id": "fe69dd6d-e85c-4186-80a7-605b530bc23c",
   220                    "crid": "72746",
   221                    "adomain": [
   222                      "ad-domain.com"
   223                    ],
   224                    "price": 4,
   225                    "impid": "test-imp-id-2",
   226                    "adid": "565",
   227                    "adm": "<?xml version=\"1.0\"?><VAST version=\"2.0\"></VAST>"
   228                  }
   229                ],
   230                "seat": "videobyte"
   231              }
   232            ],
   233            "bidid": "test-request-id",
   234            "id": "test-request-id"
   235          }
   236        }
   237      }
   238    ],
   239    "expectedBidResponses": [
   240      {
   241        "currency": "USD",
   242        "bids": [
   243          {
   244            "bid": {
   245              "id": "fe69dd6d-e85c-4186-80a7-605b530bc23b",
   246              "crid": "72745",
   247              "adomain": [
   248                "ad-domain.com"
   249              ],
   250              "price": 3,
   251              "impid": "test-imp-id-1",
   252              "adid": "564",
   253              "adm": "<?xml version=\"1.0\"?><VAST version=\"2.0\"></VAST>"
   254            },
   255            "type": "video"
   256          }
   257        ]
   258      },
   259      {
   260        "currency": "USD",
   261        "bids": [
   262          {
   263            "bid": {
   264              "id": "fe69dd6d-e85c-4186-80a7-605b530bc23c",
   265              "crid": "72746",
   266              "adomain": [
   267                "ad-domain.com"
   268              ],
   269              "price": 4,
   270              "impid": "test-imp-id-2",
   271              "adid": "565",
   272              "adm": "<?xml version=\"1.0\"?><VAST version=\"2.0\"></VAST>"
   273            },
   274            "type": "video"
   275          }
   276        ]
   277      }
   278    ]
   279  }