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

     1  {
     2    "mockBidRequest": {
     3      "id": "banner-and-video",
     4      "imp": [
     5        {
     6          "id": "mix1",
     7          "ext": {
     8            "bidder": {
     9              "videoResponseType": "adm",
    10              "appIds": {
    11                "banner": "bannerAppId1",
    12                "video": "videoAppId1"
    13              }
    14            }
    15          },
    16          "banner": {
    17            "format": [
    18              {
    19                "w": 300,
    20                "h": 250
    21              }
    22            ]
    23          },
    24          "video": {
    25            "mimes": [
    26              "video/mp4"
    27            ],
    28            "context": "instream",
    29            "w": 300,
    30            "h": 250
    31          }
    32        }
    33      ],
    34      "site": {
    35        "page": "https://some.domain.us/some/page.html"
    36      },
    37      "device":{
    38        "ip":"255.255.255.255"
    39      }
    40    },
    41  
    42    "httpCalls": [
    43      {
    44        "expectedRequest": {
    45          "uri": "https://qa.beachrtb.com/prebid_display",
    46          "body": {
    47            "slots": [
    48              {
    49                "slot": "mix1",
    50                "bidfloor": 0,
    51                "id": "bannerAppId1",
    52                "sizes": [
    53                  {
    54                    "w": 300,
    55                    "h": 250
    56                  }
    57                ]
    58              }
    59            ],
    60            "domain": "some.domain.us",
    61            "page": "https://some.domain.us/some/page.html",
    62            "real204": true,
    63            "referrer": "",
    64            "search": "",
    65            "secure": 1,
    66            "deviceOs": "",
    67            "deviceModel": "",
    68            "isMobile": 0,
    69            "ua": "",
    70            "ip": "255.255.255.255",
    71            "dnt": 0,
    72            "user": {},
    73            "adapterName": "BF_PREBID_S2S",
    74            "adapterVersion": "1.0.0",
    75            "requestId": "banner-and-video",
    76            "schain": {
    77              "complete": 0,
    78              "nodes": null,
    79              "ver": ""
    80            }
    81          },
    82          "impIDs":["mix1"]
    83        },
    84        "mockResponse": {
    85          "status": 200,
    86          "body": [
    87            {
    88              "crid": "crid_1",
    89              "price": 9.5019655,
    90              "w": 300,
    91              "h": 250,
    92              "slot": "mix1",
    93              "adm": "<div id=\"44861168\"><script>!function(){console.log\"Hello, ad.\";}();<\/script><\/div>"
    94            }
    95          ]
    96        }
    97      },
    98      {
    99        "expectedRequest": {
   100          "uri": "https://qa.beachrtb.com/bid.json?exchange_id=videoAppId1",
   101          "body": {
   102            "id": "banner-and-video",
   103            "imp": [
   104              {
   105                "video": {
   106                  "w": 300,
   107                  "h": 250,
   108                  "mimes": [
   109                    "video/mp4"
   110                  ]
   111                },
   112                "secure": 1,
   113                "id": "mix1"
   114              }
   115            ],
   116            "site": {
   117              "domain": "some.domain.us",
   118              "page": "https://some.domain.us/some/page.html"
   119            },
   120            "device": {
   121              "devicetype": 2,
   122              "ip": "255.255.255.255"
   123            },
   124            "cur": [
   125              "USD"
   126            ]
   127          },
   128          "impIDs":["mix1"]
   129        },
   130        "mockResponse": {
   131          "status": 200,
   132          "body": {
   133            "id": "61b87329-8790-47b7-90dd-c53ae7ce1723",
   134            "seatbid": [
   135              {
   136                "bid": [
   137                  {
   138                    "id": "5d839458f73decdc1572b7f6",
   139                    "impid": "mix1",
   140                    "price": 20,
   141                    "adm": "<VAST version=\"2.0\"><Ad><Wrapper>http://example.com/vast.xml</Wrapper></Ad></VAST>",
   142                    "adid": "1088",
   143                    "adomain": [
   144                      "beachfront.io"
   145                    ],
   146                    "cid": "277",
   147                    "crid": "532",
   148                    "w": 300,
   149                    "h": 250
   150                  }
   151                ],
   152                "seat": "bfb-io-s1"
   153              }
   154            ],
   155            "bidid": "5d839458f73decdc1572b7f6",
   156            "cur": "USD"
   157          }
   158        }
   159      }
   160    ],
   161  
   162    "expectedBidResponses": [
   163      {
   164        "bids": [
   165          {
   166            "bid": {
   167              "id": "mix1Banner",
   168              "impid": "mix1",
   169              "price": 9.5019655,
   170              "adm": "<div id=\"44861168\"><script>!function(){console.log\"Hello, ad.\";}();<\/script><\/div>",
   171              "crid": "crid_1",
   172              "w": 300,
   173              "h": 250
   174            },
   175            "type": "banner"
   176          }
   177        ]
   178      },
   179      {
   180        "bids": [
   181          {
   182            "bid": {
   183              "id": "mix1AdmVideo",
   184              "impid": "mix1",
   185              "price": 20,
   186              "adm": "<VAST version=\"2.0\"><Ad><Wrapper>http://example.com/vast.xml</Wrapper></Ad></VAST>",
   187              "adid": "1088",
   188              "adomain": [
   189                "beachfront.io"
   190              ],
   191              "cid": "277",
   192              "crid": "532",
   193              "w": 300,
   194              "h": 250
   195            },
   196            "type": "video"
   197          }
   198        ]
   199      }
   200    ]
   201  }