github.com/prebid/prebid-server@v0.275.0/adapters/smartyads/smartyadstest/supplemental/status-code-service-unavailable.json (about)

     1  
     2  {
     3    "mockBidRequest": {
     4      "id": "some-request-id",
     5      "tmax": 1000,
     6      "user": {
     7        "buyeruid": "awesome-user"
     8      },
     9      "site": {
    10        "page": "test.com",
    11        "publisher": {
    12          "id": "123456789"
    13        }
    14      },
    15      "imp": [
    16        {
    17          "id": "some-impression-id",
    18          "tagid": "ogTAGID",
    19          "video": {
    20            "mimes": ["video/mp4"],
    21            "w": 640,
    22            "h": 480,
    23            "minduration": 120,
    24            "maxduration": 150
    25          },
    26          "ext": {
    27            "bidder": {
    28              "host": "ep1",
    29              "sourceid": "partner",
    30              "accountid": "hash"
    31            }
    32          }
    33        }
    34      ]
    35    },
    36  
    37    "httpCalls": [{
    38      "expectedRequest": {
    39        "uri": "http://ep1.example.com/bid?rtb_seat_id=partner&secret_key=hash",
    40        "body": {
    41          "id": "some-request-id",
    42          "imp": [
    43            {
    44              "id": "some-impression-id",
    45              "tagid": "ogTAGID",
    46              "video": {
    47                "mimes": [
    48                  "video/mp4"
    49                ],
    50                "minduration": 120,
    51                "maxduration": 150,
    52                "w": 640,
    53                "h": 480
    54              }
    55            }
    56          ],
    57          "site": {
    58            "page": "test.com",
    59            "publisher": {
    60              "id": "123456789"
    61            }
    62          },
    63          "user": {
    64            "buyeruid": "awesome-user"
    65          },
    66          "tmax": 1000
    67        }
    68      },
    69      "mockResponse": {
    70        "status": 503
    71      }
    72    }],
    73    "expectedBidResponses": [],
    74    "expectedMakeBidsErrors": [
    75      {
    76        "value": "Something went wrong, please contact your Account Manager. Status Code: [ 503 ] ",
    77        "comparison": "literal"
    78      }
    79    ]
    80  }