github.com/prebid/prebid-server/v2@v2.18.0/adapters/trafficgate/trafficgatetest/exemplary/multiple-imps.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "test-request-id",
     4      "device": {
     5        "ip": "123.123.123.123",
     6        "ifa": "zxcjbzxmc-zxcbmz-zxbcz-zxczx"
     7      },
     8      "app": {
     9        "id": "1",
    10        "bundle": "com.wls.testwlsapplication"
    11      },
    12      "imp": [
    13        {
    14          "id": "test-imp-id",
    15          "video": {
    16            "mimes": ["video/mp4"],
    17            "protocols": [2, 5],
    18            "w": 1024,
    19            "h": 576
    20          },
    21          "ext": {
    22            "bidder": {
    23              "placementId": "3",
    24              "host": "example"
    25            }
    26          }
    27        },
    28        {
    29          "id": "test-imp-id2",
    30          "video": {
    31            "mimes": ["video/mp4"],
    32            "protocols": [2, 5],
    33            "w": 1920,
    34            "h": 1080
    35          },
    36          "ext": {
    37            "bidder": {
    38              "placementId": "3",
    39              "host": "example"
    40            }
    41          }
    42        }
    43      ]
    44    },
    45  
    46    "httpCalls": [
    47      {
    48        "expectedRequest": {
    49          "uri": "http://example.bc-plugin.com/?c=o&m=rtb",
    50          "body": {
    51            "id": "test-request-id",
    52            "device": {
    53              "ip": "123.123.123.123",
    54              "ifa": "zxcjbzxmc-zxcbmz-zxbcz-zxczx"
    55            },
    56            "app": {
    57              "id": "1",
    58              "bundle": "com.wls.testwlsapplication"
    59            },
    60            "imp": [
    61              {
    62                "id": "test-imp-id",
    63                "video": {
    64                  "mimes": ["video/mp4"],
    65                  "protocols": [2, 5],
    66                  "w": 1024,
    67                  "h": 576
    68                },
    69                "ext": {
    70                  "bidder": {
    71                    "placementId": "3",
    72                    "host": "example"
    73                  }
    74                }
    75              },
    76              {
    77                "id": "test-imp-id2",
    78                "video": {
    79                  "mimes": ["video/mp4"],
    80                  "protocols": [2, 5],
    81                  "w": 1920,
    82                  "h": 1080
    83                },
    84                "ext": {
    85                  "bidder": {
    86                    "placementId": "3",
    87                    "host": "example"
    88                  }
    89                }
    90              }
    91            ]
    92          },
    93          "impIDs":["test-imp-id","test-imp-id2"]
    94        },
    95        "mockResponse": {
    96          "status": 200,
    97          "body": {
    98            "id": "test-request-id",
    99            "seatbid": [
   100              {
   101                "bid": [
   102                  {
   103                    "id": "test_bid_id",
   104                    "impid": "test-imp-id",
   105                    "price": 0.27543,
   106                    "adm": "<VAST version=\"3.0\"></VAST>",
   107                    "cid": "test_cid",
   108                    "crid": "test_crid",
   109                    "dealid": "test_dealid",
   110                    "ext": {
   111                      "prebid": {
   112                        "type": "video"
   113                      }
   114                    }
   115                  }
   116                ]
   117              }
   118            ],
   119            "cur": "USD"
   120          }
   121        }
   122      }
   123    ],
   124  
   125  
   126    "expectedBidResponses": [
   127      {
   128        "bids": [
   129          {
   130            "bid": {
   131              "id": "test_bid_id",
   132              "impid": "test-imp-id",
   133              "price": 0.27543,
   134              "adm": "<VAST version=\"3.0\"></VAST>",
   135              "cid": "test_cid",
   136              "crid": "test_crid",
   137              "dealid": "test_dealid",
   138              "ext": {
   139                "prebid": {
   140                  "type": "video"
   141                }
   142              }
   143            },
   144            "type": "video"
   145          }
   146        ],
   147        "currency": "USD"
   148      }
   149    ]
   150  }