github.com/prebid/prebid-server@v0.275.0/adapters/beintoo/beintootest/exemplary/minimal-banner.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "some_test_auction",
     4      "imp": [{
     5        "id": "some_test_ad_id",
     6        "banner": {
     7          "format": [{
     8            "w": 300,
     9            "h": 250
    10          }],
    11          "w": 300,
    12          "h": 250
    13        },
    14        "ext": {
    15          "bidder": {
    16            "tagid": "25251"
    17          }
    18        }
    19      }],
    20      "device": {
    21        "ua": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.91 Safari/537.36",
    22        "ip": "123.123.123.123",
    23        "dnt": 1
    24      },
    25      "site": {
    26        "domain": "www.publisher.com",
    27        "page": "http://www.publisher.com/awesome/site?with=some&parameters=here"
    28      }
    29    },
    30  
    31    "httpCalls": [{
    32      "expectedRequest": {
    33        "uri": "https://ib.beintoo.com",
    34        "headers": {
    35          "Accept": [
    36            "application/json"
    37          ],
    38          "Content-Type": [
    39            "application/json;charset=utf-8"
    40          ],
    41          "X-Forwarded-For": [
    42            "123.123.123.123"
    43          ],
    44          "Referer": [
    45            "http://www.publisher.com/awesome/site?with=some&parameters=here"
    46          ],
    47          "Dnt": [
    48            "1"
    49          ],
    50          "User-Agent": [
    51            "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.91 Safari/537.36"
    52          ]
    53        },
    54        "body": {
    55          "id": "some_test_auction",
    56          "imp": [{
    57            "id": "some_test_ad_id",
    58            "banner": {
    59              "format": [{
    60                "w": 300,
    61                "h": 250
    62              }],
    63              "w": 300,
    64              "h": 250
    65            },
    66            "tagid": "25251",
    67            "secure": 0
    68          }],
    69          "site": {
    70            "domain": "www.publisher.com",
    71            "page": "http://www.publisher.com/awesome/site?with=some&parameters=here"
    72          },
    73          "device": {
    74            "ua": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.91 Safari/537.36",
    75            "ip": "123.123.123.123",
    76            "dnt": 1
    77          }
    78        }
    79      },
    80      "mockResponse": {
    81        "status": 200,
    82        "body": {
    83          "id": "some_test_auction",
    84          "seatbid": [{
    85              "seat": "12356",
    86              "bid": [{
    87                "adm": "<div id=\"123456789_ad\"><script>!function(){console.log\"Hello, world.\";}();<\/script><\/div>",
    88                "id": "uuid",
    89                "impid": "some_test_ad_id",
    90                "ttl": 300,
    91                "crid": "94395500",
    92                "w": 300,
    93                "price": 2.942808,
    94                "adid": "94395500",
    95                "h": 250
    96              }]
    97          }],
    98          "cur": "USD"
    99      }
   100      }
   101    }],
   102  
   103    "expectedBidResponses": [{
   104      "bids": [
   105        {
   106          "bid": {
   107            "adm": "<div id=\"123456789_ad\"><script>!function(){console.log\"Hello, world.\";}();<\/script><\/div>",
   108            "id": "uuid",
   109            "impid": "uuid",
   110            "crid": "94395500",
   111            "w": 300,
   112            "price": 2.942808,
   113            "adid": "94395500",
   114            "h": 250
   115          },
   116          "type": "banner"
   117          }
   118      ] 
   119    }]
   120  }