github.com/prebid/prebid-server@v0.275.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        },
    60        "mockResponse": {
    61          "status": 200,
    62          "body": {
    63            "id": "test-request-id",
    64            "seatbid": [
    65                {
    66                  "bid": [
    67                    {
    68                      "id": "test_bid_id",
    69                      "impid": "test-imp-id",
    70                      "price": 0.97642,
    71                      "adm": "awesome",
    72                      "cid": "test_cid",
    73                      "crid": "test_crid",
    74                      "dealid": "test_dealid",
    75                      "w": 300,
    76                      "h": 250,
    77                      "ext": {
    78                        "prebid": {
    79                          "type": "native"
    80                        }
    81                      }
    82                    }
    83                  ]
    84                }
    85            ],
    86            "cur": "USD"
    87          }
    88        }
    89      }
    90    ],
    91  
    92    "expectedBidResponses": [
    93      {
    94        "bids":[
    95          {
    96            "bid":  {
    97              "id": "test_bid_id",
    98              "impid": "test-imp-id",
    99              "price": 0.97642,
   100              "adm": "awesome",
   101              "cid": "test_cid",
   102              "crid": "test_crid",
   103              "dealid": "test_dealid",
   104              "w": 300,
   105              "h": 250,
   106              "ext": {
   107                "prebid": {
   108                  "type": "native"
   109                }
   110              }
   111            },
   112            "type": "native"
   113          }
   114        ],
   115        "currency": "USD"
   116      }
   117    ]
   118  }