github.com/prebid/prebid-server@v0.275.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        },
   122        "mockResponse": {
   123          "status": 200,
   124          "body": {
   125            "cur": "USD",
   126            "seatbid": [
   127              {
   128                "bid": [
   129                  {
   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-1",
   137                    "adid": "564",
   138                    "adm": "<?xml version=\"1.0\"?><VAST version=\"2.0\"></VAST>"
   139                  }
   140                ],
   141                "seat": "videobyte"
   142              }
   143            ],
   144            "bidid": "test-request-id",
   145            "id": "test-request-id"
   146          }
   147        }
   148      },
   149      {
   150        "expectedRequest": {
   151          "method": "GET",
   152          "headers": {
   153            "Referer": [
   154              "http://referer.com/page-2"
   155            ],
   156            "Origin": [
   157              "example.com"
   158            ],
   159            "Accept": [
   160              "application/json"
   161            ],
   162            "Content-Type": [
   163              "application/json;charset=utf-8"
   164            ]
   165          },
   166          "uri": "https://mock.videobyte.com?nid=exampleNetworkId-2&pid=examplePublisherId-2&placementId=examplePlacementId-2&source=pbs",
   167          "body": {
   168            "id": "test-request-id",
   169            "bcat": [
   170              "IAB25",
   171              "IAB7-39",
   172              "IAB8-18"
   173            ],
   174            "user": {
   175              "buyeruid": "user-101",
   176              "yob": 1973
   177            },
   178            "device": {
   179              "ua": "my-user-agent",
   180              "ip": "1.2.3.4"
   181            },
   182            "imp": [
   183              {
   184                "id": "test-imp-id-2",
   185                "video": {
   186                  "w": 800,
   187                  "h": 150,
   188                  "mimes": [
   189                    "video/x-flv",
   190                    "video/mp4"
   191                  ]
   192                },
   193                "ext": {
   194                  "bidder": {
   195                    "pubId": "examplePublisherId-2",
   196                    "placementId": "examplePlacementId-2",
   197                    "nid": "exampleNetworkId-2"
   198                  }
   199                }
   200              }
   201            ],
   202            "site": {
   203              "domain": "example.com",
   204              "page": "http://example.com/page-1",
   205              "ref": "http://referer.com/page-2"
   206            }
   207          }
   208        },
   209        "mockResponse": {
   210          "status": 200,
   211          "body": {
   212            "cur": "USD",
   213            "seatbid": [
   214              {
   215                "bid": [
   216                  {
   217                    "id": "fe69dd6d-e85c-4186-80a7-605b530bc23c",
   218                    "crid": "72746",
   219                    "adomain": [
   220                      "ad-domain.com"
   221                    ],
   222                    "price": 4,
   223                    "impid": "test-imp-id-2",
   224                    "adid": "565",
   225                    "adm": "<?xml version=\"1.0\"?><VAST version=\"2.0\"></VAST>"
   226                  }
   227                ],
   228                "seat": "videobyte"
   229              }
   230            ],
   231            "bidid": "test-request-id",
   232            "id": "test-request-id"
   233          }
   234        }
   235      }
   236    ],
   237    "expectedBidResponses": [
   238      {
   239        "currency": "USD",
   240        "bids": [
   241          {
   242            "bid": {
   243              "id": "fe69dd6d-e85c-4186-80a7-605b530bc23b",
   244              "crid": "72745",
   245              "adomain": [
   246                "ad-domain.com"
   247              ],
   248              "price": 3,
   249              "impid": "test-imp-id-1",
   250              "adid": "564",
   251              "adm": "<?xml version=\"1.0\"?><VAST version=\"2.0\"></VAST>"
   252            },
   253            "type": "video"
   254          }
   255        ]
   256      },
   257      {
   258        "currency": "USD",
   259        "bids": [
   260          {
   261            "bid": {
   262              "id": "fe69dd6d-e85c-4186-80a7-605b530bc23c",
   263              "crid": "72746",
   264              "adomain": [
   265                "ad-domain.com"
   266              ],
   267              "price": 4,
   268              "impid": "test-imp-id-2",
   269              "adid": "565",
   270              "adm": "<?xml version=\"1.0\"?><VAST version=\"2.0\"></VAST>"
   271            },
   272            "type": "video"
   273          }
   274        ]
   275      }
   276    ]
   277  }