github.com/prebid/prebid-server/v2@v2.18.0/adapters/silvermob/silvermobtest/supplemental/invalid-response.json (about)

     1  
     2  {
     3    "mockBidRequest": {
     4      "id": "some-request-id",
     5      "device": {
     6        "ua": "test-user-agent",
     7        "ip": "123.123.123.123",
     8        "language": "en",
     9        "dnt": 0
    10      },
    11      "tmax": 1000,
    12      "user": {
    13        "buyeruid": "awesome-user"
    14      },
    15      "app": {
    16        "publisher": {
    17          "id": "123456789"
    18        },
    19        "cat": [
    20          "IAB22-1"
    21        ],
    22        "bundle": "com.app.awesome",
    23        "name": "Awesome App",
    24        "domain": "awesomeapp.com",
    25        "id": "123456789"
    26      },
    27      "imp": [
    28        {
    29          "id": "some-impression-id",
    30          "tagid": "ogTAGID",
    31          "banner": {
    32            "w":320,
    33            "h":50
    34          },
    35          "ext": {
    36            "bidder": {
    37              "host": "eu",
    38              "zoneid": "0"
    39            }
    40          }
    41        }
    42      ]
    43    },
    44  
    45    "httpCalls": [{
    46      "expectedRequest": {
    47        "headers": {
    48          "Content-Type": [
    49            "application/json;charset=utf-8"
    50          ],
    51          "Accept": [
    52            "application/json"
    53          ],
    54          "X-Openrtb-Version": [
    55            "2.5"
    56          ],
    57          "User-Agent": [
    58            "test-user-agent"
    59          ],
    60          "X-Forwarded-For": [
    61            "123.123.123.123"
    62          ]
    63        },
    64        "uri": "http://eu.example.com/api/dsp/bid/0",
    65        "body": {
    66          "id": "some-request-id",
    67          "device": {
    68            "ua": "test-user-agent",
    69            "ip": "123.123.123.123",
    70            "language": "en",
    71            "dnt": 0
    72          },
    73          "imp": [
    74            {
    75              "id": "some-impression-id",
    76              "banner": {
    77                  "w":320,
    78                  "h":50
    79              },
    80              "tagid": "ogTAGID",
    81              "ext": {
    82                "bidder": {
    83                  "host": "eu",
    84                  "zoneid": "0"
    85                }
    86              }
    87            }
    88          ],
    89          "app": {
    90            "id": "123456789",
    91            "name": "Awesome App",
    92            "bundle": "com.app.awesome",
    93            "domain": "awesomeapp.com",
    94            "cat": [
    95              "IAB22-1"
    96            ],
    97            "publisher": {
    98              "id": "123456789"
    99            }
   100          },
   101          "user": {
   102            "buyeruid": "awesome-user"
   103          },
   104          "tmax": 1000
   105        },
   106        "impIDs":["some-impression-id"]
   107      },
   108      "mockResponse": {
   109        "status": 200,
   110        "body": "invalid response"
   111      }
   112    }],
   113    "expectedMakeBidsErrors": [
   114      {
   115        "value": "Error unmarshaling server Response: json: cannot unmarshal string into Go value of type openrtb2.BidResponse",
   116        "comparison": "literal"
   117      }
   118    ]
   119  }