github.com/prebid/prebid-server/v2@v2.18.0/adapters/smartadserver/smartadservertest/exemplary/multi-banner.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "test-request-multi-id",
     4      "imp": [
     5        {
     6          "id": "test-imp-id-1",
     7          "banner": {
     8            "format": [{"w": 728, "h": 90}]
     9          },
    10          "ext": {
    11            "bidder": {
    12              "siteId": 1,
    13              "pageId": 2,
    14              "formatId": 3,
    15              "networkId": 73
    16            }
    17          }
    18        },
    19        {
    20          "id": "test-imp-id-2",
    21          "banner": {
    22            "format": [{"w": 300, "h": 150}]
    23          },
    24          "ext": {
    25            "bidder": {
    26              "siteId": 1,
    27              "pageId": 2,
    28              "formatId": 4,
    29              "networkId": 73
    30            }
    31          }
    32        }
    33      ]
    34    },
    35  
    36    "httpCalls": [
    37      {
    38        "expectedRequest": {
    39          "uri": "https://ssb.smartadserver.com/api/bid?callerId=5",
    40          "body": {
    41            "id": "test-request-multi-id",
    42            "imp": [
    43              {
    44                "id": "test-imp-id-1",
    45                "banner": {
    46                  "format": [{"w": 728, "h": 90}]
    47                },
    48                "ext": {
    49                  "bidder": {
    50                    "siteId": 1,
    51                    "pageId": 2,
    52                    "formatId": 3,
    53                    "networkId": 73
    54                  }
    55                }
    56              }
    57            ],
    58            "site": {
    59              "publisher": {
    60                "id": "73"
    61              }
    62            }
    63          },
    64          "impIDs":["test-imp-id-1"]
    65        },
    66        "mockResponse": {
    67          "status": 200,
    68          "body": {
    69            "id": "test-request-multi-id",
    70            "seatbid": [
    71              {
    72                "seat": "smartadserver",
    73                "bid": [{
    74                  "id": "8ee514f1-b2b8-4abb-89fd-084437d1e800",
    75                  "impid": "test-imp-id-1",
    76                  "price": 0.500000,
    77                  "adm": "some-test-ad",
    78                  "crid": "crid_10",
    79                  "h": 90,
    80                  "w": 728
    81                }]
    82              }
    83            ],
    84            "cur": "USD"
    85          }
    86        }
    87      },
    88      {
    89        "expectedRequest": {
    90          "uri": "https://ssb.smartadserver.com/api/bid?callerId=5",
    91          "body": {
    92            "id": "test-request-multi-id",
    93            "imp": [
    94              {
    95                "id": "test-imp-id-2",
    96                "banner": {
    97                  "format": [{"w": 300, "h": 150}]
    98                },
    99                "ext": {
   100                  "bidder": {
   101                    "siteId": 1,
   102                    "pageId": 2,
   103                    "formatId": 4,
   104                    "networkId": 73
   105                  }
   106                }
   107              }
   108            ],
   109            "site": {
   110              "publisher": {
   111                "id": "73"
   112              }
   113            }
   114          },
   115          "impIDs":["test-imp-id-2"]
   116        },
   117        "mockResponse": {
   118          "status": 200,
   119          "body": {
   120            "id": "test-request-multi-id",
   121            "seatbid": [
   122              {
   123                "seat": "smartadserver",
   124                "bid": [{
   125                  "id": "8ee514f1-b2b8-4abb-89fd-084437d1e801",
   126                  "impid": "test-imp-id-2",
   127                  "price": 0.800000,
   128                  "adm": "some-test-ad",
   129                  "crid": "crid_11",
   130                  "h": 150,
   131                  "w": 300
   132                }]
   133              }
   134            ],
   135            "cur": "USD"
   136          }
   137        }
   138      }
   139    ],
   140  
   141    "expectedBidResponses": [
   142      {
   143        "currency": "USD",
   144        "bids": [
   145          {
   146            "bid": {
   147              "id": "8ee514f1-b2b8-4abb-89fd-084437d1e800",
   148              "impid": "test-imp-id-1",
   149              "price": 0.5,
   150              "adm": "some-test-ad",
   151              "crid": "crid_10",
   152              "w": 728,
   153              "h": 90
   154            },
   155            "type": "banner"
   156          }
   157        ]
   158      },
   159      {
   160        "currency": "USD",
   161        "bids": [
   162          {
   163            "bid": {
   164              "id": "8ee514f1-b2b8-4abb-89fd-084437d1e801",
   165              "impid": "test-imp-id-2",
   166              "price": 0.8,
   167              "adm": "some-test-ad",
   168              "crid": "crid_11",
   169              "w": 300,
   170              "h": 150
   171            },
   172            "type": "banner"
   173          }
   174        ]
   175      }
   176    ]
   177  }