github.com/prebid/prebid-server/v2@v2.18.0/adapters/yieldlab/yieldlabtest/exemplary/schain_multiple_nodes.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "test-request-id",
     4      "imp": [
     5        {
     6          "id": "test-imp-id",
     7          "banner": {
     8            "format": [
     9              {
    10                "w": 728,
    11                "h": 90
    12              }
    13            ]
    14          },
    15          "ext": {
    16            "bidder": {
    17              "adslotId": "12345",
    18              "supplyId": "123456789",
    19              "targeting": {
    20                "key1": "value1",
    21                "key2": "value2"
    22              },
    23              "extId": "abc"
    24            }
    25          }
    26        }
    27      ],
    28      "source": {
    29        "ext": {
    30          "schain": {
    31            "ver": "1.0",
    32            "complete": 1,
    33            "nodes": [
    34              {
    35                "asi": "exchange1.com",
    36                "sid": "1234",
    37                "hp": 1,
    38                "ext": "text"
    39              },
    40              {
    41                "asi": "exchange2.com",
    42                "sid": "abcd",
    43                "hp": 1,
    44                "ext": 1
    45              }
    46            ]
    47          }
    48        }
    49      },
    50      "user": {
    51        "buyeruid": "34a53e82-0dc3-4815-8b7e-b725ede0361c"
    52      },
    53      "device": {
    54        "ifa": "hello-ads",
    55        "devicetype": 4,
    56        "connectiontype": 6,
    57        "geo": {
    58          "lat": 51.499488,
    59          "lon": -0.128953
    60        },
    61        "ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36",
    62        "ip": "169.254.13.37",
    63        "h": 1098,
    64        "w": 814
    65      },
    66      "site": {
    67        "id": "fake-site-id",
    68        "publisher": {
    69          "id": "1"
    70        },
    71        "page": "http://localhost:9090/gdpr.html"
    72      }
    73    },
    74    "httpCalls": [
    75      {
    76        "expectedRequest": {
    77          "headers": {
    78            "Accept": [
    79              "application/json"
    80            ],
    81            "Cookie": [
    82              "id=34a53e82-0dc3-4815-8b7e-b725ede0361c"
    83            ],
    84            "Referer": [
    85              "http://localhost:9090/gdpr.html"
    86            ],
    87            "User-Agent": [
    88              "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36"
    89            ],
    90            "X-Forwarded-For": [
    91              "169.254.13.37"
    92            ]
    93          },
    94          "uri": "https://ad.yieldlab.net/testing/12345?content=json&ids=ylid%3A34a53e82-0dc3-4815-8b7e-b725ede0361c&lat=51.499488&lon=-0.128953&pvid=true&schain=1.0%2C1%21exchange1.com%2C1234%2C1%2C%2C%2C%2C%2522text%2522%21exchange2.com%2Cabcd%2C1%2C%2C%2C%2C1&sizes=12345%3A728x90&t=key1%3Dvalue1%26key2%3Dvalue2&ts=testing&yl_rtb_connectiontype=6&yl_rtb_devicetype=4&yl_rtb_ifa=hello-ads",
    95          "impIDs":["test-imp-id"]
    96        },
    97        "mockResponse": {
    98          "status": 200,
    99          "body": [
   100            {
   101              "id": 12345,
   102              "price": 201,
   103              "advertiser": "yieldlab",
   104              "adsize": "728x90",
   105              "pid": 1234,
   106              "did": 5678,
   107              "pvid": "40cb3251-1e1e-4cfd-8edc-7d32dc1a21e5"
   108            }
   109          ]
   110        }
   111      }
   112    ],
   113    "expectedBidResponses": [
   114      {
   115        "currency": "EUR",
   116        "bids": [
   117          {
   118            "bid": {
   119              "adm": "<script src=\"https://ad.yieldlab.net/d/12345/123456789/728x90?id=abc&ids=ylid%3A34a53e82-0dc3-4815-8b7e-b725ede0361c&pvid=40cb3251-1e1e-4cfd-8edc-7d32dc1a21e5&ts=testing\"></script>",
   120              "crid": "12345123433",
   121              "dealid": "1234",
   122              "id": "12345",
   123              "impid": "test-imp-id",
   124              "price": 2.01,
   125              "w": 728,
   126              "h": 90
   127            },
   128            "type": "banner"
   129          }
   130        ]
   131      }
   132    ]
   133  }