github.com/prebid/prebid-server/v2@v2.18.0/adapters/bmtm/brightmountainmediatest/supplemental/multi-imp-mixed-validation.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "test-request-id",
     4      "site": {
     5        "page": "prebid.org"
     6      },
     7      "device": {
     8        "ua": "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.101 Safari/537.36",
     9        "ip": "73.55.27.72"
    10      },
    11      "imp": [
    12        {
    13          "id": "test-imp-id1",
    14          "banner": {
    15            "format": [
    16              {
    17                "w": 728,
    18                "h": 90
    19              }
    20            ]
    21          },
    22          "ext": {
    23            "bidder": {
    24              "placement_id": 329
    25            }
    26          }
    27        },
    28        {
    29          "id": "test-imp-id2",
    30          "ext": {
    31            "bidder": {
    32              "placement_id": 329
    33            }
    34          }
    35        }
    36      ]
    37    },
    38    "httpCalls": [
    39      {
    40        "expectedRequest": {
    41          "uri": "https://example.com/api/pbs",
    42          "body": {
    43            "id": "test-request-id",
    44            "site": {
    45              "page": "prebid.org"
    46            },
    47            "device": {
    48              "ua": "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.101 Safari/537.36",
    49              "ip": "73.55.27.72"
    50            },
    51            "imp": [
    52              {
    53                "id": "test-imp-id1",
    54                "banner": {
    55                  "format": [
    56                    {
    57                      "w": 728,
    58                      "h": 90
    59                    }
    60                  ]
    61                },
    62                "tagid": "329"
    63              }
    64            ]
    65          },
    66          "impIDs":["test-imp-id1"]
    67        },
    68        "mockResponse": {
    69          "status": 200,
    70          "body": {
    71            "id": "test-request-id",
    72            "seatbid": [
    73              {
    74                "seat": "brightx",
    75                "bid": [
    76                  {
    77                    "id": "8ee514f1-b2b8-4abb-89fd-084437d1e800",
    78                    "impid": "test-imp-id1",
    79                    "price": 0.500000,
    80                    "adm": "some-test-ad",
    81                    "crid": "crid_10",
    82                    "h": 90,
    83                    "w": 728
    84                  }
    85                ]
    86              }
    87            ],
    88            "cur": "USD"
    89          }
    90        }
    91      }
    92    ],
    93    "expectedMakeRequestsErrors": [
    94      {
    95        "value": "For Imp ID test-imp-id2 Banner or Video is undefined",
    96        "comparison": "literal"
    97      }
    98    ],
    99    "expectedBidResponses": [
   100      {
   101        "currency": "USD",
   102        "bids": [
   103          {
   104            "bid": {
   105              "id": "8ee514f1-b2b8-4abb-89fd-084437d1e800",
   106              "impid": "test-imp-id1",
   107              "price": 0.5,
   108              "adm": "some-test-ad",
   109              "crid": "crid_10",
   110              "w": 728,
   111              "h": 90
   112            },
   113            "type": "banner"
   114          }
   115        ]
   116      }
   117    ]
   118  }