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

     1  {
     2    "mockBidRequest": {
     3      "id": "test-request-id",
     4      "site": {
     5        "domain": "good.site",
     6        "page": "https://good.site/url",
     7        "publisher": {
     8          "id": "test-publisher-id"
     9        },
    10        "ext": {
    11          "amp": 0
    12        }
    13      },
    14      "imp": [
    15        {
    16          "id": "test-imp-id",
    17          "banner": {
    18            "format": [
    19              {
    20                "w": 300,
    21                "h": 250
    22              }
    23            ]
    24          },
    25          "secure": 1,
    26          "ext": {
    27            "bidder": {
    28              "placementId": "s17890",
    29              "endpointId": "ep19979",
    30              "publisherId": "pub456"
    31            }
    32          }
    33        }
    34      ],
    35      "device": {
    36        "os": "android",
    37        "ua": "test-user-agent",
    38        "ip": "123.123.123.123",
    39        "h": 700,
    40        "w": 375
    41      },
    42      "at": 1,
    43      "tmax": 200,
    44      "test": 1,
    45      "source": {
    46        "tid": "283746293874293"
    47      }
    48    },
    49    "httpCalls": [
    50      {
    51        "expectedRequest": {
    52          "uri": "http://example.com/operaads/ortb/v2/pub456?ep=ep19979",
    53          "body": {
    54            "id": "test-request-id",
    55            "site": {
    56              "domain": "good.site",
    57              "page": "https://good.site/url",
    58              "publisher": {
    59                "id": "test-publisher-id"
    60              },
    61              "ext": {
    62                "amp": 0
    63              }
    64            },
    65            "imp": [
    66              {
    67                "id": "test-imp-id:opa:banner",
    68                "tagid": "s17890",
    69                "banner": {
    70                  "h": 250,
    71                  "w": 300,
    72                  "format": [
    73                    {
    74                      "w": 300,
    75                      "h": 250
    76                    }
    77                  ]
    78                },
    79                "secure": 1,
    80                "ext": {
    81                  "bidder": {
    82                    "placementId": "s17890",
    83                    "endpointId": "ep19979",
    84                    "publisherId": "pub456"
    85                  }
    86                }
    87              }
    88            ],
    89            "device": {
    90              "os": "android",
    91              "ua": "test-user-agent",
    92              "ip": "123.123.123.123",
    93              "h": 700,
    94              "w": 375
    95            },
    96            "at": 1,
    97            "tmax": 200,
    98            "test": 1,
    99            "source": {
   100              "tid": "283746293874293"
   101            }
   102          },
   103          "impIDs":["test-imp-id:opa:banner"]
   104        },
   105        "mockResponse": {
   106          "status": 200,
   107          "body": {
   108            "id": "1519967420713_259406708_583019428",
   109            "seatbid": [
   110              {
   111                "bid": [
   112                  {
   113                    "price": 0.5,
   114                    "adm": "some-test-ad",
   115                    "impid": "test-imp-id:opa:banner",
   116                    "auid": 46,
   117                    "id": "1",
   118                    "h": 250,
   119                    "adomain": [
   120                      "goodadvertiser.com"
   121                    ],
   122                    "crid": "11_222222",
   123                    "w": 300
   124                  }
   125                ],
   126                "seat": "51"
   127              }
   128            ],
   129            "bidid": "8141327771600527856",
   130            "cur": "USD"
   131          }
   132        }
   133      }
   134    ],
   135    "expectedBidResponses": [
   136      {
   137        "currency": "USD",
   138        "bids": [
   139          {
   140            "bid": {
   141              "price": 0.5,
   142              "adm": "some-test-ad",
   143              "impid": "test-imp-id",
   144              "id": "1",
   145              "h": 250,
   146              "adomain": [
   147                "goodadvertiser.com"
   148              ],
   149              "crid": "11_222222",
   150              "w": 300
   151            },
   152            "type": "banner"
   153          }
   154        ]
   155      }
   156    ]
   157  }