github.com/prebid/prebid-server@v0.275.0/adapters/cpmstar/cpmstartest/supplemental/invalid-response-unmarshall-error.json (about)

     1  {
     2      "mockBidRequest": {
     3          "id": "some_test_auction",
     4          "imp": [
     5              {
     6                  "id": "some_test_ad",
     7                  "banner": {
     8                      "w": 90,
     9                      "h": 728
    10                  },
    11                  "ext": {
    12                      "bidder": {
    13                          "placementId": 154
    14                      }
    15                  }
    16              }
    17          ]
    18      },
    19      "httpCalls": [
    20          {
    21              "expectedRequest": {
    22                  "uri": "//host",
    23                  "body": {
    24                      "id": "some_test_auction",
    25                      "imp": [
    26                          {
    27                              "id": "some_test_ad",
    28                              "banner": {
    29                                  "h": 728,
    30                                  "w": 90
    31                              },
    32                              "ext": {
    33                                  "placementId": 154
    34                              }
    35                          }
    36                      ]
    37                  }
    38              },
    39              "mockResponse": {
    40                  "status": 200,
    41                  "body": {
    42                      "id": "some_test_auction",
    43                      "seatbid": [
    44                          {
    45                              "bid": [
    46                                  {
    47                                      "id": "uuid",
    48                                      "impid": "some_test_ad",
    49                                      "w": "728",
    50                                      "h": 90
    51                                  }
    52                              ]
    53                          }
    54                      ],
    55                      "cur": "USD"
    56                  }
    57              }
    58          }
    59      ],
    60      "expectedMakeBidsErrors": [
    61          {
    62              "value": "json: cannot unmarshal string into Go struct field Bid(\\.seatbid\\.bid)?\\.w of type int64",
    63              "comparison": "regex"
    64          }
    65      ]
    66  }