github.com/prebid/prebid-server@v0.275.0/adapters/bematterfull/bematterfulltest/supplemental/empty-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": "533faf0754cd43ceab591077781b902"
    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=533faf0754cd43ceab591077781b902&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": "533faf0754cd43ceab591077781b902"
    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                      "some": "value"
   142                    }
   143                  }
   144                ],
   145                "seat": "seat"
   146              }
   147            ],
   148            "cur": "USD"
   149          }
   150        }
   151      }
   152    ],
   153    "expectedMakeBidsErrors": [
   154      {
   155        "value": "Bid[1].Ext.Prebid.Type expects one of the following values: 'banner', 'native', 'video', 'audio', got ''",
   156        "comparison": "literal"
   157      }
   158    ],
   159    "expectedBidResponses": [
   160      {
   161        "currency":"USD",
   162        "bids":[
   163          {
   164            "bid": {
   165              "id": "id",
   166              "impid": "1",
   167              "price": 0.1,
   168              "nurl": "http://test.com/nurl",
   169              "burl": "http://test.com/burl",
   170              "adm": "<span>Test1</span>",
   171              "adomain": ["test.com"],
   172              "cat": ["IAB1"],
   173              "cid": "cid",
   174              "crid": "crid",
   175              "w": 300,
   176              "h": 250,
   177              "ext": {
   178                "prebid": {
   179                  "type": "banner"
   180                }
   181              }
   182            },
   183            "type": "banner"
   184          }
   185        ]
   186      }
   187    ]
   188  }