github.com/prebid/prebid-server/v2@v2.18.0/adapters/sovrn/sovrntest/video/multi-banner-video.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "test-request-id",
     4      "imp": [
     5        {
     6          "id": "test-imp-id1",
     7          "banner": {
     8            "format": [
     9              {
    10                "w": 300,
    11                "h": 250
    12              },
    13              {
    14                "w": 300,
    15                "h": 600
    16              }
    17            ]
    18          },
    19          "ext": {
    20            "bidder": {
    21              "tagid": "123456"
    22            }
    23          }
    24        },
    25      {
    26        "id": "test-imp-id2",
    27        "video": {
    28          "mimes": [
    29            "video/mp4",
    30            "video/3gpp",
    31            "video/x-ms-wmv"
    32          ],
    33          "minduration": 10,
    34          "maxduration": 60,
    35          "protocols": [
    36            4,
    37            5,
    38            6,
    39            8
    40          ]
    41        },
    42        "ext": {
    43          "bidder": {
    44            "tagid": "654321"
    45          }
    46        },
    47        "tagid": "654321" 
    48      }
    49      ],
    50      "device": {
    51        "ua": "test-user-agent",
    52        "ip": "123.123.123.123",
    53        "language": "en",
    54        "dnt": 0
    55      },
    56      "site": {
    57        "domain": "www.publisher.com",
    58        "page": "http://www.publisher.com/awesome/site"
    59      },
    60      "user": {
    61        "buyeruid": "test_reader_id"
    62      }
    63    },
    64  
    65    "httpCalls": [
    66      {
    67        "expectedRequest": {
    68          "headers": {
    69            "Content-Type": ["application/json"],
    70            "User-Agent": ["test-user-agent"],
    71            "X-Forwarded-For": ["123.123.123.123"],
    72            "Accept-Language": ["en"],
    73            "Dnt": ["0"],
    74            "Cookie": ["ljt_reader=test_reader_id"]
    75          },
    76          "uri": "http://sovrn.com/test/endpoint",
    77          "body": {
    78            "id": "test-request-id",
    79            "imp": [
    80              {
    81                "id": "test-imp-id1",
    82                "banner": {
    83                  "format": [
    84                    {
    85                      "w": 300,
    86                      "h": 250
    87                    },
    88                    {
    89                      "w": 300,
    90                      "h": 600
    91                    }
    92                  ]
    93                },
    94                "tagid": "123456",
    95                "ext": {
    96                  "bidder": {
    97                    "tagid": "123456"
    98                  }
    99                }
   100              },
   101              {
   102                "id": "test-imp-id2",
   103                "video": {
   104                  "mimes": [
   105                    "video/mp4",
   106                    "video/3gpp",
   107                    "video/x-ms-wmv"
   108                  ],
   109                  "minduration": 10,
   110                  "maxduration": 60,
   111                  "protocols": [
   112                    4,
   113                    5,
   114                    6,
   115                    8
   116                  ]
   117                },
   118                "tagid": "654321",
   119                "ext": {
   120                  "bidder": {
   121                    "tagid": "654321"
   122                  }
   123                }
   124              }
   125            ],
   126            "site": {
   127              "domain": "www.publisher.com",
   128              "page": "http://www.publisher.com/awesome/site"
   129            },
   130            "user": {
   131              "buyeruid": "test_reader_id"
   132            },
   133            "device": {
   134              "ua": "test-user-agent",
   135              "ip": "123.123.123.123",
   136              "dnt": 0,
   137              "language": "en"
   138            }
   139          },
   140          "impIDs":["test-imp-id1","test-imp-id2"]
   141        },
   142        "mockResponse": {
   143          "status": 200,
   144          "body": {
   145            "id": "test-request-id",
   146            "seatbid": [
   147              {
   148                "bid": [
   149                  {
   150                    "id": "a_449642_554a13d3b9f348fba707cf83f0f63800",
   151                    "impid": "test-imp-id1",
   152                    "price": 3.5,
   153                    "nurl": "http://sovrn.com/rtb/impression?bannerid=138743&campaignid=3699&zoneid=449642&cb=69493397&tid=a_449642_554a13d3b9f348fba707cf83f0f63800",
   154                    "adm": "some-test-ad",
   155                    "w": 300,
   156                    "h": 250
   157                  }
   158                ]
   159              },
   160              {
   161                "bid": [
   162                  {
   163                    "id": "v_449642_554a13d3b9f348fba707cf83f0f63800",
   164                    "impid": "test-imp-id2",
   165                    "price": 3.5,
   166                    "nurl": "http://sovrn.com/rtb/impression?bannerid=138743&campaignid=3699&zoneid=449642&cb=69493397&tid=a_449642_554a13d3b9f348fba707cf83f0f63800",
   167                    "adm": "<?xml version=\"1.0\" encoding=\"utf-8\"?><VAST version=\"2.0\"><Ad id=\"12345\"><InLine><AdSystem version=\"1.0\">SpotXchange</AdSystem><AdTitle> <![CDATA[Sample VAST]]></AdTitle><Impression>http://sample.com</Impression><Description><![CDATA[A sample VAST feed]]></Description> <Creatives><Creative sequence=\"1\" id=\"1\"><Linear><Duration>00:00:30</Duration> <TrackingEvents> </TrackingEvents><VideoClicks><ClickThrough><![CDATA[http://sample.com/openrtbtest]]></ClickThrough></VideoClicks><MediaFiles><MediaFile delivery=\"progressive\" bitrate=\"256\" width=\"640\" height=\"480\" type=\"video/mp4\"><![CDATA[http://sample.com/video.mp4]]> </MediaFile></MediaFiles></Linear> </Creative></Creatives></InLine></Ad></VAST>"
   168                  }
   169                ]
   170              }
   171            ]
   172          }
   173        }
   174      }
   175    ],
   176  
   177    "expectedBidResponses": [
   178      {
   179        "currency": "USD",
   180        "bids": [
   181          {
   182            "bid": {
   183              "id": "a_449642_554a13d3b9f348fba707cf83f0f63800",
   184              "impid": "test-imp-id1",
   185              "price": 3.5,
   186              "adm": "some-test-ad",
   187              "nurl": "http://sovrn.com/rtb/impression?bannerid=138743&campaignid=3699&zoneid=449642&cb=69493397&tid=a_449642_554a13d3b9f348fba707cf83f0f63800",
   188              "w": 300,
   189              "h": 250
   190            },
   191            "type": "banner"
   192          },
   193          {
   194            "bid": {
   195              "id": "v_449642_554a13d3b9f348fba707cf83f0f63800",
   196              "impid": "test-imp-id2",
   197              "price": 3.5,
   198              "nurl": "http://sovrn.com/rtb/impression?bannerid=138743&campaignid=3699&zoneid=449642&cb=69493397&tid=a_449642_554a13d3b9f348fba707cf83f0f63800",
   199              "adm": "<?xml version=\"1.0\" encoding=\"utf-8\"?><VAST version=\"2.0\"><Ad id=\"12345\"><InLine><AdSystem version=\"1.0\">SpotXchange</AdSystem><AdTitle> <![CDATA[Sample VAST]]></AdTitle><Impression>http://sample.com</Impression><Description><![CDATA[A sample VAST feed]]></Description> <Creatives><Creative sequence=\"1\" id=\"1\"><Linear><Duration>00:00:30</Duration> <TrackingEvents> </TrackingEvents><VideoClicks><ClickThrough><![CDATA[http://sample.com/openrtbtest]]></ClickThrough></VideoClicks><MediaFiles><MediaFile delivery=\"progressive\" bitrate=\"256\" width=\"640\" height=\"480\" type=\"video/mp4\"><![CDATA[http://sample.com/video.mp4]]> </MediaFile></MediaFiles></Linear> </Creative></Creatives></InLine></Ad></VAST>"
   200            },
   201            "type": "video"
   202          }
   203        ]
   204      }
   205    ]
   206  }