github.com/prebid/prebid-server@v0.275.0/adapters/adtrgtme/adtrgtmetest/supplemental/invalid-response.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "test-req-id",
     4      "device": {
     5        "ua": "test-user-agent",
     6        "ip": "123.123.123.123",
     7        "language": "en",
     8        "dnt": 0
     9      },
    10      "tmax": 1000,
    11      "user": {
    12        "buyeruid": "test-buyer-id"
    13      },
    14      "app": {
    15        "publisher": {
    16          "id": "123456789"
    17        },
    18        "cat": [
    19          "IAB22-1"
    20        ],
    21        "bundle": "com.app.test",
    22        "name": "test-app",
    23        "domain": "test-app.com",
    24        "id": "123456789"
    25      },
    26      "imp": [
    27        {
    28          "id": "test-imp-id",
    29          "tagid": "test-adtarget-test",
    30          "banner": {
    31            "w": 320,
    32            "h": 50
    33          },
    34          "ext": {
    35            "bidder": {
    36              "site_id": 123456789
    37            }
    38          }
    39        }
    40      ]
    41    },
    42    "httpCalls": [
    43      {
    44        "expectedRequest": {
    45          "headers": {
    46            "Content-Type": [
    47              "application/json;charset=utf-8"
    48            ],
    49            "Accept": [
    50              "application/json"
    51            ],
    52            "X-Openrtb-Version": [
    53              "2.5"
    54            ],
    55            "User-Agent": [
    56              "test-user-agent"
    57            ],
    58            "X-Forwarded-For": [
    59              "123.123.123.123"
    60            ]
    61          },
    62          "uri": "http://localhost/ssp?s=123456789&prebid",
    63          "body": {
    64            "id": "test-req-id",
    65            "device": {
    66              "ua": "test-user-agent",
    67              "ip": "123.123.123.123",
    68              "language": "en",
    69              "dnt": 0
    70            },
    71            "imp": [
    72              {
    73                "id": "test-imp-id",
    74                "banner": {
    75                  "w": 320,
    76                  "h": 50
    77                },
    78                "tagid": "test-adtarget-test"
    79              }
    80            ],
    81            "app": {
    82              "id": "123456789",
    83              "name": "test-app",
    84              "bundle": "com.app.test",
    85              "domain": "test-app.com",
    86              "cat": [
    87                "IAB22-1"
    88              ],
    89              "publisher": {
    90                "id": "123456789"
    91              }
    92            },
    93            "user": {
    94              "buyeruid": "test-buyer-id"
    95            },
    96            "tmax": 1000
    97          }
    98        },
    99        "mockResponse": {
   100          "status": 200,
   101          "body": "invalid response"
   102        }
   103      }
   104    ],
   105    "expectedMakeBidsErrors": [
   106      {
   107        "value": "Bad Server Response",
   108        "comparison": "literal"
   109      }
   110    ]
   111  }