github.com/prebid/prebid-server/v2@v2.18.0/adapters/dmx/dmxtest/exemplary/simple-banner.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "test-request-id",
     4      "user": {
     5        "id": "fhacacnasicnaic"
     6      },
     7      "imp": [
     8        {
     9  
    10          "id": "test-imp-id",
    11          "banner": {
    12            "w": 300,
    13            "h": 250,
    14            "format": [
    15              {
    16                "w": 300,
    17                "h": 250
    18              },
    19              {
    20                "w": 300,
    21                "h": 600
    22              }
    23            ]
    24          },
    25          "ext": {
    26            "bidder": {
    27              "dmxid": "123454",
    28              "publisher_id": "10400"
    29            }
    30          }
    31        }
    32      ]
    33    },
    34  
    35    "httpCalls": [
    36      {
    37        "expectedRequest": {
    38          "uri": "",
    39          "body": {
    40            "id": "test-request-id",
    41            "user": {
    42              "id": "fhacacnasicnaic"
    43            },
    44            "imp": [
    45              {
    46                "id": "test-imp-id",
    47                "tagid": "123454",
    48                "secure": 1,
    49                "banner": {
    50                  "format": [
    51                    {
    52                      "w": 300,
    53                      "h": 250
    54                    },
    55                    {
    56                      "w": 300,
    57                      "h": 600
    58                    }
    59                  ],
    60                  "w": 300,
    61                  "h": 250
    62                },
    63                "ext": {
    64                  "bidder": {
    65                    "publisher_id": "10400",
    66                    "dmxid": "123454"
    67                  }
    68                }
    69              }
    70            ]
    71          },
    72          "impIDs":["test-imp-id"]
    73        },
    74        "mockResponse": {
    75          "status": 200,
    76          "body": {
    77            "id": "test-request-id",
    78            "seatbid": [
    79              {
    80                "seat": "958",
    81                "bid": [{
    82                  "id": "7706636740145184841",
    83                  "impid": "test-imp-id",
    84                  "price": 1.75,
    85                  "adid": "29681110",
    86                  "adm": "<div>banner-ads</div>",
    87                  "adomain": ["dmx.districtm.io"],
    88                  "iurl": "https://dmx.districtm.io/b/v2",
    89                  "cid": "958",
    90                  "crid": "29681110",
    91                  "h": 250,
    92                  "w": 300
    93                }]
    94              }
    95            ],
    96            "bidid": "5778926625248726496",
    97            "cur": "USD"
    98          }
    99        }
   100      }
   101    ],
   102  
   103    "expectedBidResponses": [
   104      {
   105        "currency": "USD",
   106        "bids": [
   107          {
   108            "bid": {
   109              "id": "7706636740145184841",
   110              "impid": "test-imp-id",
   111              "price": 1.75,
   112              "adm": "<div>banner-ads</div>",
   113              "adid": "29681110",
   114              "adomain": ["dmx.districtm.io"],
   115              "iurl": "https://dmx.districtm.io/b/v2",
   116              "cid": "958",
   117              "crid": "29681110",
   118              "w": 300,
   119              "h": 250
   120  
   121            },
   122            "type": "banner"
   123          }
   124        ]
   125      }
   126    ]
   127  }