github.com/prebid/prebid-server/v2@v2.18.0/adapters/zeroclickfraud/zeroclickfraudtest/exemplary/multi-request.json (about)

     1  {
     2      "mockBidRequest":
     3      {
     4          "id": "some-request-id",
     5          "imp": [
     6          {
     7              "id": "some-impression-id",
     8              "banner":
     9              {
    10                  "format": [
    11                  {
    12                      "w": 300,
    13                      "h": 250
    14                  }]
    15              },
    16              "ext":
    17              {
    18                  "bidder":
    19                  {
    20                      "host": "q.0cf.io",
    21                      "sourceId": 906295
    22                  }
    23              }
    24          },{
    25              "id": "some-impression-id2",
    26              "banner":
    27              {
    28                  "format": [{
    29                      "w": 300,
    30                      "h": 600
    31                  }]
    32              },
    33              "ext":
    34              {
    35                  "bidder":
    36                  {
    37                      "host": "q.0cf.io",
    38                      "sourceId": 906295
    39                  }
    40              }
    41          }],
    42          "site":
    43          {
    44              "page": "prebid.org"
    45          },
    46          "device":
    47          {
    48              "ip": "8.8.8.10"
    49          },
    50          "at": 1,
    51          "tmax": 500
    52      },
    53      "httpCalls": [
    54      {
    55          "expectedRequest":
    56          {
    57              "uri": "http://q.0cf.io/openrtb2?sid=906295",
    58              "body":
    59              {
    60                  "id": "some-request-id",
    61                  "imp": [
    62                  {
    63                      "id": "some-impression-id",
    64                      "banner":
    65                      {
    66                          "format": [
    67                          {
    68                              "w": 300,
    69                              "h": 250
    70                          }]
    71                      },
    72                      "ext":
    73                      {
    74                          "bidder":
    75                          {
    76                              "host": "q.0cf.io",
    77                              "sourceId": 906295
    78                          }
    79                      }
    80                  },{
    81                      "id": "some-impression-id2",
    82                      "banner":
    83                      {
    84                          "format": [
    85                          {
    86                              "w": 300,
    87                              "h": 600
    88                          }]
    89                      },
    90                      "ext":
    91                      {
    92                          "bidder":
    93                          {
    94                              "host": "q.0cf.io",
    95                              "sourceId": 906295
    96                          }
    97                      }
    98                  }],
    99                  "site":
   100                  {
   101                      "page": "prebid.org"
   102                  },
   103                  "device":
   104                  {
   105                      "ip": "8.8.8.10"
   106                  },
   107                  "at": 1,
   108                  "tmax": 500
   109              },
   110              "impIDs":["some-impression-id","some-impression-id2"]
   111          },
   112          "mockResponse":
   113          {
   114              "status": 200,
   115              "body":
   116              {
   117                  "id": "some-request-id",
   118                  "bidid": "183975330-5-29038-2",
   119                  "seatbid": [
   120                  {
   121                      "seat": "906295",
   122                      "bid": [
   123                      {
   124                          "id": "2181314349",
   125                          "impid": "some-impression-id",
   126                          "adm": "<style>.text_preview{padding:14px;overflow:hidden;display:flex;flex-direction:column;justify-content:center;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px;line-height:20px;margin:0;padding:0;color:#333;background:#fff}.text_decription{min-width:150px;padding:5px;flex-grow:0;}.title_preview a{color:#00f;font-weight:700;text-decoration:none}.description_preview{padding:0 0 20px;overflow:hidden;text-overflow:ellipsis}.click_url_preview{color:green}.image_container{position:relative;width:160;height:120}.image_container img{max-height:100%;max-width:100%}.loading{background:url() center no-repeat #eee;height:100%;width:100%;top:0;left:0;position:absolute;border-radius:0}</style><style>.text_boundary {width:300px;height:250px;}</style><div class=\"text_preview text_boundary\"><div class=\"text_decription\"><div class=\"title_preview\"><a href=\"https://t.0cf.io/c/267237/?fcid=2181314349\" target=\"_top\">Datablocks Inc.</a></div><div class=\"description_preview\">Datablocks provides world class \"Software as a Service\" (SaaS) solutions to its clients.</div><a class=\"click_url_preview\" target=\"_top\" href=\"https://t.0cf.io/c/267237/?fcid=2181314349\">www.zeroclickfraud.com</a></div></div><img alt=\"\" src=\"https://t.0cf.io/i/267237/?fcid=2181314349&pixel=1\" width=\"1\" height=\"1\" ></div>",
   127                          "price": 13.37,
   128                          "cid": "906293",
   129                          "adid": "906297",
   130                          "crid": "906299",
   131                          "w": 300,
   132                          "h": 250
   133                      }]
   134                  }],
   135                  "cur": "USD",
   136                  "ext":
   137                  {}
   138              }
   139          }
   140      }],
   141      "expectedBidResponses": [
   142      {
   143          "currency": "USD",
   144          "bids": [
   145          {
   146              "bid":
   147              {
   148                  "id": "2181314349",
   149                  "impid": "some-impression-id",
   150                  "adm": "<style>.text_preview{padding:14px;overflow:hidden;display:flex;flex-direction:column;justify-content:center;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px;line-height:20px;margin:0;padding:0;color:#333;background:#fff}.text_decription{min-width:150px;padding:5px;flex-grow:0;}.title_preview a{color:#00f;font-weight:700;text-decoration:none}.description_preview{padding:0 0 20px;overflow:hidden;text-overflow:ellipsis}.click_url_preview{color:green}.image_container{position:relative;width:160;height:120}.image_container img{max-height:100%;max-width:100%}.loading{background:url() center no-repeat #eee;height:100%;width:100%;top:0;left:0;position:absolute;border-radius:0}</style><style>.text_boundary {width:300px;height:250px;}</style><div class=\"text_preview text_boundary\"><div class=\"text_decription\"><div class=\"title_preview\"><a href=\"https://t.0cf.io/c/267237/?fcid=2181314349\" target=\"_top\">Datablocks Inc.</a></div><div class=\"description_preview\">Datablocks provides world class \"Software as a Service\" (SaaS) solutions to its clients.</div><a class=\"click_url_preview\" target=\"_top\" href=\"https://t.0cf.io/c/267237/?fcid=2181314349\">www.zeroclickfraud.com</a></div></div><img alt=\"\" src=\"https://t.0cf.io/i/267237/?fcid=2181314349&pixel=1\" width=\"1\" height=\"1\" ></div>",
   151                  "price": 13.37,
   152                  "cid": "906293",
   153                  "adid": "906297",
   154                  "crid": "906299",
   155                  "w": 300,
   156                  "h": 250
   157              },
   158              "type": "banner"
   159          }]
   160      }]
   161  }