github.com/prebid/prebid-server/v2@v2.18.0/adapters/rtbhouse/rtbhousetest/supplemental/native-with-faulty-adm-response.json (about)

     1  {
     2    "mockBidRequest": {
     3      "imp": [
     4        {
     5          "ext": {
     6            "bidder": {}
     7          },
     8          "id": "test-native-imp",
     9          "native": {
    10            "request": "{\"eventtrackers\":[{\"event\":1,\"methods\":[1,2]}],\"ver\":\"1.2\",\"assets\":[{\"id\":0,\"required\":1,\"title\":{\"len\":140}},{\"id\":1,\"required\":1,\"data\":{\"type\":2}},{\"id\":2,\"required\":1,\"img\":{\"type\":3}}]}",
    11            "ver": "1.2"
    12          }
    13        }
    14      ],
    15      "site": {
    16        "page": "https://good.site/url"
    17      },
    18      "id": "test-native-request",
    19      "ext": {},
    20      "debug": 1
    21    },
    22    "httpCalls": [
    23      {
    24        "expectedRequest": {
    25          "uri": "http://localhost/prebid_server",
    26          "body": {
    27            "id": "test-native-request",
    28            "cur": [
    29              "USD"
    30            ],
    31            "imp": [
    32              {
    33                "id": "test-native-imp",
    34                "native": {
    35                  "request": "{\"eventtrackers\":[{\"event\":1,\"methods\":[1,2]}],\"ver\":\"1.2\",\"assets\":[{\"id\":0,\"required\":1,\"title\":{\"len\":140}},{\"id\":1,\"required\":1,\"data\":{\"type\":2}},{\"id\":2,\"required\":1,\"img\":{\"type\":3}}]}",
    36                  "ver": "1.2"
    37                },
    38                "ext": {
    39                  "bidder": {}
    40                }
    41              }
    42            ],
    43            "site": {
    44              "page": "https://good.site/url"
    45            },
    46            "ext": {}
    47          },
    48          "impIDs":["test-native-imp"]
    49        },
    50        "mockResponse": {
    51          "status": 200,
    52          "body": {
    53            "id": "test-native-request",
    54            "bidid": "test-bidid",
    55            "cur": "USD",
    56            "seatbid": [
    57              {
    58                "seat": "rtbhouse",
    59                "bid": [
    60                  {
    61                    "id": "test-native-request",
    62                    "impid": "test-native-imp",
    63                    "price": 0.5,
    64                    "adid": "test-adid",
    65                    "adm": "{\"ver\":\"1.2\"",
    66                    "adomain": [ "adomain.com" ],
    67                    "cid": "test-cid",
    68                    "crid": "test-crid",
    69                    "dealid": "test-dealid",
    70                    "mtype": 4
    71                  }
    72                ]
    73              }
    74            ]
    75          }
    76        }
    77      }
    78    ],
    79    "expectedBidResponses": [
    80      {
    81        "currency": "USD",
    82        "bids": []
    83      }
    84    ],
    85    "expectedMakeBidsErrors": [
    86      {
    87        "value": "unable to unmarshal native adm",
    88        "comparison": "literal"
    89      }
    90    ]
    91  }