github.com/prebid/prebid-server@v0.275.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        },
   101        "mockResponse": {
   102          "status": 200,
   103          "body": {
   104            "id": "awesome-resp-id",
   105            "seatbid": [
   106              {
   107                "bid": [
   108                  {
   109                    "id": "a3ae1b4e2fc24a4fb45540082e98e161",
   110                    "impid": "some-impression-id",
   111                    "price": 3.5,
   112                    "adm": "awesome-markup",
   113                    "adomain": [
   114                      "awesome.com"
   115                    ],
   116                    "crid": "20",
   117                    "w": 320,
   118                    "h": 50
   119                  }
   120                ],
   121                "type": "banner",
   122                "seat": "adview"
   123              }
   124            ],
   125            "cur": "USD",
   126            "ext": {
   127              "responsetimemillis": {
   128                "adview": 154
   129              },
   130              "tmaxrequest": 1000
   131            }
   132          }
   133        }
   134      }
   135    ],
   136    "expectedBidResponses": [
   137      {
   138        "currency": "USD",
   139        "bids": [
   140          {
   141            "bid": {
   142              "id": "a3ae1b4e2fc24a4fb45540082e98e161",
   143              "impid": "some-impression-id",
   144              "price": 3.5,
   145              "adm": "awesome-markup",
   146              "adomain": [
   147                "awesome.com"
   148              ],
   149              "crid": "20",
   150              "w": 320,
   151              "h": 50
   152            },
   153            "type": "banner"
   154          }
   155        ]
   156      }
   157    ]
   158  }