github.com/prebid/prebid-server@v0.275.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        },
    42        "mockResponse": {
    43          "status": 200,
    44          "body": {
    45            "id": "test-request-id",
    46            "seatbid": [
    47              {
    48                "seat": "958",
    49                "bid": [
    50                  {
    51                    "id": "7706636740145184841",
    52                    "impid": "test-imp-id",
    53                    "price": 0.5,
    54                    "adid": "29681110",
    55                    "adm": "some-test-ad",
    56                    "adomain": [
    57                      "triplelift.com"
    58                    ],
    59                    "iurl": "http://nym1-ib.adnxs.com/cr?id=29681110",
    60                    "cid": "958",
    61                    "crid": "29681110",
    62                    "h": 250,
    63                    "w": 300,
    64                    "ext": "aaa"                 
    65                  }
    66                ]
    67              }
    68            ],
    69            "bidid": "5778926625248726496",
    70            "cur": "USD"
    71          }
    72        }
    73      }
    74    ],
    75    "expectedBidResponses": [
    76      {
    77        "currency": "USD",
    78        "bids": [ {"id": "test-request-id",
    79              "type":"native",
    80                "bid": 
    81                  {
    82                    "id": "7706636740145184841",
    83                    "impid": "test-imp-id",
    84                    "price": 0.5,
    85                    "adid": "29681110",
    86                    "adm": "some-test-ad",
    87                    "adomain": [
    88                      "triplelift.com"
    89                    ],
    90                    "iurl": "http://nym1-ib.adnxs.com/cr?id=29681110",
    91                    "cid": "958",
    92                    "crid": "29681110",
    93                    "h": 250,
    94                    "w": 300,
    95                    "ext": "aaa"
    96                  }
    97                ,
    98            "bidid": "5778926625248726496",
    99            "cur": "USD" }
   100        ]
   101      }
   102    ]
   103  }