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

     1  {
     2      "mockBidRequest": {
     3          "id": "some_test_auction",
     4          "imp": [{
     5              "id": "some_test_ad",
     6              "banner": {
     7                  "w": 90,
     8                  "h": 728
     9              },
    10              "ext": {
    11                  "bidder": {
    12                      "tagid": "654321"
    13                  }
    14              }
    15          }]
    16      },
    17  
    18      "httpCalls": [{
    19          "expectedRequest": {
    20              "uri": "https://hb.emxdgt.com?t=1000&ts=2060541160",
    21              "body": {
    22                  "id": "some_test_auction",
    23                  "imp": [{
    24                      "banner": {
    25                          "h": 728,
    26                          "w": 90
    27                      },
    28                      "id": "some_test_ad",
    29                      "secure": 0,
    30                      "ext": {
    31                          "bidder": {
    32                              "tagid": "654321"
    33                          }
    34                      },
    35                      "tagid": "654321"
    36                  }]
    37              },
    38              "impIDs":["some_test_ad"]
    39          },
    40          "mockResponse": {
    41              "status": 200,
    42              "body": {
    43                "id": "some_test_auction",
    44                "seatbid": [{
    45                    "seat": "12356",
    46                    "bid": [{
    47                      "adm": "<div id=\"123456789_ad\"><script>!function(){console.log\"Hello, world.\";}();<\/script><\/div>",
    48                      "id": "uuid",
    49                      "impid": "some_test_ad_id",
    50                      "ttl": 300,
    51                      "crid": "94395500",
    52                      "w": "300",
    53                      "price": 2.942808,
    54                      "adid": "94395500",
    55                      "h": 250
    56                    }]
    57                }],
    58                "cur": "USD"
    59            }
    60            }
    61      }],
    62  
    63      "expectedMakeBidsErrors": [
    64          {
    65              "value": "Unable to unpackage bid response\\. Error: json: cannot unmarshal string into Go struct field (Bid\\.seatbid\\.bid\\.w|Bid\\.w) of type int64",
    66              "comparison": "regex"
    67          }
    68      ]
    69  }