github.com/prebid/prebid-server/v2@v2.18.0/adapters/sovrnXsp/sovrnXsptest/exemplary/native.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "abc",
     4      "app": {
     5        "id": "0jqCuiqHfPDHAHrdFfGG",
     6        "bundle": "test",
     7        "publisher": {
     8          "id": "sovrn"
     9        }
    10      },
    11      "imp": [
    12        {
    13          "id": "imp123",
    14          "bidfloor": 1.0,
    15          "native": {
    16            "ver": "1.2",
    17            "request": "{\"context\":1,\"plcmttype\":1,\"assets\":[{\"id\":0,\"required\":1,\"img\":{\"type\":3,\"w\":300,\"h\":250}},{\"id\":1,\"required\":1,\"title\":{\"len\":140}},{\"id\":2,\"data\":{\"type\":1}}],\"eventtrackers\":[{\"event\":1,\"methods\":[1]}]}"
    18          },
    19          "ext": {
    20            "bidder": {
    21              "pub_id": "sovrn",
    22              "med_id": "0jqCuiqHfPDHAHrdFfGG",
    23              "zone_id": "FgUtQqop18uf1I2fwDie"
    24            }
    25          }
    26        }
    27      ]
    28    },
    29  
    30    "httpCalls": [
    31      {
    32        "expectedRequest": {
    33          "uri": "http://xsp.lijit.com/json/rtb/prebid/server",
    34          "body":{
    35            "id": "abc",
    36            "app": {
    37              "id": "0jqCuiqHfPDHAHrdFfGG",
    38              "bundle": "test",
    39              "publisher": {
    40                  "id": "sovrn"
    41              }
    42            },
    43            "imp": [{
    44              "id": "imp123",
    45              "tagid": "FgUtQqop18uf1I2fwDie",
    46              "bidfloor": 1.0,
    47              "native": {
    48                "ver": "1.2",
    49                "request": "{\"context\":1,\"plcmttype\":1,\"assets\":[{\"id\":0,\"required\":1,\"img\":{\"type\":3,\"w\":300,\"h\":250}},{\"id\":1,\"required\":1,\"title\":{\"len\":140}},{\"id\":2,\"data\":{\"type\":1}}],\"eventtrackers\":[{\"event\":1,\"methods\":[1]}]}"
    50              },
    51              "ext": {
    52                "bidder": {
    53                  "pub_id": "sovrn",
    54                  "med_id": "0jqCuiqHfPDHAHrdFfGG",
    55                  "zone_id": "FgUtQqop18uf1I2fwDie"
    56                }
    57              }
    58            }]
    59          },
    60          "impIDs":["imp123"]
    61        },
    62        "mockResponse": {
    63          "status": 200,
    64          "body": {
    65            "id": "abc",
    66            "seatbid": [
    67              {
    68                "bid": [
    69                  {
    70                    "adm": "{\"ver\":\"1.2\",\"link\":{\"url\":\"https://sovrn.com\"},\"assets\":[{\"id\":0,\"img\":{\"w\":300,\"h\":250,\"url\":\"https://ads.smrtb.com/demo/ads/300x250.png\"}},{\"id\":1,\"title\":{\"text\":\"Test Ad\",\"len\":7}},{\"id\":2,\"data\":{\"value\":\"0\",\"len\":1}}]}",
    71                    "crid": "test_native_crid",
    72                    "cid": "test_cid",
    73                    "impid": "imp123",
    74                    "id": "1",
    75                    "price": 1.0,
    76                    "ext": {
    77                      "creative_type": 2
    78                    }
    79                  }
    80                ]
    81              }
    82            ]
    83          }
    84        }
    85      }
    86    ],
    87  
    88    "expectedBidResponses": [
    89      {
    90        "currency": "USD",
    91        "bids": [
    92          {
    93            "bid": {
    94              "adm": "{\"ver\":\"1.2\",\"link\":{\"url\":\"https://sovrn.com\"},\"assets\":[{\"id\":0,\"img\":{\"w\":300,\"h\":250,\"url\":\"https://ads.smrtb.com/demo/ads/300x250.png\"}},{\"id\":1,\"title\":{\"text\":\"Test Ad\",\"len\":7}},{\"id\":2,\"data\":{\"value\":\"0\",\"len\":1}}]}",
    95              "crid": "test_native_crid",
    96              "cid": "test_cid",
    97              "impid": "imp123",
    98              "price": 1.0,
    99              "id": "1",
   100              "mtype": 4,
   101              "ext": {
   102                "creative_type": 2
   103              }
   104            },
   105            "type": "native"
   106          }
   107        ]
   108      }
   109    ]
   110  }