github.com/prebid/prebid-server/v2@v2.18.0/adapters/appnexus/appnexustest/exemplary/dynamic-keywords-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": {"abc": ["bas"]},
    27              "use_pmt_rule": true,
    28              "private_sizes": [{"w": 300, "h": 250}]
    29            }
    30          }
    31        }
    32      ]
    33    },
    34  
    35    "httpCalls": [
    36      {
    37        "expectedRequest": {
    38          "uri": "http://ib.adnxs.com/openrtb2?member_id=103",
    39          "body": {
    40            "id": "test-request-id",
    41            "ext": {
    42              "appnexus": {
    43                "hb_source": 5
    44              }
    45            },
    46            "imp": [
    47              {
    48                "id":"test-imp-id",
    49                "banner": {
    50                  "format": [
    51                    {"w":300,"h":250},
    52                    {"w":300,"h":600}
    53                  ],
    54                  "w": 300,
    55                  "h": 250,
    56                  "pos": 3
    57                },
    58                "tagid": "abc",
    59                "bidfloor": 20,
    60                "ext": {
    61                  "appnexus": {
    62                    "keywords": "abc=bas",
    63                    "traffic_source_code": "trafficSource",
    64                    "use_pmt_rule": true,
    65                    "private_sizes": [{"w": 300, "h": 250}]
    66                  }
    67                }
    68              }
    69            ]
    70          },
    71          "impIDs":["test-imp-id"]
    72        },
    73        "mockResponse": {
    74          "status": 200,
    75          "body": {
    76            "id": "test-request-id",
    77            "seatbid": [
    78              {
    79                "seat": "958",
    80                "bid": [{
    81                  "id": "7706636740145184841",
    82                  "impid": "test-imp-id",
    83                  "price": 0.500000,
    84                  "adid": "29681110",
    85                  "adm": "some-test-ad",
    86                  "adomain": ["appnexus.com"],
    87                  "iurl": "http://nym1-ib.adnxs.com/cr?id=29681110",
    88                  "cid": "958",
    89                  "crid": "29681110",
    90                  "h": 250,
    91                  "w": 300,
    92                  "ext": {
    93                    "appnexus": {
    94                      "brand_id": 1,
    95                      "brand_category_id": 1,
    96                      "auction_id": 8189378542222915032,
    97                      "bid_ad_type": 0,
    98                      "bidder_id": 2,
    99                      "ranking_price": 0.000000,
   100                      "deal_priority": 5
   101                    }
   102                  }
   103                }]
   104              }
   105            ],
   106            "bidid": "5778926625248726496",
   107            "cur": "USD"
   108          }
   109        }
   110      }
   111    ],
   112    "expectedBidResponses": [
   113      {
   114        "currency": "USD",
   115        "bids": [
   116          {
   117            "bid": {
   118              "id": "7706636740145184841",
   119              "impid": "test-imp-id",
   120              "price": 0.5,
   121              "adm": "some-test-ad",
   122              "adid": "29681110",
   123              "adomain": ["appnexus.com"],
   124              "iurl": "http://nym1-ib.adnxs.com/cr?id=29681110",
   125              "cid": "958",
   126              "crid": "29681110",
   127              "w": 300,
   128              "h": 250,
   129              "cat": ["IAB20-3"],
   130              "ext": {
   131                "appnexus": {
   132                  "brand_id": 1,
   133                  "brand_category_id": 1,
   134                  "auction_id": 8189378542222915032,
   135                  "bid_ad_type": 0,
   136                  "bidder_id": 2,
   137                  "ranking_price": 0.000000,
   138                  "deal_priority": 5
   139                }
   140              }
   141            },
   142            "type": "banner"
   143          }
   144        ]
   145      }
   146    ]
   147  }