github.com/prebid/prebid-server@v0.275.0/adapters/beachfront/beachfronttest/supplemental/banner-and-adm-video-expected-204-response-on-banner.json (about)

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