github.com/prebid/prebid-server/v2@v2.18.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          "impIDs":["test-imp-id"]
    92        },
    93        "mockResponse": {
    94          "status": 200,
    95          "body": {
    96            "id": "test-request-id",
    97            "seatbid": [
    98              {
    99                "bid": [
   100                  {
   101                    "id": "test-bid-id",
   102                    "impid": "test-imp-id",
   103                    "price": 3.5,
   104                    "nurl": "nurl",
   105                    "adm": "some-test-ad",
   106                    "w": 300,
   107                    "h": 250
   108                  }
   109                ]
   110              }
   111            ]
   112          }
   113        }
   114      }
   115    ],
   116  
   117    "expectedBidResponses": [
   118      {
   119        "currency": "USD",
   120        "bids": [
   121          {
   122            "bid": {
   123              "id": "test-bid-id",
   124              "impid": "test-imp-id",
   125              "price": 3.5,
   126              "adm": "some-test-ad",
   127              "nurl": "nurl",
   128              "w": 300,
   129              "h": 250
   130            },
   131            "type": "banner"
   132          }
   133        ]
   134      }
   135    ]
   136  }