github.com/prebid/prebid-server@v0.275.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          },
    82          "mockResponse": {
    83            "status": 200,
    84            "body": {
    85              "id": "test-request-id",
    86              "seatbid": [
    87                {
    88                  "seat": "958",
    89                  "bid": [{
    90                    "id": "7706636740145184841",
    91                    "impid": "test-imp-id",
    92                    "price": 0.500000,
    93                    "adid": "29681110",
    94                    "adm": "some-test-ad",
    95                    "adomain": ["appnexus.com"],
    96                    "iurl": "http://nym1-ib.adnxs.com/cr?id=29681110",
    97                    "cid": "958",
    98                    "crid": "29681110",
    99                    "h": 250,
   100                    "w": 300,
   101                    "ext": {
   102                      "appnexus": {
   103                        "brand_id": 1,
   104                        "brand_category_id": 1,
   105                        "auction_id": 8189378542222915032,
   106                        "bid_ad_type": 0,
   107                        "bidder_id": 2,
   108                        "ranking_price": 0.000000,
   109                        "deal_priority": 5
   110                      }
   111                    }
   112                  }]
   113                }
   114              ],
   115              "bidid": "5778926625248726496",
   116              "cur": "USD"
   117            }
   118          }
   119        }
   120      ],
   121  
   122      "expectedBidResponses": [
   123        {
   124          "currency": "USD",
   125          "bids": [
   126            {
   127              "bid": {
   128                "id": "7706636740145184841",
   129                "impid": "test-imp-id",
   130                "price": 0.5,
   131                "adm": "some-test-ad",
   132                "adid": "29681110",
   133                "adomain": ["appnexus.com"],
   134                "iurl": "http://nym1-ib.adnxs.com/cr?id=29681110",
   135                "cid": "958",
   136                "crid": "29681110",
   137                "w": 300,
   138                "h": 250,
   139                "cat": ["IAB20-3"],
   140                "ext": {
   141                  "appnexus": {
   142                    "brand_id": 1,
   143                    "brand_category_id": 1,
   144                    "auction_id": 8189378542222915032,
   145                    "bid_ad_type": 0,
   146                    "bidder_id": 2,
   147                    "ranking_price": 0.000000,
   148                    "deal_priority": 5
   149                  }
   150                }
   151              },
   152              "type": "banner"
   153            }
   154          ]
   155        }
   156      ]
   157    }