github.com/prebid/prebid-server/v2@v2.18.0/adapters/smarthub/smarthubtest/exemplary/banner.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "id",
     4      "imp": [
     5        {
     6          "id": "id",
     7          "secure": 1,
     8          "bidfloor": 0.01,
     9          "bidfloorcur": "USD",
    10          "banner": {
    11            "w": 300,
    12            "h": 250
    13          },
    14          "ext": {
    15            "bidder": {
    16              "partnerName": "partnertest",
    17              "seat": "9Q20EdGxzgWdfPYShScl",
    18              "token": "zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer"
    19            }
    20          }
    21        }
    22      ],
    23      "device": {
    24        "ua": "UA",
    25        "ip": "123.3.4.123"
    26      },
    27      "regs": {
    28        "ext": {
    29          "gdpr": 0
    30        }
    31      },
    32      "user": {
    33        "id": "userid"
    34      },
    35      "site": {
    36        "id": "id",
    37        "domain": "test,com",
    38        "cat": [
    39          "IAB12"
    40        ],
    41        "publisher": {
    42          "id": "pubid"
    43        }
    44      }
    45    },
    46    "httpCalls": [
    47      {
    48        "expectedRequest": {
    49          "uri": "http://prebid.smart-hub.io/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
    50          "body": {
    51            "id": "id",
    52            "imp": [
    53              {
    54                "id": "id",
    55                "secure": 1,
    56                "bidfloor": 0.01,
    57                "bidfloorcur": "USD",
    58                "banner": {
    59                  "w": 300,
    60                  "h": 250
    61                },
    62                "ext": {
    63                  "bidder": {
    64                    "partnerName": "partnertest",
    65                    "seat": "9Q20EdGxzgWdfPYShScl",
    66                    "token": "zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer"
    67                  }
    68                }
    69              }
    70            ],
    71            "device": {
    72              "ua": "UA",
    73              "ip": "123.3.4.123"
    74            },
    75            "regs": {
    76              "ext": {
    77                "gdpr": 0
    78              }
    79            },
    80            "user": {
    81              "id": "userid"
    82            },
    83            "site": {
    84              "id": "id",
    85              "domain": "test,com",
    86              "cat": [
    87                "IAB12"
    88              ],
    89              "publisher": {
    90                "id": "pubid"
    91              }
    92            }
    93          },
    94          "impIDs":["id"]
    95        },
    96        "mockResponse": {
    97          "status": 200,
    98          "body": {
    99            "id": "id",
   100            "bidid": "id",
   101            "seatbid": [
   102              {
   103                "bid": [
   104                  {
   105                    "id": "id",
   106                    "impid": "id",
   107                    "price": 0.1,
   108                    "nurl": "http://test.com/nurl",
   109                    "burl": "http://test.com/burl",
   110                    "adm": "<span>Test</span>",
   111                    "adomain": [
   112                      "test.com"
   113                    ],
   114                    "cat": [
   115                      "IAB1"
   116                    ],
   117                    "cid": "cid",
   118                    "crid": "crid",
   119                    "w": 300,
   120                    "h": 250,
   121                    "ext": {
   122                      "mediaType": "banner"
   123                    }
   124                  }
   125                ],
   126                "seat": "seat"
   127              }
   128            ],
   129            "cur": "USD"
   130          }
   131        }
   132      }
   133    ],
   134    "expectedBidResponses": [
   135      {
   136        "currency": "USD",
   137        "bids": [
   138          {
   139            "bid": {
   140              "id": "id",
   141              "impid": "id",
   142              "price": 0.1,
   143              "nurl": "http://test.com/nurl",
   144              "burl": "http://test.com/burl",
   145              "adm": "<span>Test</span>",
   146              "adomain": [
   147                "test.com"
   148              ],
   149              "cat": [
   150                "IAB1"
   151              ],
   152              "cid": "cid",
   153              "crid": "crid",
   154              "w": 300,
   155              "h": 250,
   156              "ext": {
   157                "mediaType": "banner"
   158              }
   159            },
   160            "type": "banner"
   161          }
   162        ]
   163      }
   164    ]
   165  }