github.com/prebid/prebid-server/v2@v2.18.0/adapters/pubmatic/pubmatictest/supplemental/reqBidderParams.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "test-request-id",
     4      "imp": [
     5        {
     6          "id": "test-imp-id",
     7          "banner": {
     8            "format": [
     9              {
    10                "w": 300,
    11                "h": 250
    12              }
    13            ]
    14          },
    15          "ext": {
    16            "bidder": {
    17              "adSlot": "AdTag_Div1@300x250",
    18              "publisherId": "  999  ",
    19              "keywords": [
    20                {
    21                  "key": "pmZoneID",
    22                  "value": [
    23                    "Zone1",
    24                    "Zone2"
    25                  ]
    26                },
    27                {
    28                  "key": "preference",
    29                  "value": [
    30                    "sports",
    31                    "movies"
    32                  ]
    33                }
    34              ],
    35              "wrapper": {
    36                "version": 1,
    37                "profile": 5123
    38              }
    39            }
    40          }
    41        }
    42      ],
    43      "device": {
    44        "ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36"
    45      },
    46      "ext": {
    47        "prebid": {
    48          "bidderparams": {
    49            "wrapper": {
    50              "profile": 1234,
    51              "version": 2
    52            }
    53          }
    54        }
    55      },
    56      "site": {
    57        "id": "siteID",
    58        "publisher": {
    59          "id": "1234"
    60        }
    61      }
    62    },
    63    "httpCalls": [
    64      {
    65        "expectedRequest": {
    66          "uri": "https://hbopenbid.pubmatic.com/translator?source=prebid-server",
    67          "body": {
    68            "id": "test-request-id",
    69            "imp": [
    70              {
    71                "id": "test-imp-id",
    72                "tagid": "AdTag_Div1",
    73                "banner": {
    74                  "format": [
    75                    {
    76                      "w": 300,
    77                      "h": 250
    78                    }
    79                  ],
    80                  "h": 250,
    81                  "w": 300
    82                },
    83                "ext": {
    84                  "pmZoneId": "Zone1,Zone2",
    85                  "preference": "sports,movies"
    86                }
    87              }
    88            ],
    89            "device": {
    90              "ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36"
    91            },
    92            "site": {
    93              "id": "siteID",
    94              "publisher": {
    95                "id": "999"
    96              }
    97            },
    98            "ext": {
    99              "wrapper": {
   100                "profile": 1234,
   101                "version": 2
   102              },
   103              "prebid": {
   104                "bidderparams": {
   105                  "wrapper": {
   106                    "profile": 1234,
   107                    "version": 2
   108                  }
   109                }
   110              }
   111            }
   112          },
   113          "impIDs":["test-imp-id"]
   114        },
   115        "mockResponse": {
   116          "status": 200,
   117          "body": {
   118            "id": "test-request-id",
   119            "seatbid": [
   120              {
   121                "seat": "958",
   122                "bid": [
   123                  {
   124                    "id": "7706636740145184841",
   125                    "impid": "test-imp-id",
   126                    "price": 0.500000,
   127                    "adid": "29681110",
   128                    "adm": "some-test-ad",
   129                    "adomain": [
   130                      "pubmatic.com"
   131                    ],
   132                    "crid": "29681110",
   133                    "h": 250,
   134                    "w": 300,
   135                    "dealid": "test deal",
   136                    "ext": {
   137                      "dspid": 6,
   138                      "deal_channel": 1
   139                    }
   140                  }
   141                ]
   142              }
   143            ],
   144            "bidid": "5778926625248726496",
   145            "cur": "USD"
   146          }
   147        }
   148      }
   149    ],
   150    "expectedBidResponses": [
   151      {
   152        "currency": "USD",
   153        "bids": [
   154          {
   155            "bid": {
   156              "id": "7706636740145184841",
   157              "impid": "test-imp-id",
   158              "price": 0.5,
   159              "adid": "29681110",
   160              "adm": "some-test-ad",
   161              "adomain": [
   162                "pubmatic.com"
   163              ],
   164              "crid": "29681110",
   165              "w": 300,
   166              "h": 250,
   167              "dealid": "test deal",
   168              "ext": {
   169                "dspid": 6,
   170                "deal_channel": 1
   171              }
   172            },
   173            "type": "banner"
   174          }
   175        ]
   176      }
   177    ]
   178  }