github.com/prebid/prebid-server@v0.275.0/adapters/pubnative/pubnativetest/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              "zone_id": 1,
    29              "app_auth_token": "4fd53a12b78af4b39835de9e449c3082"
    30            }
    31          }
    32        }
    33      ],
    34      "device": {
    35        "os": "android",
    36        "ua": "test-user-agent",
    37        "ip": "123.123.123.123",
    38        "h": 700,
    39        "w": 375,
    40        "ext": {
    41          "prebid": {
    42            "interstitial": {
    43              "minwidthperc": 50,
    44              "minheightperc": 40
    45            }
    46          }
    47        }
    48      },
    49      "at": 1,
    50      "tmax": 200,
    51      "test": 1,
    52      "source": {
    53        "tid": "283746293874293"
    54      },
    55      "ext": {
    56        "prebid": {}
    57      }
    58    },
    59    "httpCalls": [
    60      {
    61        "expectedRequest": {
    62          "uri": "http://example.com/prebid?apptoken=4fd53a12b78af4b39835de9e449c3082&zoneid=1",
    63          "body": {
    64            "id": "test-request-id",
    65            "site": {
    66              "domain": "good.site",
    67              "page": "https://good.site/url",
    68              "publisher": {
    69                "id": "test-publisher-id"
    70              },
    71              "ext": {
    72                "amp": 0
    73              }
    74            },
    75            "imp": [
    76              {
    77                "id": "test-imp-id",
    78                "banner": {
    79                  "h": 250,
    80                  "w": 300,
    81                  "format": [
    82                    {
    83                      "w": 300,
    84                      "h": 250
    85                    }
    86                  ]
    87                },
    88                "secure": 1,
    89                "ext": {
    90                  "bidder": {
    91                    "zone_id": 1,
    92                    "app_auth_token": "4fd53a12b78af4b39835de9e449c3082"
    93                  }
    94                }
    95              }
    96            ],
    97            "device": {
    98              "os": "android",
    99              "ua": "test-user-agent",
   100              "ip": "123.123.123.123",
   101              "h": 700,
   102              "w": 375,
   103              "ext": {
   104                "prebid": {
   105                  "interstitial": {
   106                    "minwidthperc": 50,
   107                    "minheightperc": 40
   108                  }
   109                }
   110              }
   111            },
   112            "at": 1,
   113            "tmax": 200,
   114            "test": 1,
   115            "source": {
   116              "tid": "283746293874293"
   117            },
   118            "ext": {
   119              "prebid": {}
   120            }
   121          }
   122        },
   123        "mockResponse": {
   124          "status": 200,
   125          "body": {
   126            "id": "1519967420713_259406708_583019428",
   127            "seatbid": [
   128              {
   129                "bid": [
   130                  {
   131                    "price": 0.5,
   132                    "adm": "some-test-ad",
   133                    "impid": "1",
   134                    "auid": 46,
   135                    "id": "1",
   136                    "h": 250,
   137                    "adomain": [
   138                      "goodadvertiser.com"
   139                    ],
   140                    "crid": "11_222222",
   141                    "w": 300
   142                  }
   143                ],
   144                "seat": "51"
   145              }
   146            ]
   147          }
   148        }
   149      }
   150    ],
   151    "expectedBidResponses": [
   152      {
   153        "bids": [
   154          {
   155            "bid": {
   156              "price": 0.5,
   157              "adm": "some-test-ad",
   158              "impid": "1",
   159              "id": "1",
   160              "h": 250,
   161              "adomain": [
   162                "goodadvertiser.com"
   163              ],
   164              "crid": "11_222222",
   165              "w": 300
   166            },
   167            "type": "banner"
   168          }
   169        ]
   170      }
   171    ]
   172  }