github.com/prebid/prebid-server/v2@v2.18.0/adapters/smartrtb/smartrtbtest/supplemental/invalid-bid-ext.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "abc",
     4      "site": {
     5        "page": "prebid.org"
     6      },
     7      "imp": [
     8        {
     9          "id": "imp123",
    10          "banner": {
    11            "format": [
    12              {
    13                "w": 300,
    14                "h": 250
    15              }
    16            ],
    17            "w": 300,
    18            "h": 250
    19          },
    20          "ext": {
    21            "bidder": {
    22              "pub_id": "test",
    23              "zone_id": "N4zTDq3PPEHBIODv7cXK",
    24              "force_bid": true
    25            }
    26          }
    27        }
    28      ]
    29    },
    30  
    31    "httpCalls": [
    32      {
    33        "expectedRequest": {
    34          "uri": "http://market-east.smrtb.com/json/publisher/rtb?pubid=test",
    35          "body":{
    36            "id": "abc",
    37            "site": {
    38              "page": "prebid.org"
    39            },
    40            "imp": [{
    41              "id": "imp123",
    42              "tagid": "N4zTDq3PPEHBIODv7cXK",
    43              "banner": {
    44                "format": [{
    45                  "w": 300,
    46                  "h": 250
    47                }],
    48                "w": 300,
    49                "h": 250
    50              },
    51              "ext": {
    52                "bidder": {
    53                  "pub_id": "test",
    54                  "zone_id": "N4zTDq3PPEHBIODv7cXK",
    55                  "force_bid": true
    56                }
    57              }
    58            }],
    59            "ext": {
    60              "pub_id": "test"
    61            }
    62          },
    63          "impIDs":["imp123"]
    64        },
    65        "mockResponse": {
    66          "status": 200,
    67          "body": {
    68            "id": "abc",
    69            "seatbid": [
    70              {
    71                "bid": [
    72                  {
    73                    "adm": "<b>hi</b>",
    74                    "crid": "test_banner_crid",
    75                    "cid": "test_cid",
    76                    "impid": "imp123",
    77                    "id": "1",
    78                    "price": 0.01,
    79                    "ext": "notvalidjsonhaha"
    80                  }
    81                ]
    82              }
    83            ]
    84          }
    85        }
    86      }
    87    ],
    88    "expectedMakeBidsErrors": [
    89      {
    90        "value": "Invalid bid extension from endpoint.",
    91        "comparison": "literal"
    92      }
    93    ]
    94  }