github.com/prebid/prebid-server/v2@v2.18.0/adapters/cpmstar/cpmstartest/exemplary/multiple-banners.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "test-request-id",
     4      "imp": [
     5        {
     6          "id": "test-banner-imp-id",
     7          "banner": {
     8            "format": [
     9              {
    10                "w": 300,
    11                "h": 250
    12              }
    13            ]
    14          },
    15          "ext": {
    16            "bidder": {
    17              "placementId": 154,
    18              "subpoolId": 123
    19            }
    20          }
    21        },
    22        {
    23          "id": "test-banner-imp-id-2",
    24          "banner": {
    25            "format": [
    26              {
    27                "w": 728,
    28                "h": 90
    29              }
    30            ]
    31          },
    32          "ext": {
    33            "bidder": {
    34              "placementId": 154,
    35              "subpoolId": 500
    36            }
    37          }
    38        }
    39      ],
    40      "site": {
    41        "id": "fake-site-id"
    42      }
    43    },
    44    "httpCalls": [
    45      {
    46        "expectedRequest": {
    47          "uri": "//host",
    48          "body": {
    49            "id": "test-request-id",
    50            "imp": [
    51              {
    52                "id": "test-banner-imp-id",
    53                "banner": {
    54                  "format": [
    55                    {
    56                      "w": 300,
    57                      "h": 250
    58                    }
    59                  ]
    60                },
    61                "ext": {
    62                  "placementId": 154,
    63                  "subpoolId": 123
    64                }
    65              },
    66              {
    67                "id": "test-banner-imp-id-2",
    68                "banner": {
    69                  "format": [
    70                    {
    71                      "w": 728,
    72                      "h": 90
    73                    }
    74                  ]
    75                },
    76                "ext": {
    77                  "placementId": 154,
    78                  "subpoolId": 500
    79                }
    80              }              
    81            ],
    82            "site": {
    83              "id": "fake-site-id"
    84            }
    85          },
    86          "impIDs":["test-banner-imp-id", "test-banner-imp-id-2"]
    87        },
    88        "mockResponse": {
    89          "status": 200,
    90          "body": {
    91            "id": "test-request-id",
    92            "seatbid": [
    93              {
    94                "seat": "cpmstar",
    95                "bid": [
    96                  {
    97                    "id": "8ee514f1-b2b8-4abb-89fd-084437d1e800",
    98                    "impid": "test-banner-imp-id",
    99                    "price": 0.500000,
   100                    "adm": "some-test-ad",
   101                    "crid": "crid_10",
   102                    "h": 250,
   103                    "w": 300
   104                  },
   105                  {
   106                    "id": "06f0f605-0359-4b2d-9916-e4f06a4cdc1d",
   107                    "impid": "test-banner-imp-id-2",
   108                    "price": 1.000000,
   109                    "adm": "some-test-ad-2",
   110                    "crid": "crid_11",
   111                    "h": 90,
   112                    "w": 728
   113                  }
   114                ]
   115              }
   116            ],
   117            "cur": "USD"
   118          }
   119        }
   120      }
   121    ],
   122    "expectedBidResponses": [
   123      {
   124        "currency": "USD",
   125        "bids": [
   126          {
   127            "bid": {
   128              "id": "8ee514f1-b2b8-4abb-89fd-084437d1e800",
   129              "impid": "test-banner-imp-id",
   130              "price": 0.5,
   131              "adm": "some-test-ad",
   132              "crid": "crid_10",
   133              "w": 300,
   134              "h": 250
   135            },
   136            "type": "banner"
   137          },
   138          {
   139            "bid": {
   140              "id": "06f0f605-0359-4b2d-9916-e4f06a4cdc1d",
   141              "impid": "test-banner-imp-id-2",
   142              "price": 1.0,
   143              "adm": "some-test-ad-2",
   144              "crid": "crid_11",
   145              "w": 728,
   146              "h": 90
   147            },
   148            "type": "banner"
   149          }
   150        ]
   151      }
   152    ]
   153  }
   154