github.com/prebid/prebid-server@v0.275.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        },
   104        "mockResponse": {
   105          "status": 200,
   106          "body": {
   107            "id": "1519967420713_259406708_583019428",
   108            "seatbid": [
   109              {
   110                "bid": [
   111                  {
   112                    "price": 0.5,
   113                    "adm": "some-test-ad",
   114                    "impid": "test-imp-id:opa:banner",
   115                    "auid": 46,
   116                    "id": "1",
   117                    "h": 250,
   118                    "adomain": [
   119                      "goodadvertiser.com"
   120                    ],
   121                    "crid": "11_222222",
   122                    "w": 300
   123                  }
   124                ],
   125                "seat": "51"
   126              }
   127            ],
   128            "bidid": "8141327771600527856",
   129            "cur": "USD"
   130          }
   131        }
   132      }
   133    ],
   134    "expectedBidResponses": [
   135      {
   136        "currency": "USD",
   137        "bids": [
   138          {
   139            "bid": {
   140              "price": 0.5,
   141              "adm": "some-test-ad",
   142              "impid": "test-imp-id",
   143              "id": "1",
   144              "h": 250,
   145              "adomain": [
   146                "goodadvertiser.com"
   147              ],
   148              "crid": "11_222222",
   149              "w": 300
   150            },
   151            "type": "banner"
   152          }
   153        ]
   154      }
   155    ]
   156  }