github.com/prebid/prebid-server@v0.275.0/adapters/audienceNetwork/audienceNetworktest/supplemental/server-error-500.json (about)

     1  {
     2      "mockBidRequest": {
     3          "id": "test-req-id",
     4          "imp": [{
     5              "id": "test-imp-id",
     6              "native": {
     7                  "request": "{\"ver\":\"1.1\",\"context\":1,\"contextsubtype\":11,\"plcmttype\":4,\"plcmtcnt\":1,\"assets\":[{\"id\":1,\"required\":1,\"title\":{\"len\":500}},{\"id\":2,\"required\":1,\"img\":{\"type\":3,\"wmin\":1,\"hmin\":1}},{\"id\":3,\"required\":0,\"data\":{\"type\":1,\"len\":200}},{\"id\":4,\"required\":0,\"data\":{\"type\":2,\"len\":15000}},{\"id\":5,\"required\":0,\"data\":{\"type\":6,\"len\":40}},{\"id\":6,\"required\":0,\"data\":{\"type\":500}}]}",
     8                  "ver": "1.1"
     9              },
    10              "ext": {
    11                  "bidder": {
    12                      "publisherid": "123",
    13                      "placementid": "456"
    14                  }
    15              }
    16          }],
    17          "app": {
    18              "id": "app-abc",
    19              "bundle": "com.prebid"
    20          },
    21          "device": {
    22              "ip": "152.193.6.74"
    23          },
    24          "user": {
    25              "id": "db089de9-a62e-4861-a881-0ff15e052516",
    26              "buyeruid": "v4_bidder_token"
    27          },
    28          "tmax": 500
    29      },
    30      "httpcalls": [{
    31          "expectedRequest": {
    32              "uri": "https://an.facebook.com/placementbid.ortb",
    33              "headers": {
    34                  "Accept": [
    35                      "application/json"
    36                  ],
    37                  "Content-Type": [
    38                      "application/json;charset=utf-8"
    39                  ],
    40                  "X-Fb-Pool-Routing-Token": [
    41                      "v4_bidder_token"
    42                  ]
    43              },
    44              "body": {
    45                  "id": "test-imp-id",
    46                  "imp": [{
    47                      "id": "test-imp-id",
    48                      "native": {
    49                          "w": -1,
    50                          "h": -1
    51                      },
    52                      "tagid": "123_456"
    53                  }],
    54                  "app": {
    55                      "id": "app-abc",
    56                      "bundle": "com.prebid",
    57                      "publisher": {
    58                          "id": "123"
    59                      }
    60                  },
    61                  "device": {
    62                      "ip": "152.193.6.74"
    63                  },
    64                  "user": {
    65                      "id": "db089de9-a62e-4861-a881-0ff15e052516",
    66                      "buyeruid": "v4_bidder_token"
    67                  },
    68                  "tmax": 500,
    69                  "ext": {
    70                      "authentication_id": "4e24a2b23fbfb5e41a9093b921d6cddf497c24dd5f63879038cec2ab2f27d174",
    71                      "platformid": "test-platform-id"
    72                  }
    73              }
    74          },
    75          "mockResponse": {
    76              "headers": {
    77              "X-Fb-An-Errors": [
    78                  "someError"
    79              ]},
    80              "status": 500
    81          }
    82      }],
    83      "expectedMakeBidsErrors": [{
    84          "value": "Unexpected status code 500 with error message 'someError'",
    85          "comparison": "literal"
    86      }]
    87  }