github.com/prebid/prebid-server/v2@v2.18.0/adapters/smaato/smaatotest/supplemental/bad-status-code-response.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "1C86242D-9535-47D6-9576-7B1FE87F282C",
     4      "site": {
     5        "publisher": {
     6          "id": "1100042525"
     7        },
     8        "page": "http://localhost:3000/server.html?pbjs_debug=true&endpoint=http://localhost:3000/bidder",
     9        "ext": {
    10          "data": {
    11            "keywords": "power tools",
    12            "search": "drill",
    13            "content": {
    14              "userrating": 4
    15            }
    16          }
    17        }
    18      },
    19      "imp": [
    20        {
    21          "id": "1C86242D-9535-47D6-9576-7B1FE87F282C",
    22          "banner": {
    23            "format": [
    24              {
    25                "w": 320,
    26                "h": 50
    27              },
    28              {
    29                "w": 320,
    30                "h": 250
    31              }
    32            ]
    33          },
    34          "ext": {
    35            "bidder": {
    36              "publisherId": "1100042525",
    37              "adspaceId": "130563103"
    38            }
    39          }
    40        }
    41      ],
    42      "device": {
    43        "ua": "test-user-agent",
    44        "ip": "123.123.123.123",
    45        "language": "en",
    46        "dnt": 0
    47      },
    48      "user": {
    49        "ext": {
    50          "consent": "gdprConsentString",
    51          "data": {
    52            "keywords": "a,b",
    53            "gender": "M",
    54            "yob": 1984,
    55            "geo": {
    56              "country": "ca"
    57            }
    58          }
    59        }
    60      },
    61      "regs": {
    62        "coppa": 1,
    63        "ext": {
    64          "gdpr": 1,
    65          "us_privacy": "uspConsentString"
    66        }
    67      }
    68    },
    69    "httpCalls": [
    70      {
    71        "expectedRequest": {
    72          "headers": {
    73            "Content-Type": ["application/json;charset=utf-8"],
    74            "Accept": ["application/json"]
    75          },
    76          "uri": "https://prebid/bidder",
    77          "body": {
    78            "id": "1C86242D-9535-47D6-9576-7B1FE87F282C",
    79            "imp": [
    80              {
    81                "id": "1C86242D-9535-47D6-9576-7B1FE87F282C",
    82                "tagid": "130563103",
    83                "banner": {
    84                  "h": 50,
    85                  "w": 320,
    86                  "format": [
    87                    {
    88                      "w": 320,
    89                      "h": 50
    90                    },
    91                    {
    92                      "w": 320,
    93                      "h": 250
    94                    }
    95                  ]
    96                }
    97              }
    98            ],
    99            "user": {
   100              "ext": {
   101                "consent": "gdprConsentString"
   102              },
   103              "gender": "M",
   104              "keywords": "a,b",
   105              "yob": 1984
   106            },
   107            "device": {
   108              "ua": "test-user-agent",
   109              "ip": "123.123.123.123",
   110              "language": "en",
   111              "dnt": 0
   112            },
   113            "regs": {
   114              "coppa": 1,
   115              "ext": {
   116                "gdpr": 1,
   117                "us_privacy": "uspConsentString"
   118              }
   119            },
   120            "site": {
   121              "publisher": {
   122                "id": "1100042525"
   123              },
   124              "page": "http://localhost:3000/server.html?pbjs_debug=true&endpoint=http://localhost:3000/bidder",
   125              "keywords": "power tools"
   126            },
   127            "ext": {
   128              "client": "prebid_server_0.6"
   129            }
   130          },
   131          "impIDs":["1C86242D-9535-47D6-9576-7B1FE87F282C"]
   132        },
   133        "mockResponse": {
   134          "status": 400
   135        }
   136      }
   137    ],
   138    "expectedBidResponses": [],
   139    "expectedMakeBidsErrors": [
   140      {
   141        "value": "Unexpected status code: 400. Run with request.debug = 1 for more info.",
   142        "comparison": "literal"
   143      }
   144    ]
   145  }