github.com/prebid/prebid-server/v2@v2.18.0/adapters/tpmn/tpmntest/exemplary/simple-site-native.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "test-request-id",
     4      "site": {
     5        "page": "prebid.org"
     6      },
     7      "device": {
     8        "ip":"123.123.123.123"
     9      },
    10      "imp": [
    11        {
    12          "id": "test-imp-id",
    13          "native": {
    14            "ver": "1.1",
    15            "request": "{\"ver\":\"1.0\",\"layout\":1,\"adunit\":1,\"plcmttype\":1,\"plcmtcnt\":1,\"seq\":0,\"assets\":[{\"id\":1,\"required\":1,\"title\":{\"len\":75}},{\"id\":2,\"required\":1,\"img\":{\"type\":3,\"wmin\":60,\"hmin\":60,\"mimes\":[\"image/jpeg\",\"image/jpg\",\"image/png\"]}},{\"id\":3,\"required\":0,\"data\":{\"type\":2,\"len\":75}},{\"id\":4,\"required\":0,\"data\":{\"type\":6,\"len\":1000}},{\"id\":5,\"required\":0,\"data\":{\"type\":7,\"len\":1000}},{\"id\":6,\"required\":0,\"data\":{\"type\":11,\"len\":1000}}]}"
    16          },
    17          "ext": {
    18            "bidder": {
    19              "inventoryId": 10000001
    20            }
    21          }
    22        }
    23      ]
    24    },
    25  
    26    "httpCalls": [
    27      {
    28        "expectedRequest": {
    29          "uri": "https://gat.tpmn.io/ortb/pbs_bidder",
    30          "headers": {
    31            "Accept": [
    32              "application/json"
    33            ],
    34            "Content-Type": [
    35              "application/json;charset=utf-8"
    36            ]
    37          },
    38          "body": {
    39            "id": "test-request-id",
    40            "site": {
    41              "page": "prebid.org"
    42            },
    43            "device": {
    44              "ip":"123.123.123.123"
    45            },
    46            "imp": [
    47              {
    48                "id": "test-imp-id",
    49                "native": {
    50                  "ver": "1.1",
    51                  "request": "{\"ver\":\"1.0\",\"layout\":1,\"adunit\":1,\"plcmttype\":1,\"plcmtcnt\":1,\"seq\":0,\"assets\":[{\"id\":1,\"required\":1,\"title\":{\"len\":75}},{\"id\":2,\"required\":1,\"img\":{\"type\":3,\"wmin\":60,\"hmin\":60,\"mimes\":[\"image/jpeg\",\"image/jpg\",\"image/png\"]}},{\"id\":3,\"required\":0,\"data\":{\"type\":2,\"len\":75}},{\"id\":4,\"required\":0,\"data\":{\"type\":6,\"len\":1000}},{\"id\":5,\"required\":0,\"data\":{\"type\":7,\"len\":1000}},{\"id\":6,\"required\":0,\"data\":{\"type\":11,\"len\":1000}}]}"
    52                },
    53                "bidfloorcur": "USD",
    54                "ext": {
    55                  "bidder": {
    56                    "inventoryId": 10000001
    57                  }
    58                }
    59              }
    60            ]
    61          },
    62          "impIDs":["test-imp-id"]
    63        },
    64        "mockResponse": {
    65          "status": 200,
    66          "body": {
    67            "id": "test-request-id",
    68            "seatbid": [
    69              {
    70                "seat": "tpmn",
    71                "bid": [{
    72                  "id": "1",
    73                  "impid": "test-imp-id",
    74                  "price": 0.500000,
    75                  "adm": "some-test-adm",
    76                  "crid": "test-crid",
    77                  "mtype": 4
    78                }]
    79              }
    80            ],
    81            "cur": "USD"
    82          }
    83        }
    84      }
    85    ],
    86  
    87    "expectedBidResponses": [
    88      {
    89        "currency": "USD",
    90        "bids": [
    91          {
    92            "bid": {
    93              "id": "1",
    94              "impid": "test-imp-id",
    95              "price": 0.5,
    96              "adm": "some-test-adm",
    97              "crid": "test-crid",
    98              "mtype": 4
    99            },
   100            "type": "native"
   101          }
   102        ]
   103      }
   104    ]
   105  }