github.com/prebid/prebid-server/v2@v2.18.0/adapters/sharethrough/sharethroughtest/exemplary/web-banner.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "web-banner",
     4      "tmax": 3000,
     5      "imp": [
     6        {
     7          "id": "baner-imp-id",
     8          "ext": {
     9            "bidder": {
    10              "pkey": "pkey"
    11            }
    12          },
    13          "banner": {
    14            "format": [
    15              {
    16                "w": 300,
    17                "h": 250
    18              }
    19            ]
    20          }
    21        }
    22      ],
    23      "test": 0,
    24      "site": {
    25        "publisher": {
    26          "id": "1"
    27        },
    28        "page": "https://some-site.com",
    29        "ref": "https://some-site.com"
    30      },
    31      "device": {
    32        "w": 1200,
    33        "h": 900
    34      }
    35    },
    36    "httpCalls": [
    37      {
    38        "expectedRequest": {
    39          "uri": "http://whatever.url",
    40          "headers": {
    41            "Content-Type": ["application/json;charset=utf-8"],
    42            "Accept": ["application/json"]
    43          },
    44          "body": {
    45            "id": "web-banner",
    46            "tmax": 3000,
    47            "imp": [
    48              {
    49                "id": "baner-imp-id",
    50                "tagid": "pkey",
    51                "ext": {
    52                  "bidder": {
    53                    "pkey": "pkey"
    54                  }
    55                },
    56                "banner": {
    57                  "format": [
    58                    {
    59                      "w": 300,
    60                      "h": 250
    61                    }
    62                  ]
    63                }
    64              }
    65            ],
    66            "site": {
    67              "publisher": {
    68                "id": "1"
    69              },
    70              "page": "https://some-site.com",
    71              "ref": "https://some-site.com"
    72            },
    73            "device": {
    74              "w": 1200,
    75              "h": 900
    76            },
    77            "source": {
    78              "ext": {
    79                "version": "",
    80                "str": "10.0"
    81              }
    82            }
    83          },
    84          "impIDs":["baner-imp-id"]
    85        },
    86        "mockResponse": {
    87          "status": 200,
    88          "body": {
    89            "id": "web-banner",
    90            "cur": "USD",
    91            "seatbid": [
    92              {
    93                "bid": [
    94                  {
    95                    "id": "web-banner",
    96                    "impid": "baner-imp-id",
    97                    "crid": "some-creative-id",
    98                    "adm": "<div>Ad</div>",
    99                    "price": 20,
   100                    "w": 300,
   101                    "h": 250,
   102                    "ext": {
   103                      "prebid": {
   104                        "type": "banner"
   105                      }
   106                    }
   107                  }
   108                ]
   109              }
   110            ]
   111          }
   112        }
   113      }
   114    ],
   115    "expectedBidResponses": [
   116      {
   117        "currency": "USD",
   118        "bids": [
   119          {
   120            "bid": {
   121              "id": "web-banner",
   122              "impid": "baner-imp-id",
   123              "crid": "some-creative-id",
   124              "adm": "<div>Ad</div>",
   125              "price": 20,
   126              "w": 300,
   127              "h": 250,
   128              "ext": {
   129                "prebid": {
   130                  "type": "banner"
   131                }
   132              }
   133            },
   134            "type": "banner"
   135          }
   136        ]
   137      }
   138    ]
   139  }