github.com/prebid/prebid-server/v2@v2.18.0/adapters/beachfront/beachfronttest/supplemental/adm-video-schain.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "adm-video",
     4      "imp": [
     5        {
     6          "id": "video1",
     7          "ext": {
     8            "bidder": {
     9              "appId": "videoAppId1"
    10            }
    11          },
    12          "video": {
    13            "mimes": [
    14              "video/mp4"
    15            ],
    16            "context": "instream",
    17            "w": 300,
    18            "h": 250
    19          }
    20        }
    21      ],
    22      "site": {
    23        "page": "https://some.domain.us/some/page.html"
    24      },
    25      "device":{
    26        "ip":"192.168.168.168"
    27      },
    28      "source": {
    29        "fd": 1,
    30        "ext": {
    31          "schain": {
    32            "complete": 1,
    33            "ver": "1.0",
    34            "nodes": [
    35              {
    36                "asi": "somenode.com",
    37                "sid": "some-sid",
    38                "rid": "some-rid",
    39                "hp": 1
    40              }
    41            ]
    42          }
    43        }
    44      }
    45    },
    46  
    47    "httpCalls": [
    48      {
    49        "expectedRequest": {
    50          "uri": "https://qa.beachrtb.com/bid.json?exchange_id=videoAppId1",
    51          "body": {
    52            "id": "adm-video",
    53            "imp": [
    54              {
    55                "video": {
    56                  "w": 300,
    57                  "h": 250,
    58                  "mimes": [
    59                    "video/mp4"
    60                  ]
    61                },
    62                "id": "video1",
    63                "secure": 1
    64              }
    65            ],
    66            "site": {
    67              "page": "https://some.domain.us/some/page.html",
    68              "domain": "some.domain.us"
    69            },
    70            "cur": [
    71              "USD"
    72            ],
    73            "device":{
    74              "devicetype": 2,
    75              "ip":"192.168.168.168"
    76            },
    77            "source": {
    78              "fd": 1,
    79              "ext": {
    80                "schain": {
    81                  "complete": 1,
    82                  "ver": "1.0",
    83                  "nodes": [
    84                    {
    85                      "asi": "somenode.com",
    86                      "sid": "some-sid",
    87                      "rid": "some-rid",
    88                      "hp": 1
    89                    }
    90                  ]
    91                }
    92              }
    93            }
    94          },
    95          "impIDs":["video1"]
    96        },
    97        "mockResponse": {
    98          "status": 200,
    99          "body": {
   100            "id": "adm-video",
   101            "seatBid": [
   102              {
   103                "bid": [
   104                  {
   105                    "id": "5fd7c8a6ff2f1f0d42ee6427",
   106                    "impid": "video1",
   107                    "price": 20,
   108                    "adm": "<VAST version=\"2.0\"><Ad><Wrapper>http://example.com/vast.xml</Wrapper></Ad></VAST>",
   109                    "adid": "1088",
   110                    "adomain": [
   111                      "beachfront.io"
   112                    ],
   113                    "cid": "277",
   114                    "crid": "532",
   115                    "cat":["IAB2"],
   116                    "w": 300,
   117                    "h": 250,
   118                    "ext": {
   119                      "duration": 30
   120                    }
   121                  }
   122                ],
   123                "seat": "bfio-s-1"
   124              }
   125            ]
   126          }
   127        }
   128      }
   129    ],
   130  
   131    "expectedBidResponses": [
   132      {
   133        "currency": "USD",
   134        "bids": [
   135          {
   136            "bid": {
   137              "id": "video1AdmVideo",
   138              "impid": "video1",
   139              "price": 20,
   140              "adm": "<VAST version=\"2.0\"><Ad><Wrapper>http://example.com/vast.xml</Wrapper></Ad></VAST>",
   141              "adid": "1088",
   142              "adomain": [
   143                "beachfront.io"
   144              ],
   145              "cid": "277",
   146              "crid": "532",
   147              "cat":["IAB2"],
   148              "w": 300,
   149              "h": 250,
   150              "ext": {
   151                "duration": 30
   152              }
   153            },
   154            "type": "video"
   155          }
   156        ]
   157      }
   158    ]
   159  }