github.com/prebid/prebid-server@v0.275.0/adapters/mgid/mgidtest/exemplary/simple-banner.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "test-request-id",
     4      "imp": [
     5        {
     6          "id": "test-imp-id",
     7          "banner": {
     8            "format": [
     9              {
    10                "w": 300,
    11                "h": 250
    12              },
    13              {
    14                "w": 300,
    15                "h": 600
    16              }
    17            ]
    18          },
    19          "ext": {
    20            "bidder": {
    21              "accountId": "123",
    22              "placementId": "456"
    23            }
    24          }
    25        }
    26      ],
    27      "device": {
    28        "ua": "test-user-agent",
    29        "ip": "123.123.123.123",
    30        "language": "en",
    31        "dnt": 0
    32      },
    33      "site": {
    34        "domain": "www.publisher.com",
    35        "page": "http://www.publisher.com/awesome/site"
    36      },
    37      "user": {
    38        "buyeruid": "test_reader_id"
    39      }
    40    },
    41  
    42    "httpCalls": [
    43      {
    44        "expectedRequest": {
    45          "headers": {
    46            "Accept": ["application/json"],
    47            "Content-Type": ["application/json;charset=utf-8"]
    48          },
    49          "uri": "https://prebid.mgid.com/prebid/123",
    50          "body": {
    51            "id": "test-request-id",
    52            "imp": [
    53              {
    54                "id": "test-imp-id",
    55                "banner": {
    56                  "format": [
    57                    {
    58                      "w": 300,
    59                      "h": 250
    60                    },
    61                    {
    62                      "w": 300,
    63                      "h": 600
    64                    }
    65                  ]
    66                },
    67                "tagid": "456/test-imp-id",
    68                "ext": {
    69                  "bidder": {
    70                    "accountId": "123",
    71                    "placementId": "456"
    72                  }
    73                }
    74              }
    75            ],
    76            "site": {
    77              "domain": "www.publisher.com",
    78              "page": "http://www.publisher.com/awesome/site"
    79            },
    80            "tmax": 200,
    81            "user": {
    82              "buyeruid": "test_reader_id"
    83            },
    84            "device": {
    85              "ua": "test-user-agent",
    86              "ip": "123.123.123.123",
    87              "dnt": 0,
    88              "language": "en"
    89            }
    90          }
    91        },
    92        "mockResponse": {
    93          "status": 200,
    94          "body": {
    95            "id": "test-request-id",
    96            "seatbid": [
    97              {
    98                "bid": [
    99                  {
   100                    "id": "test-bid-id",
   101                    "impid": "test-imp-id",
   102                    "price": 3.5,
   103                    "nurl": "nurl",
   104                    "adm": "some-test-ad",
   105                    "w": 300,
   106                    "h": 250
   107                  }
   108                ]
   109              }
   110            ]
   111          }
   112        }
   113      }
   114    ],
   115  
   116    "expectedBidResponses": [
   117      {
   118        "currency": "USD",
   119        "bids": [
   120          {
   121            "bid": {
   122              "id": "test-bid-id",
   123              "impid": "test-imp-id",
   124              "price": 3.5,
   125              "adm": "some-test-ad",
   126              "nurl": "nurl",
   127              "w": 300,
   128              "h": 250
   129            },
   130            "type": "banner"
   131          }
   132        ]
   133      }
   134    ]
   135  }