github.com/prebid/prebid-server/v2@v2.18.0/adapters/operaads/operaadstest/exemplary/video.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "test-video-request",
     4      "imp": [
     5        {
     6          "id": "test-video-imp",
     7          "video": {
     8            "w": 640,
     9            "h": 480,
    10            "mimes": [
    11              "video/mp4",
    12              "video/x-flv"
    13            ],
    14            "minduration": 5,
    15            "maxduration": 30,
    16            "startdelay": 5,
    17            "playbackmethod": [
    18              1,
    19              3
    20            ],
    21            "api": [
    22              1,
    23              2
    24            ],
    25            "protocols": [
    26              2,
    27              3
    28            ],
    29            "battr": [
    30              13,
    31              14
    32            ],
    33            "linearity": 1,
    34            "placement": 2,
    35            "minbitrate": 10,
    36            "maxbitrate": 10
    37          },
    38          "ext": {
    39            "bidder": {
    40              "placementId": "s00000",
    41              "endpointId": "ep00000",
    42              "publisherId": "pub00000"
    43            }
    44          }
    45        }
    46      ],
    47      "device": {
    48        "ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36",
    49        "os": "android"
    50      },
    51      "site": {
    52        "id": "siteID",
    53        "publisher": {
    54          "id": "1234"
    55        }
    56      }
    57    },
    58    "httpCalls": [
    59      {
    60        "expectedRequest": {
    61          "uri": "http://example.com/operaads/ortb/v2/pub00000?ep=ep00000",
    62          "body": {
    63            "id": "test-video-request",
    64            "imp": [
    65              {
    66                "id": "test-video-imp:opa:video",
    67                "tagid": "s00000",
    68                "video": {
    69                  "w": 640,
    70                  "h": 480,
    71                  "mimes": [
    72                    "video/mp4",
    73                    "video/x-flv"
    74                  ],
    75                  "minduration": 5,
    76                  "maxduration": 30,
    77                  "startdelay": 5,
    78                  "playbackmethod": [
    79                    1,
    80                    3
    81                  ],
    82                  "api": [
    83                    1,
    84                    2
    85                  ],
    86                  "protocols": [
    87                    2,
    88                    3
    89                  ],
    90                  "battr": [
    91                    13,
    92                    14
    93                  ],
    94                  "linearity": 1,
    95                  "placement": 2,
    96                  "minbitrate": 10,
    97                  "maxbitrate": 10
    98                },
    99                "ext": {
   100                  "bidder": {
   101                    "placementId": "s00000",
   102                    "endpointId": "ep00000",
   103                    "publisherId": "pub00000"
   104                  }
   105                }
   106              }
   107            ],
   108            "device": {
   109              "ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36",
   110              "os": "android"
   111            },
   112            "site": {
   113              "id": "siteID",
   114              "publisher": {
   115                "id": "1234"
   116              }
   117            }
   118          },
   119          "impIDs":["test-video-imp:opa:video"]
   120        },
   121        "mockResponse": {
   122          "status": 200,
   123          "body": {
   124            "id": "test-video-request",
   125            "seatbid": [
   126              {
   127                "seat": "958",
   128                "bid": [
   129                  {
   130                    "id": "7706636740145184841",
   131                    "impid": "test-video-imp:opa:video",
   132                    "price": 0.5,
   133                    "adid": "29681110",
   134                    "adm": "some-test-ad",
   135                    "adomain": [
   136                      "example.com"
   137                    ],
   138                    "crid": "29681110",
   139                    "h": 250,
   140                    "w": 300
   141                  }
   142                ]
   143              }
   144            ],
   145            "bidid": "5778926625248726496",
   146            "cur": "USD"
   147          }
   148        }
   149      }
   150    ],
   151    "expectedBidResponses": [
   152      {
   153        "currency": "USD",
   154        "bids": [
   155          {
   156            "bid": {
   157              "id": "7706636740145184841",
   158              "impid": "test-video-imp",
   159              "price": 0.5,
   160              "adid": "29681110",
   161              "adm": "some-test-ad",
   162              "adomain": [
   163                "example.com"
   164              ],
   165              "crid": "29681110",
   166              "w": 300,
   167              "h": 250
   168            },
   169            "type": "video"
   170          }
   171        ]
   172      }
   173    ]
   174  }