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

     1  {
     2    "mockBidRequest": {
     3      "id": "test-request-id",
     4      "imp": [
     5        {
     6          "id": "test-imp-id",
     7          "banner": {
     8            "format": [
     9              {
    10                "w": 300,
    11                "h": 250
    12              },
    13              {
    14                "w": 300,
    15                "h": 600
    16              }
    17            ]
    18          },
    19          "ext": {
    20            "bidder": {
    21              "member": "103",
    22              "inv_code": "abc",
    23              "reserve": 20,
    24              "position": "below",
    25              "traffic_source_code": "trafficSource",
    26              "keywords": [
    27                {"key": "foo", "value": ["bar","baz"]},
    28                {"key": "valueless"}
    29              ],
    30              "use_pmt_rule": true,
    31              "private_sizes": [{"w": 300, "h": 250}],
    32              "ext_inv_code": "invCode",
    33              "external_imp_id": "impId"
    34            }
    35          }
    36        }
    37      ]
    38    },
    39  
    40    "httpCalls": [
    41      {
    42        "expectedRequest": {
    43          "uri": "http://ib.adnxs.com/openrtb2?member_id=103",
    44          "body": {
    45            "id": "test-request-id",
    46            "ext": {
    47              "appnexus": {
    48                "hb_source": 5
    49              }
    50            },
    51            "imp": [
    52              {
    53                "id":"test-imp-id",
    54                "banner": {
    55                  "format": [
    56                    {"w":300,"h":250},
    57                    {"w":300,"h":600}
    58                  ],
    59                  "w": 300,
    60                  "h": 250,
    61                  "pos": 3
    62                },
    63                "tagid": "abc",
    64                "bidfloor": 20,
    65                "ext": {
    66                  "appnexus": {
    67                    "keywords": "foo=bar,foo=baz,valueless",
    68                    "traffic_source_code": "trafficSource",
    69                    "use_pmt_rule": true,
    70                    "private_sizes": [{"w": 300, "h": 250}],
    71                    "ext_inv_code": "invCode",
    72                    "external_imp_id": "impId"
    73                  }
    74                }
    75              }
    76            ]
    77          },
    78          "impIDs":["test-imp-id"]
    79        },
    80        "mockResponse": {
    81          "status": 204
    82        }
    83      }
    84    ],
    85    "expectedBidResponses": []
    86  }