github.com/prebid/prebid-server/v2@v2.18.0/adapters/adview/adviewtest/exemplary/banner-app-format.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "some-request-id",
     4      "device": {
     5        "ua": "test-user-agent",
     6        "ip": "123.123.123.123",
     7        "ifa":"00000000-0000-0000-0000-000000000000",
     8        "language": "en",
     9        "dnt": 0
    10      },
    11      "tmax": 1000,
    12      "user": {
    13        "buyeruid": "awesome-user"
    14      },
    15      "app": {
    16        "publisher": {
    17          "id": "123456789"
    18        },
    19        "cat": [
    20          "IAB22-1"
    21        ],
    22        "bundle": "com.app.awesome",
    23        "name": "Awesome App",
    24        "domain": "awesomeapp.com",
    25        "id": "123456789"
    26      },
    27      "imp": [
    28        {
    29          "id": "some-impression-id",
    30          "banner": {
    31            "format": [
    32              {
    33                "w": 320,
    34                "h": 50
    35              }
    36            ]
    37          },
    38          "ext": {
    39            "bidder": {
    40              "placementId": "posid00001",
    41              "accountId": "accountid01"
    42            }
    43          }
    44        }
    45      ]
    46    },
    47    "httpCalls": [
    48      {
    49        "expectedRequest": {
    50          "uri": "https://bid.adview.com/agent/thirdAdxService/accountid01",
    51          "body": {
    52            "id": "some-request-id",
    53            "cur": ["USD"],
    54            "device": {
    55              "ua": "test-user-agent",
    56              "ip": "123.123.123.123",
    57              "ifa":"00000000-0000-0000-0000-000000000000",
    58              "language": "en",
    59              "dnt": 0
    60            },
    61            "imp": [
    62              {
    63                "id": "some-impression-id",
    64                "banner": {
    65                  "w": 320,
    66                  "h": 50,
    67                  "format": [
    68                    {
    69                      "w": 320,
    70                      "h": 50
    71                    }
    72                  ]
    73                },
    74                "tagid": "posid00001",
    75                "ext": {
    76                   "bidder": {
    77                     "placementId": "posid00001",
    78                     "accountId": "accountid01"
    79                   }
    80                }
    81              }
    82            ],
    83            "app": {
    84              "id": "123456789",
    85              "name": "Awesome App",
    86              "bundle": "com.app.awesome",
    87              "domain": "awesomeapp.com",
    88              "cat": [
    89                "IAB22-1"
    90              ],
    91              "publisher": {
    92                "id": "123456789"
    93              }
    94            },
    95            "user": {
    96              "buyeruid": "awesome-user"
    97            },
    98            "tmax": 1000
    99          },
   100          "impIDs":["some-impression-id"]
   101        },
   102        "mockResponse": {
   103          "status": 200,
   104          "body": {
   105            "id": "awesome-resp-id",
   106            "seatbid": [
   107              {
   108                "bid": [
   109                  {
   110                    "id": "a3ae1b4e2fc24a4fb45540082e98e161",
   111                    "impid": "some-impression-id",
   112                    "price": 3.5,
   113                    "adm": "awesome-markup",
   114                    "adomain": [
   115                      "awesome.com"
   116                    ],
   117                    "crid": "20",
   118                    "w": 320,
   119                    "h": 50,
   120                    "mtype": 1,
   121                    "ext": {
   122                      "formattype": 0
   123                    }
   124                  }
   125                ],
   126                "type": "banner",
   127                "seat": "adview"
   128              }
   129            ],
   130            "cur": "USD",
   131            "ext": {
   132              "responsetimemillis": {
   133                "adview": 154
   134              },
   135              "tmaxrequest": 1000
   136            }
   137          }
   138        }
   139      }
   140    ],
   141    "expectedBidResponses": [
   142      {
   143        "currency": "USD",
   144        "bids": [
   145          {
   146            "bid": {
   147              "id": "a3ae1b4e2fc24a4fb45540082e98e161",
   148              "impid": "some-impression-id",
   149              "price": 3.5,
   150              "adm": "awesome-markup",
   151              "adomain": [
   152                "awesome.com"
   153              ],
   154              "crid": "20",
   155              "w": 320,
   156              "h": 50,
   157              "mtype": 1,
   158              "ext": {
   159                "formattype": 0
   160              }
   161            },
   162            "type": "banner"
   163          }
   164        ]
   165      }
   166    ]
   167  }