github.com/prebid/prebid-server@v0.275.0/adapters/triplelift/triplelifttest/supplemental/badresponseext.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "test-request-id",
     4      "imp": [
     5        {
     6          "id": "test-imp-id",
     7          "banner": {
     8            "format": [
     9              {
    10                "w": 300,
    11                "h": 250
    12              },
    13              {
    14                "w": 300,
    15                "h": 600
    16              }
    17            ]
    18          },
    19          "ext": {
    20            "bidder": {
    21              "inventoryCode": "aa"
    22            }
    23          }
    24        }
    25      ]
    26    },
    27    "httpCalls": [
    28      {
    29        "expectedRequest": {
    30          "uri": "http://tlx.3lift.net/s2s/auction?sra=1&supplier_id=20",
    31          "body": {
    32            "id": "test-request-id",
    33            "imp": [
    34              {
    35                "id": "test-imp-id",
    36                "banner": {
    37                  "format": [
    38                    {
    39                      "w": 300,
    40                      "h": 250
    41                    },
    42                    {
    43                      "w": 300,
    44                      "h": 600
    45                    }
    46                  ]
    47                },
    48                "tagid": "aa",
    49                "ext": {
    50                  "bidder": {
    51                    "inventoryCode": "aa"
    52                  }
    53                }
    54              }
    55            ]
    56          }
    57        },
    58        "mockResponse": {
    59          "status": 200,
    60          "body": {
    61            "id": "test-request-id",
    62            "seatbid": [
    63              {
    64                "seat": "958",
    65                "bid": [
    66                  {
    67                    "id": "7706636740145184841",
    68                    "impid": "test-imp-id",
    69                    "price": 0.5,
    70                    "adid": "29681110",
    71                    "adm": "some-test-ad",
    72                    "adomain": [
    73                      "triplelift.com"
    74                    ],
    75                    "iurl": "http://nym1-ib.adnxs.com/cr?id=29681110",
    76                    "cid": "958",
    77                    "crid": "29681110",
    78                    "h": 250,
    79                    "w": 300,
    80                    "ext": "aaa"
    81                  }
    82                ]
    83              }
    84            ],
    85            "bidid": "5778926625248726496",
    86            "cur": "USD"
    87          }
    88        }
    89      }
    90    ],
    91    "expectedBidResponses": [
    92      {
    93        "currency": "USD",
    94        "bids": []
    95      }
    96    ],
    97    "expectedMakeBidsErrors": [
    98      {
    99        "value": "json: cannot unmarshal string into Go value of type triplelift.TripleliftRespExt",
   100        "comparison": "literal"
   101      }
   102    ]
   103  }