github.com/prebid/prebid-server/v2@v2.18.0/adapters/eplanning/eplanningtest/supplemental/invalid-response-unmarshall-error.json (about)

     1  {
     2      "mockBidRequest": {
     3        "id": "test-request-id",
     4        "imp": [
     5          {
     6            "id": "test-imp-id",
     7            "banner": {
     8              "w": 600,
     9              "h": 300
    10            },
    11            "ext": {
    12              "bidder": {
    13                "ci": "12345",
    14                "adunit_code": "test_adunitcode"
    15              }
    16            }
    17          }
    18        ]
    19      },
    20    
    21      "httpCalls": [
    22        {
    23          "expectedRequest": {
    24            "uri": "http://rtb.e-planning.net/pbs/1/12345/1/FILE/ROS?e=testadunitcode%3A600x300&ncb=1&ur=FILE",
    25            "body": {},
    26            "impIDs":["test-imp-id"]
    27          },
    28          "mockResponse": {
    29            "status": 200,
    30            "body": {
    31              "sI": { "k": "12345" },
    32              "sec": "ROS",
    33              "sp": [
    34                {
    35                  "k": "testadunitcode",
    36                  "a": [{
    37                    "crid": "abcdef123456789",
    38                    "id": "adid12345",
    39                    "w": "600",
    40                    "h": 300
    41                  }]
    42                }
    43              ]
    44            }
    45          }
    46        }
    47      ],
    48  
    49      "expectedMakeBidsErrors": [
    50        {
    51          "value": "Error unmarshaling HB response: json: cannot unmarshal string into Go struct field (hbResponseAd\\.sp\\.a\\.w|hbResponseAd\\.w) of type uint64",
    52          "comparison": "regex"
    53        }
    54      ]
    55    }
    56