github.com/prebid/prebid-server/v2@v2.18.0/adapters/connectad/connectadtest/exemplary/optional-params.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "test-request-id",
     4      "imp": [
     5        {
     6          "id": "test-banner-imp-id",
     7          "banner": {
     8            "format": [
     9              {
    10                "w": 300,
    11                "h": 250
    12              }
    13            ]
    14          },
    15          "ext": {
    16            "bidder": {
    17              "siteId": 123456,
    18              "networkId": 123456,
    19              "bidfloor": 0.10
    20            }
    21          }
    22        }
    23      ],
    24      "site": {
    25        "domain": "connectad.io",
    26        "page": "http://connectad.io/"
    27      },
    28      "device": {
    29        "ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36",
    30        "ip": "111.111.111.111",
    31        "dnt": 1
    32      }
    33    },
    34    "httpCalls": [
    35      {
    36        "expectedRequest": {
    37          "uri": "http://bidder.connectad.io/API?src=pbs",
    38          "headers": {
    39            "Accept": [
    40              "application/json"
    41            ],
    42            "Content-Type": [
    43              "application/json;charset=utf-8"
    44            ],
    45            "X-Forwarded-For": [
    46              "111.111.111.111"
    47            ],
    48            "Dnt": [
    49              "1"
    50            ],
    51            "User-Agent": [
    52              "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36"
    53            ]
    54          },
    55          "body": {
    56            "id": "test-request-id",
    57            "imp": [
    58              {
    59                "id": "test-banner-imp-id",
    60                "banner": {
    61                  "w": 300,
    62                  "h": 250
    63                },
    64                "tagid": "123456",
    65                "secure": 0,
    66                "bidfloor": 0.1,
    67                "bidfloorcur": "USD"
    68              }
    69            ],
    70            "site": {
    71              "domain": "connectad.io",
    72              "page": "http://connectad.io/"
    73            },
    74            "device": {
    75              "ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36",
    76              "ip": "111.111.111.111",
    77              "dnt": 1
    78            }
    79          },
    80          "impIDs":["test-banner-imp-id"]
    81        },
    82        "mockResponse": {
    83          "status": 200,
    84          "body": {
    85            "id": "test-request-id",
    86            "seatbid": [
    87              {
    88                "seat": "connectad",
    89                "bid": [
    90                  {
    91                    "id": "ea50b7476f8014fc84fb052c7cac39bb8da4101d",
    92                    "impid": "test-banner-imp-id",
    93                    "price": 20,
    94                    "adm": "test-adm",
    95                    "crid": "6645x",
    96                    "h": 250,
    97                    "w": 300
    98                  }
    99                ]
   100              }
   101            ],
   102            "cur": "USD"
   103          }
   104        }
   105      }
   106    ],
   107    "expectedBidResponses": [
   108      {
   109        "currency": "USD",
   110        "bids": [
   111          {
   112            "bid": {
   113              "id": "ea50b7476f8014fc84fb052c7cac39bb8da4101d",
   114              "impid": "test-banner-imp-id",
   115              "price": 20,
   116              "adm": "test-adm",
   117              "crid": "6645x",
   118              "w": 300,
   119              "h": 250
   120            },
   121            "type": "banner"
   122          }
   123        ]
   124      }
   125    ]
   126  }