github.com/prebid/prebid-server/v2@v2.18.0/adapters/gamoshi/gamoshitest/exemplary/valid-with-device.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "test-request-id",
     4      "device": {
     5        "ip": "3.0.0.0",
     6        "ua": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36"
     7      },
     8      "imp": [
     9        {
    10          "id": "test-imp-video-id",
    11          "video": {
    12            "mimes": ["video/mp4"],
    13            "protocols": [2, 5],
    14            "w": 1024,
    15            "h": 576
    16          },
    17          "ext": {
    18            "bidder": {
    19              "supplyPartnerId": "1707"
    20            }
    21          }
    22        },
    23        {
    24          "id": "unsupported-audio-imp",
    25          "audio": {
    26            "mimes": [
    27              "video/mp4"
    28            ]
    29          },
    30          "ext": {
    31            "bidder": {
    32              "supplyPartnerId": "1707"
    33            }
    34          }
    35        }
    36      ]
    37    },
    38    "httpCalls": [
    39      {
    40        "expectedRequest": {
    41          "uri": "https://rtb.gamoshi.io/r/1707/bidr?bidder=prebid-server",
    42          "body": {
    43            "id": "test-request-id",
    44            "device": {
    45              "ip": "3.0.0.0",
    46              "ua": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36"
    47            },
    48            "imp": [
    49              {
    50                "id": "test-imp-video-id",
    51                "video": {
    52                  "mimes": ["video/mp4"],
    53                  "protocols": [2, 5],
    54                  "w": 1024,
    55                  "h": 576
    56                },
    57                "ext": {
    58                  "bidder": {
    59                    "supplyPartnerId": "1707"
    60                  }
    61                }
    62              }
    63            ]
    64          },
    65          "impIDs":["test-imp-video-id"]
    66        },
    67        "mockResponse": {
    68          "status": 200,
    69          "body": {
    70            "id": "test-request-id",
    71            "cur": "USD",
    72            "seatbid": [
    73              {
    74                "seat": "gamoshi",
    75                "bid": [{
    76                  "id": "8ee514f1-b2b8-4abb-89fd-084437d1e800",
    77                  "impid": "test-imp-video-id",
    78                  "price": 0.500000,
    79                  "adm": "some-test-ad",
    80                  "crid": "crid_10",
    81                  "w": 1024,
    82                  "h": 576
    83                }]
    84              }
    85            ]
    86          }
    87        }
    88      }
    89    ],
    90  
    91    "expectedBidResponses": [
    92      {
    93        "bids": [{
    94          "bid": {
    95            "id": "8ee514f1-b2b8-4abb-89fd-084437d1e800",
    96            "impid": "test-imp-video-id",
    97            "price": 0.5,
    98            "adm": "some-test-ad",
    99            "crid": "crid_10",
   100            "w": 1024,
   101            "h": 576
   102          },
   103          "type": "video"
   104        }]
   105      }
   106    ]
   107  }