github.com/prebid/prebid-server/v2@v2.18.0/adapters/sspBC/sspbctest/exemplary/banner-preformatted-onecode.json (about)

     1  {
     2      "mockBidRequest": {
     3          "id": "test-request",
     4          "imp": [
     5              {
     6                  "id": "slot",
     7                  "ext": {},
     8                  "secure": 1,
     9                  "banner": {
    10                      "format": [
    11                          {
    12                              "w": 300,
    13                              "h": 250
    14                          }
    15                      ]
    16                  }
    17              }
    18          ],
    19          "site": {
    20              "domain": "test.page",
    21              "page": "https://test.page/",
    22              "ref": "https://test.referer/"
    23          },
    24          "regs": {
    25              "ext": {
    26                  "gdpr": 1
    27              }
    28          },
    29          "user": {
    30              "ext": {
    31                  "consent": "test_consent"
    32              },
    33              "buyeruid": "test_user"
    34          }
    35      },
    36      "httpCalls": [
    37          {
    38              "expectedRequest": {
    39                  "uri": "http://ssp.wp.test/bidder/?bdver=5.8&inver=4",
    40                  "body": {
    41                      "id": "test-request",
    42                      "imp": [
    43                          {
    44                              "id": "slot",
    45                              "banner": {
    46                                  "format": [
    47                                      {
    48                                          "w": 300,
    49                                          "h": 250
    50                                      }
    51                                  ]
    52                              },
    53                              "tagid": "slot",
    54                              "secure": 1,
    55                              "ext": {
    56                                  "data": {
    57                                      "pbslot": "slot",
    58                                      "pbsize": "300x250"
    59                                  }
    60                              }
    61                          }
    62                      ],
    63                      "site": {
    64                          "domain": "test.page",
    65                          "page": "https://test.page/",
    66                          "ref": "https://test.referer/"
    67                      },
    68                      "user": {
    69                          "ext": {
    70                              "consent": "test_consent"
    71                          },
    72                          "buyeruid": "test_user"
    73                      },
    74                      "regs": {
    75                          "ext": {
    76                              "gdpr": 1
    77                          }
    78                      }
    79                  },
    80                  "impIDs":["slot"]
    81              },
    82              "mockResponse": {
    83                  "status": 200,
    84                  "body": {
    85                      "cur": "USD",
    86                      "id": "test-request",
    87                      "seatbid": [
    88                          {
    89                              "bid": [
    90                                  {
    91                                      "adm": "<!--preformatted-->test_ad",
    92                                      "adomain": [
    93                                          "sspbc-test"
    94                                      ],
    95                                      "crid": "1234",
    96                                      "ext": {
    97                                          "adlabel": "Reklama",
    98                                          "pubid": "431",
    99                                          "siteid": "237503",
   100                                          "slotid": "005",
   101                                          "tagid": "slot"
   102                                      },
   103                                      "w": 300,
   104                                      "h": 250,
   105                                      "id": "response-005",
   106                                      "impid": "slot",
   107                                      "price": 20
   108                                  }
   109                              ],
   110                              "seat": "sspbc-test"
   111                          }
   112                      ],
   113                      "sn": "sspbc-test"
   114                  }
   115              }
   116          }
   117      ],
   118      "expectedBidResponses": [
   119          {
   120              "currency": "USD",
   121              "bids": [
   122                  {
   123                      "bid": {
   124                          "id": "response-005",
   125                          "impid": "slot",
   126                          "price": 20,
   127                          "adm": "<!--preformatted-->test_ad",
   128                          "adomain": [
   129                              "sspbc-test"
   130                          ],
   131                          "crid": "1234",
   132                          "w": 300,
   133                          "h": 250,
   134                          "ext": {
   135                              "adlabel": "Reklama",
   136                              "pubid": "431",
   137                              "siteid": "237503",
   138                              "slotid": "005",
   139                              "tagid": "slot"
   140                          }
   141                      },
   142                      "type": "banner"
   143                  }
   144              ]
   145          }
   146      ]
   147  }