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