github.com/prebid/prebid-server@v0.275.0/adapters/bematterfull/bematterfulltest/supplemental/invalid-mediatype.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "id",
     4      "imp": [
     5        {
     6          "id": "id",
     7          "secure": 1,
     8          "bidfloor": 0.01,
     9          "bidfloorcur": "USD",
    10          "banner": {
    11            "w": 300,
    12            "h": 250
    13          },
    14          "ext": {
    15            "bidder": {
    16              "env": "mtflll-stage",
    17              "pid": "dc230510f7eb516f0eb9a10e5913d3b5"
    18            }
    19          }
    20        }
    21      ],
    22      "device": {
    23        "ua": "UA",
    24        "ip": "123.3.4.123"
    25      },
    26      "regs": {
    27        "ext": {
    28          "gdpr": 0
    29        }
    30      },
    31      "user": {
    32        "id": "userid"
    33      },
    34      "site": {
    35        "id": "id",
    36        "domain": "test,com",
    37        "cat": [
    38          "IAB12"
    39        ],
    40        "publisher": {
    41          "id": "pubid"
    42        }
    43      }
    44    },
    45    "httpCalls": [
    46      {
    47        "expectedRequest": {
    48          "uri": "http://prebid-srv.mtflll-system.live/?pid=dc230510f7eb516f0eb9a10e5913d3b5&host=mtflll-stage",
    49          "body": {
    50            "id": "id",
    51            "imp": [
    52              {
    53                "id": "id",
    54                "secure": 1,
    55                "bidfloor": 0.01,
    56                "bidfloorcur": "USD",
    57                "banner": {
    58                  "w": 300,
    59                  "h": 250
    60                },
    61                "ext": {
    62                  "bidder": {
    63                    "env": "mtflll-stage",
    64                    "pid": "dc230510f7eb516f0eb9a10e5913d3b5"
    65                  }
    66                }
    67              }
    68            ],
    69            "device": {
    70              "ua": "UA",
    71              "ip": "123.3.4.123"
    72            },
    73            "regs": {
    74              "ext": {
    75                "gdpr": 0
    76              }
    77            },
    78            "user": {
    79              "id": "userid"
    80            },
    81            "site": {
    82              "id": "id",
    83              "domain": "test,com",
    84              "cat": [
    85                "IAB12"
    86              ],
    87              "publisher": {
    88                "id": "pubid"
    89              }
    90            }
    91          }
    92        },
    93        "mockResponse": {
    94          "status": 200,
    95          "body": {
    96            "id": "id",
    97            "bidid": "id",
    98            "seatbid": [
    99              {
   100                "bid": [
   101                  {
   102                    "id": "id",
   103                    "impid": "1",
   104                    "price": 0.1,
   105                    "nurl": "http://test.com/nurl",
   106                    "burl": "http://test.com/burl",
   107                    "adm": "<span>Test1</span>",
   108                    "adomain": [
   109                      "test.com"
   110                    ],
   111                    "cat": [
   112                      "IAB1"
   113                    ],
   114                    "cid": "cid",
   115                    "crid": "crid",
   116                    "w": 300,
   117                    "h": 250,
   118                    "ext": {
   119                      "prebid": {
   120                        "type": "banner"
   121                      }
   122                    }
   123                  }, {
   124                    "id": "id",
   125                    "impid": "2",
   126                    "price": 1.2,
   127                    "nurl": "http://test.com/nurl",
   128                    "burl": "http://test.com/burl",
   129                    "adm": "<span>Test2</span>",
   130                    "adomain": [
   131                      "test.com"
   132                    ],
   133                    "cat": [
   134                      "IAB1"
   135                    ],
   136                    "cid": "cid",
   137                    "crid": "crid",
   138                    "w": 300,
   139                    "h": 250,
   140                    "ext": {
   141                      "prebid": {
   142                        "type": "wrong"
   143                      }
   144                    }
   145                  }
   146                ],
   147                "seat": "seat"
   148              }
   149            ],
   150            "cur": "USD"
   151          }
   152        }
   153      }
   154    ],
   155    "expectedMakeBidsErrors": [
   156      {
   157        "value": "Bid[1].Ext.Prebid.Type expects one of the following values: 'banner', 'native', 'video', 'audio', got 'wrong'",
   158        "comparison": "literal"
   159      }
   160    ],
   161    "expectedBidResponses": [
   162      {
   163        "currency":"USD",
   164        "bids":[
   165          {
   166            "bid": {
   167              "id": "id",
   168              "impid": "1",
   169              "price": 0.1,
   170              "nurl": "http://test.com/nurl",
   171              "burl": "http://test.com/burl",
   172              "adm": "<span>Test1</span>",
   173              "adomain": ["test.com"],
   174              "cat": ["IAB1"],
   175              "cid": "cid",
   176              "crid": "crid",
   177              "w": 300,
   178              "h": 250,
   179              "ext": {
   180                "prebid": {
   181                  "type": "banner"
   182                }
   183              }
   184            },
   185            "type": "banner"
   186          }
   187        ]
   188      }
   189    ]
   190  }