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