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