github.com/prebid/prebid-server@v0.275.0/adapters/grid/gridtest/exemplary/multitype-native.json (about)

     1  {
     2      "mockBidRequest": {
     3          "id": "test-request-id",
     4          "site": {
     5              "page": "https://good.site/url"
     6          },
     7          "imp": [{
     8              "id": "test-imp-id",
     9              "banner": {
    10                  "format": [{
    11                      "w": 300,
    12                      "h": 250
    13                  }]
    14              },
    15              "video": {
    16                  "mimes": ["video/mp4"],
    17                  "protocols": [2, 5],
    18                  "w": 300,
    19                  "h": 250
    20              },
    21              "native": {
    22                  "ver": "1.1",
    23                  "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}}]}"
    24              },
    25              "ext": {
    26                  "bidder": {
    27                      "uid": 1
    28                  }
    29              }
    30          }]
    31      },
    32  
    33      "httpCalls": [{
    34          "expectedRequest": {
    35              "uri": "http://localhost/prebid",
    36              "body": {
    37                  "id": "test-request-id",
    38                  "site": {
    39                      "page": "https://good.site/url"
    40                  },
    41                  "imp": [{
    42                      "id": "test-imp-id",
    43                      "banner": {
    44                          "format": [{
    45                              "w": 300,
    46                              "h": 250
    47                          }]
    48                      },
    49                      "video": {
    50                          "mimes": ["video/mp4"],
    51                          "protocols": [2, 5],
    52                          "w": 300,
    53                          "h": 250
    54                      },
    55                      "native": {
    56                          "ver": "1.1",
    57                              "request_native": {"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}}]}
    58                      },
    59                      "ext": {
    60                          "bidder": {
    61                              "uid": 1
    62                          }
    63                      }
    64                  }]
    65              }
    66          },
    67          "mockResponse": {
    68              "status": 200,
    69              "body": {
    70                  "id": "test-request-id",
    71                  "seatbid": [{
    72                      "seat": "grid",
    73                      "bid": [{
    74                          "id": "randomid",
    75                          "impid": "test-imp-id",
    76                          "price": 0.500000,
    77                          "adid": "12345678",
    78                          "adm_native": {
    79                              "some_native_key": "native_value"
    80                          },
    81                          "cid": "987",
    82                          "crid": "12345678",
    83                          "content_type": "native",
    84                          "h": 250,
    85                          "w": 300
    86                      }]
    87                  }],
    88                  "cur": "USD"
    89              }
    90          }
    91      }],
    92  
    93      "expectedBidResponses": [{
    94          "currency": "USD",
    95          "bids": [{
    96              "bid": {
    97                  "id": "randomid",
    98                  "impid": "test-imp-id",
    99                  "price": 0.5,
   100                  "adm": "{\"some_native_key\":\"native_value\"}",
   101                  "adid": "12345678",
   102                  "cid": "987",
   103                  "crid": "12345678",
   104                  "w": 300,
   105                  "h": 250
   106              },
   107              "type": "native"
   108          }]
   109      }]
   110  }