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

     1  
     2  {
     3    "mockBidRequest": {
     4      "id": "some-request-id",
     5      "tmax": 1000,
     6      "user": {
     7        "buyeruid": "awesome-user"
     8      },
     9      "app": {
    10        "publisher": {
    11          "id": "123456789"
    12        },
    13        "cat": [
    14          "IAB22-1"
    15        ],
    16        "bundle": "com.app.awesome",
    17        "name": "Awesome App",
    18        "domain": "awesomeapp.com",
    19        "id": "123456789"
    20      },
    21      "imp": [
    22        {
    23          "id": "some-impression-id",
    24          "tagid": "ogTAGID",
    25          "video": {
    26            "mimes": [
    27              "video/mp4"
    28            ],
    29            "w": 640,
    30            "h": 480,
    31            "minduration": 120,
    32            "maxduration": 150
    33          },
    34          "ext": {
    35            "bidder": {
    36              "host": "ep1",
    37              "sourceid": "partner",
    38              "accountid": "hash"
    39            }
    40          }
    41        }
    42      ]
    43    },
    44  
    45    "httpCalls": [{
    46      "expectedRequest": {
    47        "uri": "http://ep1.example.com/bid?rtb_seat_id=partner&secret_key=hash",
    48        "body": {
    49          "id": "some-request-id",
    50          "imp": [
    51            {
    52              "id": "some-impression-id",
    53              "video": {
    54                "mimes": [
    55                  "video/mp4"
    56                ],
    57                "minduration": 120,
    58                "maxduration": 150,
    59                "w": 640,
    60                "h": 480
    61              },
    62              "tagid": "ogTAGID"
    63            }
    64          ],
    65          "app":  {
    66            "publisher": {
    67              "id": "123456789"
    68            },
    69            "cat": [
    70              "IAB22-1"
    71            ],
    72            "bundle": "com.app.awesome",
    73            "name": "Awesome App",
    74            "domain": "awesomeapp.com",
    75            "id": "123456789"
    76          },
    77          "user": {
    78            "buyeruid": "awesome-user"
    79          },
    80          "tmax": 1000
    81        }
    82      },
    83      "mockResponse": {
    84        "status": 400
    85      }
    86    }],
    87    "expectedBidResponses": [],
    88    "expectedMakeBidsErrors": [
    89      {
    90        "value": "Unexpected status code: [ 400 ]",
    91        "comparison": "literal"
    92      }
    93    ]
    94  }