github.com/prebid/prebid-server/v2@v2.18.0/adapters/pubmatic/pubmatictest/supplemental/native_invalid_adm.json (about)

     1  {
     2    "mockBidRequest": {
     3        "id": "test-native-request",
     4        "imp": [
     5            {
     6                "id": "test-native-imp",
     7                "native": {
     8                    "request": "{\"assets\":[{\"id\":1,\"img\":{\"ext\":{\"image1\":\"image2\"},\"h\": 250,\"mimes\":[\"image\/gif\",\"image\/png\"],\"type\":3,\"w\":300},\"required\":1}]}"
     9                },
    10                "ext": {
    11                    "bidder": {
    12                        "publisherId": "999",
    13                        "wrapper": {
    14                            "version": 1,
    15                            "profile": 5123
    16                        }
    17                    }
    18                }
    19            }
    20        ],
    21        "ext": {},
    22        "device": {
    23            "ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36"
    24        },
    25        "site": {
    26            "id": "siteID",
    27            "publisher": {
    28                "id": "1234"
    29            }
    30        }
    31    },
    32    "httpCalls": [
    33        {
    34            "expectedRequest": {
    35                "uri": "https://hbopenbid.pubmatic.com/translator?source=prebid-server",
    36                "body": {
    37                    "id": "test-native-request",
    38                    "imp": [
    39                        {
    40                            "id": "test-native-imp",
    41                            "native": {
    42                                "request": "{\"assets\":[{\"id\":1,\"img\":{\"ext\":{\"image1\":\"image2\"},\"h\": 250,\"mimes\":[\"image\/gif\",\"image\/png\"],\"type\":3,\"w\":300},\"required\":1}]}"
    43                            }
    44                        }
    45                    ],
    46                    "device": {
    47                        "ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36"
    48                    },
    49                    "site": {
    50                        "id": "siteID",
    51                        "publisher": {
    52                            "id": "999"
    53                        }
    54                    },
    55                    "ext": {
    56                        "prebid": {},
    57                        "wrapper": {
    58                            "profile": 5123,
    59                            "version": 1
    60                        }
    61                    }
    62                },
    63                "impIDs":["test-native-imp"]
    64            },
    65            "mockResponse": {
    66                "status": 200,
    67                "body": {
    68                    "id": "test-native-request",
    69                    "seatbid": [
    70                        {
    71                            "seat": "958",
    72                            "bid": [
    73                                {
    74                                  "id": "test-native-invalid-adm-json",
    75                                    "impid": "test-native-imp-invalid-adm",
    76                                    "price": 0.500000,
    77                                    "adid": "some-test-id",
    78                                    "adm": "{",
    79                                    "crid": "29681110",
    80                                    "ext": {
    81                                        "deal_channel": 1,
    82                                        "bidtype": 2
    83                                    }
    84                                }
    85                            ]
    86                        }
    87                    ],
    88                    "bidid": "5778926625248726496",
    89                    "cur": "USD"
    90                }
    91            }
    92        }
    93    ],
    94    "expectedBidResponses": [
    95        {
    96            "currency": "USD",
    97            "bids": [
    98                {
    99                  "bid": {
   100                      "id": "test-native-invalid-adm-json",
   101                      "impid": "test-native-imp-invalid-adm",
   102                      "price": 0.5,
   103                      "adid": "some-test-id",
   104                      "adm": "{",
   105                      "crid": "29681110",
   106                      "ext": {
   107                          "deal_channel": 1,
   108                          "bidtype": 2
   109                      }
   110                  },
   111                  "type": "native"
   112                }
   113            ]
   114        }
   115    ],
   116    "expectedMakeBidsErrors": [
   117      {
   118        "value": "unable to unmarshal native adm",
   119        "comparison": "literal"
   120      }
   121    ]
   122  }