github.com/prebid/prebid-server/v2@v2.18.0/adapters/yieldlab/yieldlabtest/exemplary/schain.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!abcd",
    37                "hp": 1,
    38                "rid": "bid request&%1",
    39                "name": "publisher",
    40                "domain": "publisher.com",
    41                "ext": {
    42                  "freeFormData": 1,
    43                  "nested": {
    44                    "isTrue": true
    45                  }
    46                }
    47              }
    48            ]
    49          }
    50        }
    51      },
    52      "user": {
    53        "buyeruid": "34a53e82-0dc3-4815-8b7e-b725ede0361c"
    54      },
    55      "device": {
    56        "ifa": "hello-ads",
    57        "devicetype": 4,
    58        "connectiontype": 6,
    59        "geo": {
    60          "lat": 51.499488,
    61          "lon": -0.128953
    62        },
    63        "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",
    64        "ip": "169.254.13.37",
    65        "h": 1098,
    66        "w": 814
    67      },
    68      "site": {
    69        "id": "fake-site-id",
    70        "publisher": {
    71          "id": "1"
    72        },
    73        "page": "http://localhost:9090/gdpr.html"
    74      }
    75    },
    76    "httpCalls": [
    77      {
    78        "expectedRequest": {
    79          "headers": {
    80            "Accept": [
    81              "application/json"
    82            ],
    83            "Cookie": [
    84              "id=34a53e82-0dc3-4815-8b7e-b725ede0361c"
    85            ],
    86            "Referer": [
    87              "http://localhost:9090/gdpr.html"
    88            ],
    89            "User-Agent": [
    90              "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"
    91            ],
    92            "X-Forwarded-For": [
    93              "169.254.13.37"
    94            ]
    95          },
    96          "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%2521abcd%2C1%2Cbid%2Brequest%2526%25251%2Cpublisher%2Cpublisher.com%2C%257B%2522freeFormData%2522%253A1%252C%2522nested%2522%253A%257B%2522isTrue%2522%253Atrue%257D%257D&sizes=12345%3A728x90&t=key1%3Dvalue1%26key2%3Dvalue2&ts=testing&yl_rtb_connectiontype=6&yl_rtb_devicetype=4&yl_rtb_ifa=hello-ads",
    97          "impIDs":["test-imp-id"]
    98        },
    99        "mockResponse": {
   100          "status": 200,
   101          "body": [
   102            {
   103              "id": 12345,
   104              "price": 201,
   105              "advertiser": "yieldlab",
   106              "adsize": "728x90",
   107              "pid": 1234,
   108              "did": 5678,
   109              "pvid": "40cb3251-1e1e-4cfd-8edc-7d32dc1a21e5"
   110            }
   111          ]
   112        }
   113      }
   114    ],
   115    "expectedBidResponses": [
   116      {
   117        "currency": "EUR",
   118        "bids": [
   119          {
   120            "bid": {
   121              "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>",
   122              "crid": "12345123433",
   123              "dealid": "1234",
   124              "id": "12345",
   125              "impid": "test-imp-id",
   126              "price": 2.01,
   127              "w": 728,
   128              "h": 90
   129            },
   130            "type": "banner"
   131          }
   132        ]
   133      }
   134    ]
   135  }