github.com/prebid/prebid-server/v2@v2.18.0/adapters/dxkulture/dxkulturetest/supplemental/status-code-other-error.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "test-request-id",
     4      "user": {
     5        "buyeruid": "userId",
     6        "yob": 1990
     7      },
     8      "device": {
     9        "ua": "user-agent",
    10        "ip": "1.2.3.4"
    11      },
    12      "imp": [
    13        {
    14          "id": "test-imp-id",
    15          "video": {
    16            "w": 1920,
    17            "h": 1080,
    18            "mimes": [
    19              "video/x-flv",
    20              "video/mp4"
    21            ]
    22          },
    23          "ext": {
    24            "bidder": {
    25              "publisherId": "pub123",
    26              "placementId": "placement123"
    27            }
    28          }
    29        }
    30      ],
    31      "site": {
    32        "domain": "site.com",
    33        "page": "http://site.com/page",
    34        "ref": "http://site.com/ref"
    35      }
    36    },
    37    "httpCalls": [
    38      {
    39        "expectedRequest": {
    40          "method": "GET",
    41          "headers": {
    42            "Referer": [
    43              "http://site.com/ref"
    44            ],
    45            "Origin": [
    46              "site.com"
    47            ],
    48            "Accept": [
    49              "application/json"
    50            ],
    51            "Content-Type": [
    52              "application/json;charset=utf-8"
    53            ],
    54            "User-Agent": [
    55              "user-agent"
    56            ],
    57            "X-Forwarded-For": [
    58              "1.2.3.4"
    59            ],
    60            "X-Openrtb-Version": [
    61              "2.5"
    62            ]
    63          },
    64          "uri": "https://ads.dxkulture.com/pbs?placement_id=placement123&publisher_id=pub123",
    65          "body": {
    66            "id": "test-request-id",
    67            "user": {
    68              "buyeruid": "userId",
    69              "yob": 1990
    70            },
    71            "device": {
    72              "ua": "user-agent",
    73              "ip": "1.2.3.4"
    74            },
    75            "imp": [
    76              {
    77                "id": "test-imp-id",
    78                "video": {
    79                  "w": 1920,
    80                  "h": 1080,
    81                  "mimes": [
    82                    "video/x-flv",
    83                    "video/mp4"
    84                  ]
    85                },
    86                "ext": {
    87                  "bidder": {
    88                    "publisherId": "pub123",
    89                    "placementId": "placement123"
    90                  }
    91                }
    92              }
    93            ],
    94            "site": {
    95              "domain": "site.com",
    96              "page": "http://site.com/page",
    97              "ref": "http://site.com/ref"
    98            }
    99          },
   100          "impIDs":["test-imp-id"]
   101        },
   102        "mockResponse": {
   103          "status": 505
   104        }
   105      }
   106    ],
   107    "expectedMakeBidsErrors": [
   108      {
   109        "value": "Unexpected status code: 505. Run with request.debug = 1 for more info",
   110        "comparison": "literal"
   111      }
   112    ]
   113  }