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

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