github.com/prebid/prebid-server@v0.275.0/adapters/appnexus/appnexustest/supplemental/request-ext-appnexus-existing.json (about)

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