github.com/prebid/prebid-server/v2@v2.18.0/adapters/trafficgate/trafficgatetest/exemplary/simple-native.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "test-request-id",
     4      "imp": [
     5          {
     6              "id": "test-imp-id",
     7              "native": {
     8                "ver":"1.1",
     9                "request":"{\"adunit\":2,\"assets\":[{\"id\":3,\"img\":{\"h\":120,\"hmin\":0,\"type\":3,\"w\":180,\"wmin\":0},\"required\":1},{\"id\":0,\"required\":1,\"title\":{\"len\":25}},{\"data\":{\"len\":25,\"type\":1},\"id\":4,\"required\":1},{\"data\":{\"len\":140,\"type\":2},\"id\":6,\"required\":1}],\"context\":1,\"layout\":1,\"contextsubtype\":11,\"plcmtcnt\":1,\"plcmttype\":2,\"ver\":\"1.1\",\"ext\":{\"banner\":{\"w\":320,\"h\":50}}}"
    10              },
    11              "ext": {
    12                  "bidder": {
    13                    "placementId": "5",
    14                    "host": "example"
    15                  }
    16              }
    17          }
    18      ],
    19      "app": {
    20        "id": "1",
    21        "bundle": "com.wls.testwlsapplication"
    22      },
    23      "device": {
    24        "ip": "123.123.123.123",
    25        "ifa": "zxcjbzxmc-zxcbmz-zxbcz-zxczx"
    26      }
    27  },
    28  
    29    "httpCalls": [
    30      {
    31        "expectedRequest": {
    32          "uri": "http://example.bc-plugin.com/?c=o&m=rtb",
    33          "body": {
    34            "id": "test-request-id",
    35            "imp": [
    36                {
    37                  "id": "test-imp-id",
    38                  "native": {
    39                    "ver":"1.1",
    40                    "request":"{\"adunit\":2,\"assets\":[{\"id\":3,\"img\":{\"h\":120,\"hmin\":0,\"type\":3,\"w\":180,\"wmin\":0},\"required\":1},{\"id\":0,\"required\":1,\"title\":{\"len\":25}},{\"data\":{\"len\":25,\"type\":1},\"id\":4,\"required\":1},{\"data\":{\"len\":140,\"type\":2},\"id\":6,\"required\":1}],\"context\":1,\"layout\":1,\"contextsubtype\":11,\"plcmtcnt\":1,\"plcmttype\":2,\"ver\":\"1.1\",\"ext\":{\"banner\":{\"w\":320,\"h\":50}}}"
    41                  },
    42                "ext": {
    43                  "bidder": {
    44                    "placementId": "5",
    45                    "host": "example"
    46                  }
    47                }
    48              }
    49            ],
    50            "app": {
    51              "id": "1",
    52              "bundle": "com.wls.testwlsapplication"
    53            },
    54            "device": {
    55              "ip": "123.123.123.123",
    56              "ifa": "zxcjbzxmc-zxcbmz-zxbcz-zxczx"
    57            }
    58          },
    59          "impIDs":["test-imp-id"]
    60        },
    61        "mockResponse": {
    62          "status": 200,
    63          "body": {
    64            "id": "test-request-id",
    65            "seatbid": [
    66                {
    67                  "bid": [
    68                    {
    69                      "id": "test_bid_id",
    70                      "impid": "test-imp-id",
    71                      "price": 0.97642,
    72                      "adm": "awesome",
    73                      "cid": "test_cid",
    74                      "crid": "test_crid",
    75                      "dealid": "test_dealid",
    76                      "w": 300,
    77                      "h": 250,
    78                      "ext": {
    79                        "prebid": {
    80                          "type": "native"
    81                        }
    82                      }
    83                    }
    84                  ]
    85                }
    86            ],
    87            "cur": "USD"
    88          }
    89        }
    90      }
    91    ],
    92  
    93    "expectedBidResponses": [
    94      {
    95        "bids":[
    96          {
    97            "bid":  {
    98              "id": "test_bid_id",
    99              "impid": "test-imp-id",
   100              "price": 0.97642,
   101              "adm": "awesome",
   102              "cid": "test_cid",
   103              "crid": "test_crid",
   104              "dealid": "test_dealid",
   105              "w": 300,
   106              "h": 250,
   107              "ext": {
   108                "prebid": {
   109                  "type": "native"
   110                }
   111              }
   112            },
   113            "type": "native"
   114          }
   115        ],
   116        "currency": "USD"
   117      }
   118    ]
   119  }