github.com/prebid/prebid-server/v2@v2.18.0/adapters/triplelift_native/triplelift_nativetest/supplemental/badresponseext.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "test-request-id",
     4      "site": { "publisher": {"id":"foo","name":"foo"}},
     5      "imp": [
     6        {
     7          "id": "test-imp-id",
     8     "native":{
     9      "request" : "{\"plcmtcnt\":1,\"plcmttype\":2,\"privacy\":1,\"context\":1,\"contextsubtype\":12,\"eventtrackers\":[{\"event\":1,\"methods\":[1,2]},{\"event\":2,\"methods\":[1]}],\"assets\":[{\"data\":{\"type\":12},\"required\":1},{\"title\":{\"len\":50},\"required\":1},{\"img\":{\"w\":80,\"h\":80,\"type\":1},\"required\":1},{\"img\":{\"w\":1200,\"h\":627,\"type\":3},\"required\":1},{\"data\":{\"type\":3},\"required\":0},{\"data\":{\"len\":100,\"type\":2},\"required\":1},{\"video\":{\"mimes\":[\"video/mpeg\",\"video/mp4\"],\"minduration\":2,\"protocols\":[2,5],\"maxduration\":2,\"ext\":{\"playbackmethod\":[1,2]}},\"required\":1}],\"ver\":\"1.2\"}"
    10     },
    11          "ext": {
    12            "bidder": {
    13              "inventoryCode": "aa" 
    14            }
    15          }
    16        }
    17      ]
    18    },
    19    "httpCalls": [
    20      {
    21        "expectedRequest": {
    22          "uri": "http://tlx.3lift.net/s2sn/auction?supplier_id=20",
    23          "body": {
    24            "site": { "publisher": {"id":"foo","name":"foo"}},
    25            "id": "test-request-id",
    26            "imp": [
    27              {
    28                "id": "test-imp-id",
    29                "native" : {
    30      "request" : "{\"plcmtcnt\":1,\"plcmttype\":2,\"privacy\":1,\"context\":1,\"contextsubtype\":12,\"eventtrackers\":[{\"event\":1,\"methods\":[1,2]},{\"event\":2,\"methods\":[1]}],\"assets\":[{\"data\":{\"type\":12},\"required\":1},{\"title\":{\"len\":50},\"required\":1},{\"img\":{\"w\":80,\"h\":80,\"type\":1},\"required\":1},{\"img\":{\"w\":1200,\"h\":627,\"type\":3},\"required\":1},{\"data\":{\"type\":3},\"required\":0},{\"data\":{\"len\":100,\"type\":2},\"required\":1},{\"video\":{\"mimes\":[\"video/mpeg\",\"video/mp4\"],\"minduration\":2,\"protocols\":[2,5],\"maxduration\":2,\"ext\":{\"playbackmethod\":[1,2]}},\"required\":1}],\"ver\":\"1.2\"}"
    31                },
    32                "tagid" : "aa",
    33                "ext": {
    34                  "bidder": {
    35                    "inventoryCode": "aa"
    36                  }
    37                }
    38              }
    39            ]
    40          },
    41          "impIDs":["test-imp-id"]
    42        },
    43        "mockResponse": {
    44          "status": 200,
    45          "body": {
    46            "id": "test-request-id",
    47            "seatbid": [
    48              {
    49                "seat": "958",
    50                "bid": [
    51                  {
    52                    "id": "7706636740145184841",
    53                    "impid": "test-imp-id",
    54                    "price": 0.5,
    55                    "adid": "29681110",
    56                    "adm": "some-test-ad",
    57                    "adomain": [
    58                      "triplelift.com"
    59                    ],
    60                    "iurl": "http://nym1-ib.adnxs.com/cr?id=29681110",
    61                    "cid": "958",
    62                    "crid": "29681110",
    63                    "h": 250,
    64                    "w": 300,
    65                    "ext": "aaa"                 
    66                  }
    67                ]
    68              }
    69            ],
    70            "bidid": "5778926625248726496",
    71            "cur": "USD"
    72          }
    73        }
    74      }
    75    ],
    76    "expectedBidResponses": [
    77      {
    78        "currency": "USD",
    79        "bids": [ {"id": "test-request-id",
    80              "type":"native",
    81                "bid": 
    82                  {
    83                    "id": "7706636740145184841",
    84                    "impid": "test-imp-id",
    85                    "price": 0.5,
    86                    "adid": "29681110",
    87                    "adm": "some-test-ad",
    88                    "adomain": [
    89                      "triplelift.com"
    90                    ],
    91                    "iurl": "http://nym1-ib.adnxs.com/cr?id=29681110",
    92                    "cid": "958",
    93                    "crid": "29681110",
    94                    "h": 250,
    95                    "w": 300,
    96                    "ext": "aaa"
    97                  }
    98                ,
    99            "bidid": "5778926625248726496",
   100            "cur": "USD" }
   101        ]
   102      }
   103    ]
   104  }