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