github.com/prebid/prebid-server@v0.275.0/adapters/appnexus/appnexustest/exemplary/string-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": "foo=bar,foo=baz,valueless",
    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": "foo=bar,foo=baz,valueless",
    63                    "traffic_source_code": "trafficSource",
    64                    "use_pmt_rule": true,
    65                    "private_sizes": [{"w": 300, "h": 250}]
    66                  }
    67                }
    68              }
    69            ]
    70          }
    71        },
    72        "mockResponse": {
    73          "status": 200,
    74          "body": {
    75            "id": "test-request-id",
    76            "seatbid": [
    77              {
    78                "seat": "958",
    79                "bid": [{
    80                  "id": "7706636740145184841",
    81                  "impid": "test-imp-id",
    82                  "price": 0.500000,
    83                  "adid": "29681110",
    84                  "adm": "some-test-ad",
    85                  "adomain": ["appnexus.com"],
    86                  "iurl": "http://nym1-ib.adnxs.com/cr?id=29681110",
    87                  "cid": "958",
    88                  "crid": "29681110",
    89                  "h": 250,
    90                  "w": 300,
    91                  "ext": {
    92                    "appnexus": {
    93                      "brand_id": 1,
    94                      "brand_category_id": 1,
    95                      "auction_id": 8189378542222915032,
    96                      "bid_ad_type": 0,
    97                      "bidder_id": 2,
    98                      "ranking_price": 0.000000,
    99                      "deal_priority": 5
   100                    }
   101                  }
   102                }]
   103              }
   104            ],
   105            "bidid": "5778926625248726496",
   106            "cur": "USD"
   107          }
   108        }
   109      }
   110    ],
   111    "expectedBidResponses": [
   112      {
   113        "currency": "USD",
   114        "bids": [
   115          {
   116            "bid": {
   117              "id": "7706636740145184841",
   118              "impid": "test-imp-id",
   119              "price": 0.5,
   120              "adm": "some-test-ad",
   121              "adid": "29681110",
   122              "adomain": ["appnexus.com"],
   123              "iurl": "http://nym1-ib.adnxs.com/cr?id=29681110",
   124              "cid": "958",
   125              "crid": "29681110",
   126              "w": 300,
   127              "h": 250,
   128              "cat": ["IAB20-3"],
   129              "ext": {
   130                "appnexus": {
   131                  "brand_id": 1,
   132                  "brand_category_id": 1,
   133                  "auction_id": 8189378542222915032,
   134                  "bid_ad_type": 0,
   135                  "bidder_id": 2,
   136                  "ranking_price": 0.000000,
   137                  "deal_priority": 5
   138                }
   139              }
   140            },
   141            "type": "banner"
   142          }
   143        ]
   144      }
   145    ]
   146  }