github.com/prebid/prebid-server@v0.275.0/adapters/sharethrough/sharethroughtest/supplemental/schain.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "web-video-schain",
     4      "tmax": 3000,
     5      "source": {
     6        "ext": {
     7          "schain": {
     8            "ver": "1.0",
     9            "complete": 1,
    10            "nodes": [
    11              {
    12                "asi": "indirectseller.com",
    13                "sid": "00001",
    14                "hp": 1
    15              }
    16            ]
    17          }
    18        }
    19      },
    20      "imp": [
    21        {
    22          "id": "video-imp-schain-id",
    23          "ext": {
    24            "data": {
    25              "pbadslot": "video1-schain"
    26            },
    27            "bidder": {
    28              "pkey": "pkey",
    29              "badv": ["ford.com"],
    30              "bcat": ["IAB-1", "IAB-2"]
    31            }
    32          },
    33          "video": {
    34            "w": 640,
    35            "h": 480,
    36            "mimes": ["video/mp4"],
    37            "placement": 1
    38          }
    39        }
    40      ],
    41      "test": 0,
    42      "site": {
    43        "publisher": {
    44          "id": "1"
    45        },
    46        "page": "https://some-site.com",
    47        "ref": "https://some-site.com"
    48      },
    49      "device": {
    50        "w": 1200,
    51        "h": 900
    52      }
    53    },
    54    "httpCalls": [
    55      {
    56        "expectedRequest": {
    57          "uri": "http://whatever.url",
    58          "headers": {
    59            "Content-Type": ["application/json;charset=utf-8"],
    60            "Accept": ["application/json"]
    61          },
    62          "body": {
    63            "id": "web-video-schain",
    64            "tmax": 3000,
    65            "imp": [
    66              {
    67                "id": "video-imp-schain-id",
    68                "tagid": "pkey",
    69                "ext": {
    70                  "data": {
    71                    "pbadslot": "video1-schain"
    72                  },
    73                  "bidder": {
    74                    "pkey": "pkey",
    75                    "badv": ["ford.com"],
    76                    "bcat": ["IAB-1", "IAB-2"]
    77                  }
    78                },
    79                "video": {
    80                  "w": 640,
    81                  "h": 480,
    82                  "mimes": ["video/mp4"],
    83                  "placement": 1
    84                }
    85              }
    86            ],
    87            "site": {
    88              "publisher": {
    89                "id": "1"
    90              },
    91              "page": "https://some-site.com",
    92              "ref": "https://some-site.com"
    93            },
    94            "device": {
    95              "w": 1200,
    96              "h": 900
    97            },
    98            "source": {
    99              "ext": {
   100                "schain": {
   101                  "ver": "1.0",
   102                  "complete": 1,
   103                  "nodes": [
   104                    {
   105                      "asi": "indirectseller.com",
   106                      "sid": "00001",
   107                      "hp": 1
   108                    }
   109                  ]
   110                },
   111                "version": "",
   112                "str": "10.0"
   113              }
   114            },
   115            "badv": ["ford.com"],
   116            "bcat": ["IAB-1", "IAB-2"]
   117          }
   118        },
   119        "mockResponse": {
   120          "status": 200,
   121          "body": {
   122            "id": "web-video-schain",
   123            "cur": "USD",
   124            "seatbid": [
   125              {
   126                "bid": [
   127                  {
   128                    "id": "web-video-schain",
   129                    "impid": "video-imp-schain-id",
   130                    "crid": "some-creative-id",
   131                    "adm": "<VAST>TAG</VAST>",
   132                    "price": 20,
   133                    "w": 640,
   134                    "h": 480,
   135                    "ext": {
   136                      "prebid": {
   137                        "type": "video"
   138                      }
   139                    }
   140                  }
   141                ]
   142              }
   143            ]
   144          }
   145        }
   146      }
   147    ],
   148    "expectedBidResponses": [
   149      {
   150        "currency": "USD",
   151        "bids": [
   152          {
   153            "bid": {
   154              "id": "web-video-schain",
   155              "impid": "video-imp-schain-id",
   156              "crid": "some-creative-id",
   157              "adm": "<VAST>TAG</VAST>",
   158              "price": 20,
   159              "w": 640,
   160              "h": 480,
   161              "ext": {
   162                "prebid": {
   163                  "type": "video"
   164                }
   165              }
   166            },
   167            "type": "video"
   168          }
   169        ]
   170      }
   171    ]
   172  }