github.com/prebid/prebid-server/v2@v2.18.0/adapters/openweb/openwebtest/exemplary/simple-banner.json (about)

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