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

     1  {
     2    "mockBidRequest": {
     3      "id": "request_id",
     4      "imp": [
     5        {
     6          "id": "imp_id",
     7          "banner": {
     8            "w": 300,
     9            "h": 600
    10          },
    11          "ext": {
    12            "bidder": {
    13              "placement_id": "134001-1"
    14            }
    15          }
    16        }
    17      ],
    18      "site": {
    19        "domain": "www.example.com",
    20        "page": "http://www.example.com"
    21      },
    22      "cur": [
    23        "USD"
    24      ],
    25      "device": {
    26        "ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36",
    27        "ip": "127.0.0.1",
    28        "language": "EN"
    29      },
    30      "tmax": 500
    31    },
    32    "httpCalls": [
    33      {
    34        "expectedRequest": {
    35          "uri": "https://bs-metadsp.yandex.ru/prebid/134001?imp-id=1&ssp-cur=USD&ssp-id=10500&target-ref=www.example.com",
    36          "headers": {
    37            "User-Agent": [
    38              "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36"
    39            ],
    40            "X-Forwarded-For": [
    41              "127.0.0.1"
    42            ],
    43            "X-Real-Ip": [
    44              "127.0.0.1"
    45            ],
    46            "Content-Type": [
    47              "application/json;charset=utf-8"
    48            ],
    49            "Referer": [
    50              "http://www.example.com"
    51            ],
    52            "Accept": [
    53              "application/json"
    54            ],
    55            "Accept-Language": [
    56              "EN"
    57            ]
    58          },
    59          "body": {
    60            "id": "request_id",
    61            "imp": [
    62              {
    63                "id": "imp_id",
    64                "banner": {
    65                  "w": 300,
    66                  "h": 600
    67                },
    68                "ext": {
    69                  "bidder": {
    70                    "placement_id": "134001-1"
    71                  }
    72                }
    73              }
    74            ],
    75            "site": {
    76              "domain": "www.example.com",
    77              "page": "http://www.example.com"
    78            },
    79            "cur": [
    80              "USD"
    81            ],
    82            "device": {
    83              "ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36",
    84              "ip": "127.0.0.1",
    85              "language": "EN"
    86            },
    87            "tmax": 500
    88          },
    89          "impIDs":["imp_id"]
    90        },
    91        "mockResponse": {
    92          "status": 200,
    93          "headers": {},
    94          "body": {
    95            "id": "request_id",
    96            "seatbid": [
    97              {
    98                "bid": [
    99                  {
   100                    "id": "bid_id",
   101                    "impid": "imp_id",
   102                    "price": 1.25,
   103                    "crid": "crid",
   104                    "adm": "<html>content</html>",
   105                    "h": 600,
   106                    "w": 300
   107                  }
   108                ]
   109              }
   110            ],
   111            "bidid": "bid_id",
   112            "cur": "USD"
   113          }
   114        }
   115      }
   116    ],
   117    "expectedBidResponses": [
   118      {
   119        "bids": [
   120          {
   121            "bid": {
   122              "id": "bid_id",
   123              "impid": "imp_id",
   124              "price": 1.25,
   125              "adm": "<html>content</html>",
   126              "crid": "crid",
   127              "w": 300,
   128              "h": 600
   129            },
   130            "type": "banner"
   131          }
   132        ]
   133      }
   134    ]
   135  }