github.com/prebid/prebid-server@v0.275.0/adapters/sovrn/sovrntest/video/simple-video.json (about)

     1  {
     2    "mockBidRequest": {
     3    "id": "test-request-id",
     4    "imp": [
     5      {
     6        "id": "test-imp-id",
     7        "video": {
     8          "mimes": [
     9            "video/mp4",
    10            "video/3gpp",
    11            "video/x-ms-wmv"
    12          ],
    13          "minduration": 5,
    14          "maxduration": 30,
    15          "protocols": [
    16            4,
    17            5,
    18            6,
    19            8
    20          ]
    21        },
    22        "ext": {
    23          "bidder": {
    24            "tagid": "123456"
    25          }
    26        }
    27      }
    28    ],
    29    "device": {
    30      "ua": "test-user-agent",
    31      "ip": "123.123.123.123",
    32      "language": "en",
    33      "dnt": 0
    34    },
    35    "site": {
    36      "domain": "www.publisher.com",
    37      "page": "http://www.publisher.com/awesome/site"
    38    },
    39    "user": {
    40      "buyeruid": "test_reader_id"
    41    }
    42  },
    43    "httpCalls": [
    44      {
    45        "expectedRequest":
    46        {
    47          "Accept": [
    48            "application/json"
    49          ],
    50          "headers": {
    51            "Content-Type": [
    52              "application/json"
    53            ],
    54            "User-Agent": [
    55              "test-user-agent"
    56            ],
    57            "X-Forwarded-For": [
    58              "123.123.123.123"
    59            ],
    60            "Accept-Language": [
    61              "en"
    62            ],
    63            "Dnt": [
    64              "0"
    65            ],
    66            "Cookie": [
    67              "ljt_reader=test_reader_id"
    68            ]
    69          },
    70          "uri": "http://sovrn.com/test/endpoint",
    71          "body": {
    72            "id": "test-request-id",
    73            "imp": [
    74              {
    75                "id": "test-imp-id",
    76                "video": {
    77                  "mimes": [
    78                    "video/mp4",
    79                    "video/3gpp",
    80                    "video/x-ms-wmv"
    81                  ],
    82                  "minduration": 5,
    83                  "maxduration": 30,
    84                  "protocols": [
    85                    4,
    86                    5,
    87                    6,
    88                    8
    89                  ]
    90                },
    91                "tagid": "123456",
    92                "ext": {
    93                  "bidder": {
    94                    "tagid": "123456"
    95                  }
    96                }
    97              }
    98            ],
    99            "site": {
   100              "domain": "www.publisher.com",
   101              "page": "http://www.publisher.com/awesome/site"
   102            },
   103            "user": {
   104              "buyeruid": "test_reader_id"
   105            },
   106            "device": {
   107              "ua": "test-user-agent",
   108              "ip": "123.123.123.123",
   109              "dnt": 0,
   110              "language": "en"
   111            }
   112          }
   113        },
   114        "mockResponse": {
   115          "status": 200,
   116          "body": {
   117            "id": "test-request-id",
   118            "seatbid": [
   119              {
   120                "bid": [
   121                  {
   122                    "id": "v_449642_554a13d3b9f348fba707cf83f0f63800",
   123                    "impid": "test-imp-id",
   124                    "price": 3.5,
   125                    "nurl": "http://sovrn.com/rtb/impression?bannerid=138743&campaignid=3699&zoneid=449642&cb=69493397&tid=a_449642_554a13d3b9f348fba707cf83f0f63800",
   126                    "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>"
   127                  }
   128                ]
   129              }
   130            ]
   131          }
   132        }
   133      }
   134    ],
   135  
   136    "expectedBidResponses": [
   137      {
   138        "currency": "USD",
   139        "bids": [
   140          {
   141            "bid": {
   142            "id": "v_449642_554a13d3b9f348fba707cf83f0f63800",
   143            "impid": "test-imp-id",
   144            "price": 3.5,
   145            "nurl": "http://sovrn.com/rtb/impression?bannerid=138743&campaignid=3699&zoneid=449642&cb=69493397&tid=a_449642_554a13d3b9f348fba707cf83f0f63800",
   146            "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>"
   147            },
   148            "type": "video"
   149          }
   150        ]
   151      }
   152    ]
   153  }