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