github.com/prebid/prebid-server@v0.275.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        },
   141        "mockResponse": {
   142          "status": 200,
   143          "body": {
   144            "id": "test-request-id",
   145            "seatbid": [
   146              {
   147                "bid": [
   148                  {
   149                    "id": "a_449642_554a13d3b9f348fba707cf83f0f63800",
   150                    "impid": "test-imp-id1",
   151                    "price": 3.5,
   152                    "nurl": "http://sovrn.com/rtb/impression?bannerid=138743&campaignid=3699&zoneid=449642&cb=69493397&tid=a_449642_554a13d3b9f348fba707cf83f0f63800",
   153                    "adm": "some-test-ad",
   154                    "w": 300,
   155                    "h": 250
   156                  }
   157                ]
   158              },
   159              {
   160                "bid": [
   161                  {
   162                    "id": "v_449642_554a13d3b9f348fba707cf83f0f63800",
   163                    "impid": "test-imp-id2",
   164                    "price": 3.5,
   165                    "nurl": "http://sovrn.com/rtb/impression?bannerid=138743&campaignid=3699&zoneid=449642&cb=69493397&tid=a_449642_554a13d3b9f348fba707cf83f0f63800",
   166                    "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>"
   167                  }
   168                ]
   169              }
   170            ]
   171          }
   172        }
   173      }
   174    ],
   175  
   176    "expectedBidResponses": [
   177      {
   178        "currency": "USD",
   179        "bids": [
   180          {
   181            "bid": {
   182              "id": "a_449642_554a13d3b9f348fba707cf83f0f63800",
   183              "impid": "test-imp-id1",
   184              "price": 3.5,
   185              "adm": "some-test-ad",
   186              "nurl": "http://sovrn.com/rtb/impression?bannerid=138743&campaignid=3699&zoneid=449642&cb=69493397&tid=a_449642_554a13d3b9f348fba707cf83f0f63800",
   187              "w": 300,
   188              "h": 250
   189            },
   190            "type": "banner"
   191          },
   192          {
   193            "bid": {
   194              "id": "v_449642_554a13d3b9f348fba707cf83f0f63800",
   195              "impid": "test-imp-id2",
   196              "price": 3.5,
   197              "nurl": "http://sovrn.com/rtb/impression?bannerid=138743&campaignid=3699&zoneid=449642&cb=69493397&tid=a_449642_554a13d3b9f348fba707cf83f0f63800",
   198              "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>"
   199            },
   200            "type": "video"
   201          }
   202        ]
   203      }
   204    ]
   205  }