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

     1  {
     2    "mockBidRequest": {
     3      "id": "req-id-banner",
     4      "imp": [
     5        {
     6          "id": "imp-id-banner",
     7          "banner": {
     8            "format": [
     9              {
    10                "w": 640,
    11                "h": 400
    12              },
    13              {
    14                "w": 320,
    15                "h": 300
    16              }    
    17            ]
    18          },
    19          "ext": {
    20            "bidder": {
    21              "siteId": "site-id-b",
    22              "publisherId": "publisher-id-b",
    23              "tagId": "tag-id-b",
    24              "bidfloor": 5.0
    25            }
    26          }
    27        }
    28      ],
    29      "site": {
    30        "id": "some-site-id-b",
    31        "domain": "http://test.com",
    32        "page": "http://test.com/test",
    33        "publisher": {
    34          "id": "some-pub-id-b"
    35        }
    36      }
    37    },
    38    "httpCalls": [
    39      {
    40        "expectedRequest": {
    41          "uri": "https://dsp.readpeak.com/header/prebid",
    42          "body": {
    43            "id": "req-id-banner",
    44            "imp": [
    45              {
    46                "id": "imp-id-banner",
    47                "tagid": "tag-id-b",
    48                "bidfloor": 5.0,
    49                "banner": {
    50                  "format": [
    51                    {
    52                      "w": 640,
    53                      "h": 400
    54                    },
    55                    {
    56                      "w": 320,
    57                      "h": 300
    58                    }    
    59                  ]
    60                },
    61                "ext": {
    62                  "bidder": {
    63                    "siteId": "site-id-b",
    64                    "publisherId": "publisher-id-b",
    65                    "tagId": "tag-id-b",
    66                    "bidfloor": 5.0
    67                  }
    68                }
    69              }
    70            ],
    71            "site": {
    72              "id": "site-id-b",
    73              "publisher": {
    74                "id": "publisher-id-b"
    75              },
    76              "domain": "http://test.com",
    77              "page": "http://test.com/test"
    78            }
    79          },
    80          "impIDs":["imp-id-banner"]
    81        },
    82        "mockResponse": {
    83          "status": 200,
    84          "body": {
    85            "id": "req-id-banner",
    86            "seatbid": [
    87              {
    88                "seat": "bid",
    89                "bid": [
    90                  {
    91                    "id": "test-bid-id-banner",
    92                    "impid": "imp-id-banner",
    93                    "price": 0.500000,
    94                    "adm": "<html><body>some-test-ad-banner<img src='http://test.com/burl?p=${AUCTION_PRICE}'></body></html>",
    95                    "crid": "123",
    96                    "w": 640,
    97                    "h": 400,
    98                    "burl": "http://test.com/burl?p=${AUCTION_PRICE}",
    99                    "mtype": 1
   100                  }
   101                ]
   102              }
   103            ],
   104            "cur": "USD"
   105          }
   106        }
   107      }
   108    ],
   109    "expectedBidResponses": [
   110      {
   111        "currency": "USD",
   112        "bids": [
   113          {
   114            "bid": {
   115              "id": "test-bid-id-banner",
   116              "impid": "imp-id-banner",
   117              "price": 0.5,
   118              "adm": "<html><body>some-test-ad-banner<img src='http://test.com/burl?p=0.5'></body></html>",
   119              "crid": "123",
   120              "w": 640,
   121              "h": 400,
   122              "burl": "http://test.com/burl?p=0.5",
   123              "mtype": 1
   124            },
   125            "type": "banner"
   126          }
   127        ]
   128      }
   129    ]
   130  }