github.com/prebid/prebid-server@v0.275.0/adapters/33across/33acrosstest/supplemental/multi-imp-mixed-validation.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "test-request-id",
     4      "imp": [
     5        {
     6          "id": "test-imp-id1",
     7          "banner": {
     8            "format": [{"w": 728, "h": 90}]
     9          },
    10          "ext": {
    11            "bidder": {
    12              "siteId": "fake-site-id",
    13              "productId": "inview"
    14            }
    15          }
    16        },
    17        {
    18          "id": "test-imp-id2",
    19          "ext": {
    20            "bidder": {
    21              "siteId": "fake-site-id",
    22              "productId": "inview"
    23            }
    24          }
    25        }
    26      ],
    27      "site": {}
    28    },
    29  
    30    "httpCalls": [
    31      {
    32        "expectedRequest": {
    33          "uri": "http://ssc.33across.com",
    34          "body": {
    35            "ext": {
    36              "ttx": {
    37                "caller": [
    38                  {
    39                    "name": "Prebid-Server",
    40                    "version": "n/a"
    41                  }
    42                ]
    43              }
    44            },
    45            "id": "test-request-id",
    46            "imp": [
    47              {
    48                "id":"test-imp-id1",
    49                "banner": {
    50                  "format": [{"w": 728, "h": 90}]
    51                },
    52                "ext": {
    53                  "ttx": {
    54                    "prod": "inview",
    55                    "zoneid": "fake-site-id"
    56                  }
    57                }
    58              }
    59            ],
    60            "site": {}
    61          }
    62        },
    63        "mockResponse": {
    64          "status": 200,
    65          "body": {
    66            "id": "test-request-id",
    67            "seatbid": [
    68              {
    69                "seat": "ttx",
    70                "bid": [{
    71                  "id": "8ee514f1-b2b8-4abb-89fd-084437d1e800",
    72                  "impid": "test-imp-id1",
    73                  "price": 0.500000,
    74                  "adm": "some-test-ad",
    75                  "crid": "crid_10",
    76                  "h": 90,
    77                  "w": 728,
    78                  "ext": {
    79                    "ttx": {
    80                      "mediaType": "banner"
    81                    }
    82                  }
    83                }]
    84              }
    85            ],
    86            "cur": "USD"
    87          }
    88        }
    89      }
    90    ],
    91    "expectedMakeRequestsErrors": [
    92      {
    93        "value": "Imp ID test-imp-id2 must have at least one of [Banner, Video] defined",
    94        "comparison": "literal"
    95      }
    96    ],
    97    "expectedBidResponses": [
    98      {
    99        "currency": "USD",
   100        "bids": [
   101          {
   102            "bid": {
   103              "id": "8ee514f1-b2b8-4abb-89fd-084437d1e800",
   104              "impid": "test-imp-id1",
   105              "price": 0.5,
   106              "adm": "some-test-ad",
   107              "crid": "crid_10",
   108              "w": 728,
   109              "h": 90,
   110              "ext": {
   111                "ttx": {
   112                  "mediaType": "banner"
   113                }
   114              }
   115            },
   116            "type": "banner"
   117          }
   118        ]
   119      }
   120    ]
   121  }