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