github.com/prebid/prebid-server@v0.275.0/adapters/sharethrough/sharethroughtest/exemplary/app-banner.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "web-banner",
     4      "tmax": 3000,
     5      "imp": [
     6        {
     7          "id": "banner-imp-id",
     8          "ext": {
     9            "bidder": {
    10              "pkey": "pkey"
    11            }
    12          },
    13          "banner": {
    14            "format": [
    15              {
    16                "w": 300,
    17                "h": 250
    18              }
    19            ]
    20          }
    21        }
    22      ],
    23      "app": {
    24        "bundle": "com.fake.app",
    25        "publisher": {
    26          "id": "42",
    27          "name": "whatever.pub"
    28        }
    29      },
    30      "device": {
    31        "w": 1200,
    32        "h": 900
    33      }
    34    },
    35    "httpCalls": [
    36      {
    37        "expectedRequest": {
    38          "uri": "http://whatever.url",
    39          "headers": {
    40            "Content-Type": ["application/json;charset=utf-8"],
    41            "Accept": ["application/json"]
    42          },
    43          "body": {
    44            "id": "web-banner",
    45            "tmax": 3000,
    46            "imp": [
    47              {
    48                "id": "banner-imp-id",
    49                "tagid": "pkey",
    50                "ext": {
    51                  "bidder": {
    52                    "pkey": "pkey"
    53                  }
    54                },
    55                "banner": {
    56                  "format": [
    57                    {
    58                      "w": 300,
    59                      "h": 250
    60                    }
    61                  ]
    62                }
    63              }
    64            ],
    65            "device": {
    66              "w": 1200,
    67              "h": 900
    68            },
    69            "app": {
    70              "bundle": "com.fake.app",
    71              "publisher": {
    72                "id": "42",
    73                "name": "whatever.pub"
    74              }
    75            },
    76            "source": {
    77              "ext": {
    78                "version": "",
    79                "str": "10.0"
    80              }
    81            }
    82          }
    83        },
    84        "mockResponse": {
    85          "status": 200,
    86          "body": {
    87            "id": "web-banner",
    88            "cur": "USD",
    89            "seatbid": [
    90              {
    91                "bid": [
    92                  {
    93                    "id": "web-banner",
    94                    "impid": "banner-imp-id",
    95                    "crid": "some-creative-id",
    96                    "adm": "<div>Ad</div>",
    97                    "price": 20,
    98                    "w": 300,
    99                    "h": 250,
   100                    "ext": {
   101                      "prebid": {
   102                        "type": "banner"
   103                      }
   104                    }
   105                  }
   106                ]
   107              }
   108            ]
   109          }
   110        }
   111      }
   112    ],
   113    "expectedBidResponses": [
   114      {
   115        "currency": "USD",
   116        "bids": [
   117          {
   118            "bid": {
   119              "id": "web-banner",
   120              "impid": "banner-imp-id",
   121              "crid": "some-creative-id",
   122              "adm": "<div>Ad</div>",
   123              "price": 20,
   124              "w": 300,
   125              "h": 250,
   126              "ext": {
   127                "prebid": {
   128                  "type": "banner"
   129                }
   130              }
   131            },
   132            "type": "banner"
   133          }
   134        ]
   135      }
   136    ]
   137  }