github.com/prebid/prebid-server/v2@v2.18.0/adapters/trustedstack/trustedstacktest/supplemental/valid-req-200-incorrect-response-format.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "test-request-id",
     4      "imp": [
     5        {
     6          "id": "test-imp-id",
     7          "banner": {
     8            "w": 300,
     9            "h": 250
    10          },
    11          "ext": {
    12            "bidder": {
    13              "cid": "8CUTSTCID",
    14              "crid": "999999999"
    15            }
    16          }
    17        }
    18      ],
    19      "site": {
    20        "domain": "www.example.com",
    21        "page": "http://www.example.com",
    22        "publisher": {
    23          "domain": "example.com"
    24        },
    25        "ext": {
    26          "amp": 0
    27        }
    28      },
    29      "device": {
    30        "ua": "userAgent",
    31        "ip": "193.168.244.1"
    32      },
    33      "at": 1,
    34      "tmax": 5000,
    35      "cur": [
    36        "USD"
    37      ],
    38      "regs": {
    39        "gdpr": 0
    40      }
    41    },
    42    "httpCalls": [{
    43      "expectedRequest": {
    44        "uri": "https://example.trustedstack.com/rtb/prebid?src=http%3A%2F%2Fhosturl.com",
    45        "body": {
    46          "id": "test-request-id",
    47          "imp": [
    48            {
    49              "id": "test-imp-id",
    50              "banner": {
    51                "w": 300,
    52                "h": 250
    53              },
    54              "ext": {
    55                "bidder": {
    56                  "cid": "8CUTSTCID",
    57                  "crid": "999999999"
    58                }
    59              }
    60            }
    61          ],
    62          "site": {
    63            "domain": "www.example.com",
    64            "page": "http://www.example.com",
    65            "publisher": {
    66              "domain": "example.com"
    67            },
    68            "ext": {
    69              "amp": 0
    70            }
    71          },
    72          "device": {
    73            "ua": "userAgent",
    74            "ip": "193.168.244.1"
    75          },
    76          "at": 1,
    77          "tmax": 5000,
    78          "cur": [
    79            "USD"
    80          ],
    81          "regs": {
    82            "gdpr": 0
    83          }
    84        },
    85        "impIDs": ["test-imp-id"]
    86      },
    87      "mockResponse": {
    88        "status": 200,
    89        "body": {
    90          "id": "tid",
    91          "seatbid": [
    92            {
    93              "seat": "trustedstack",
    94              "bid": [
    95                {
    96                  "id": "randomid",
    97                  "impid": "test-imp-id",
    98                  "price": "0.500000",
    99                  "adid": "12345678",
   100                  "adm": "some-test-ad",
   101                  "cid": "987",
   102                  "crid": "12345678",
   103                  "h": 250,
   104                  "w": 300
   105                }
   106              ]
   107            }
   108          ],
   109          "bidid": "bid01"
   110        }
   111      }
   112    }],
   113  
   114    "expectedBidResponses": [],
   115    "expectedMakeBidsErrors": [
   116      {
   117        "value": "json: cannot unmarshal string into Go struct field Bid.seatbid.bid.price of type float64",
   118        "comparison": "literal"
   119      }
   120    ]
   121  }