github.com/prebid/prebid-server/v2@v2.18.0/adapters/pubmatic/pubmatictest/supplemental/gptSlotNameInImpExtPbAdslot.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            "data": {
    41              "pbadslot": "/2222/home"
    42            }
    43          }
    44        }
    45      ],
    46      "device": {
    47        "ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36"
    48      },
    49      "site": {
    50        "id": "siteID",
    51        "publisher": {
    52          "id": "1234"
    53        }
    54      }
    55    },
    56    "httpCalls": [
    57      {
    58        "expectedRequest": {
    59          "uri": "https://hbopenbid.pubmatic.com/translator?source=prebid-server",
    60          "body": {
    61            "id": "test-request-id",
    62            "imp": [
    63              {
    64                "id": "test-imp-id",
    65                "tagid": "AdTag_Div1",
    66                "banner": {
    67                  "format": [
    68                    {
    69                      "w": 300,
    70                      "h": 250
    71                    }
    72                  ],
    73                  "h": 250,
    74                  "w": 300
    75                },
    76                "ext": {
    77                  "pmZoneId": "Zone1,Zone2",
    78                  "preference": "sports,movies",
    79                  "dfp_ad_unit_code": "/2222/home"
    80                }
    81              }
    82            ],
    83            "device": {
    84              "ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36"
    85            },
    86            "site": {
    87              "id": "siteID",
    88              "publisher": {
    89                "id": "999"
    90              }
    91            },
    92            "ext": {
    93              "wrapper": {
    94                "profile": 5123,
    95                "version": 1
    96              },
    97              "prebid": {}
    98            }
    99          },
   100          "impIDs":["test-imp-id"]
   101        },
   102        "mockResponse": {
   103          "status": 200,
   104          "body": {
   105            "id": "test-request-id",
   106            "seatbid": [
   107              {
   108                "seat": "958",
   109                "bid": [
   110                  {
   111                    "id": "7706636740145184841",
   112                    "impid": "test-imp-id",
   113                    "price": 0.500000,
   114                    "adid": "29681110",
   115                    "adm": "some-test-ad",
   116                    "adomain": [
   117                      "pubmatic.com"
   118                    ],
   119                    "crid": "29681110",
   120                    "h": 250,
   121                    "w": 300,
   122                    "dealid": "test deal",
   123                    "ext": {
   124                      "dspid": 6,
   125                      "deal_channel": 1
   126                    }
   127                  }
   128                ]
   129              }
   130            ],
   131            "bidid": "5778926625248726496",
   132            "cur": "USD"
   133          }
   134        }
   135      }
   136    ],
   137    "expectedBidResponses": [
   138      {
   139        "currency": "USD",
   140        "bids": [
   141          {
   142            "bid": {
   143              "id": "7706636740145184841",
   144              "impid": "test-imp-id",
   145              "price": 0.5,
   146              "adid": "29681110",
   147              "adm": "some-test-ad",
   148              "adomain": [
   149                "pubmatic.com"
   150              ],
   151              "crid": "29681110",
   152              "w": 300,
   153              "h": 250,
   154              "dealid": "test deal",
   155              "ext": {
   156                "dspid": 6,
   157                "deal_channel": 1
   158              }
   159            },
   160            "type": "banner"
   161          }
   162        ]
   163      }
   164    ]
   165  }