github.com/prebid/prebid-server/v2@v2.18.0/adapters/triplelift/triplelifttest/supplemental/notgoodstatuscode.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          "impIDs":["test-imp-id"]
    58        },
    59        "mockResponse": {
    60          "status": 302,
    61          "body": {
    62            "id": "test-request-id",
    63            "seatbid": [
    64              {
    65                "seat": "958",
    66                "bid": [
    67                  {
    68                    "id": "7706636740145184841",
    69                    "impid": "test-imp-id",
    70                    "price": 0.5,
    71                    "adid": "29681110",
    72                    "adm": "some-test-ad",
    73                    "adomain": [
    74                      "triplelift.com"
    75                    ],
    76                    "iurl": "http://nym1-ib.adnxs.com/cr?id=29681110",
    77                    "cid": "958",
    78                    "crid": "29681110",
    79                    "h": 250,
    80                    "w": 300,
    81                    "ext": {
    82                      "triplelift_pb": {
    83                        "format": 2
    84                      }
    85                    }
    86                  }
    87                ]
    88              }
    89            ],
    90            "bidid": "5778926625248726496",
    91            "cur": "USD"
    92          }
    93        }
    94      }
    95    ],
    96    "expectedBidResponses": [],
    97    "expectedMakeBidsErrors": [
    98      {
    99        "value": "Unexpected status code: 302. Run with request.debug = 1 for more info",
   100        "comparison": "literal"
   101      }
   102    ]
   103  }