github.com/prebid/prebid-server/v2@v2.18.0/adapters/aidem/aidemtest/supplemental/invalid-req-400-status-code-bad-request.json (about)

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