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