github.com/prebid/prebid-server/v2@v2.18.0/adapters/appnexus/appnexustest/supplemental/displaymanager-test.json (about)

     1  {
     2      "mockBidRequest": {
     3        "id": "test-request-id",
     4        "app": {
     5          "ext": {
     6              "prebid":{
     7                  "source": "prebid-mobile",
     8                  "version": "1.0.0"
     9              }
    10          }
    11        },
    12        "imp": [
    13          {
    14            "id": "test-imp-id",
    15            "banner": {
    16              "format": [
    17                {
    18                  "w": 300,
    19                  "h": 250
    20                },
    21                {
    22                  "w": 300,
    23                  "h": 600
    24                }
    25              ]
    26            },
    27            "ext": {
    28              "bidder": {
    29                "placement_id": 1
    30              }
    31            }
    32          }
    33        ]
    34      },
    35  
    36      "httpCalls": [
    37        {
    38          "expectedRequest": {
    39            "uri": "http://ib.adnxs.com/openrtb2",
    40            "body": {
    41              "id": "test-request-id",
    42              "app": {
    43                  "ext": {
    44                      "prebid":{
    45                          "source": "prebid-mobile",
    46                          "version": "1.0.0"
    47                      }
    48                  }
    49                },
    50                "ext": {
    51                  "appnexus": {
    52                    "hb_source": 5
    53                  }
    54                },
    55                "imp": [
    56                {
    57                  "id": "test-imp-id",
    58                  "banner": {
    59                    "format": [
    60                      {
    61                        "w": 300,
    62                        "h": 250
    63                      },
    64                      {
    65                        "w": 300,
    66                        "h": 600
    67                      }
    68                    ],
    69                    "w": 300,
    70                    "h": 250
    71                  },
    72                  "displaymanagerver": "prebid-mobile-1.0.0",
    73                  "ext": {
    74                    "appnexus": {
    75                      "placement_id": 1
    76                    }
    77                  }
    78                }
    79              ]
    80            },
    81            "impIDs":["test-imp-id"]
    82          },
    83          "mockResponse": {
    84            "status": 200,
    85            "body": {
    86              "id": "test-request-id",
    87              "seatbid": [
    88                {
    89                  "seat": "958",
    90                  "bid": [{
    91                    "id": "7706636740145184841",
    92                    "impid": "test-imp-id",
    93                    "price": 0.500000,
    94                    "adid": "29681110",
    95                    "adm": "some-test-ad",
    96                    "adomain": ["appnexus.com"],
    97                    "iurl": "http://nym1-ib.adnxs.com/cr?id=29681110",
    98                    "cid": "958",
    99                    "crid": "29681110",
   100                    "h": 250,
   101                    "w": 300,
   102                    "ext": {
   103                      "appnexus": {
   104                        "brand_id": 1,
   105                        "brand_category_id": 1,
   106                        "auction_id": 8189378542222915032,
   107                        "bid_ad_type": 0,
   108                        "bidder_id": 2,
   109                        "ranking_price": 0.000000,
   110                        "deal_priority": 5
   111                      }
   112                    }
   113                  }]
   114                }
   115              ],
   116              "bidid": "5778926625248726496",
   117              "cur": "USD"
   118            }
   119          }
   120        }
   121      ],
   122  
   123      "expectedBidResponses": [
   124        {
   125          "currency": "USD",
   126          "bids": [
   127            {
   128              "bid": {
   129                "id": "7706636740145184841",
   130                "impid": "test-imp-id",
   131                "price": 0.5,
   132                "adm": "some-test-ad",
   133                "adid": "29681110",
   134                "adomain": ["appnexus.com"],
   135                "iurl": "http://nym1-ib.adnxs.com/cr?id=29681110",
   136                "cid": "958",
   137                "crid": "29681110",
   138                "w": 300,
   139                "h": 250,
   140                "cat": ["IAB20-3"],
   141                "ext": {
   142                  "appnexus": {
   143                    "brand_id": 1,
   144                    "brand_category_id": 1,
   145                    "auction_id": 8189378542222915032,
   146                    "bid_ad_type": 0,
   147                    "bidder_id": 2,
   148                    "ranking_price": 0.000000,
   149                    "deal_priority": 5
   150                  }
   151                }
   152              },
   153              "type": "banner"
   154            }
   155          ]
   156        }
   157      ]
   158    }