github.com/prebid/prebid-server@v0.275.0/adapters/yieldlab/yieldlabtest/exemplary/video_app.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "test-request-id",
     4      "imp": [
     5        {
     6          "id": "test-imp-id",
     7          "ext": {
     8            "bidder": {
     9              "adslotId": "12345",
    10              "supplyId": "123456789",
    11              "targeting": {
    12                "key1": "value1",
    13                "key2": "value2"
    14              },
    15              "extId": "abc"
    16            }
    17          },
    18          "video": {
    19            "context": "instream",
    20            "mimes": [
    21              "video/mp4"
    22            ],
    23            "playerSize": [
    24              [
    25                400,
    26                600
    27              ]
    28            ],
    29            "minduration": 1,
    30            "maxduration": 2,
    31            "protocols": [
    32              1,
    33              2
    34            ],
    35            "w": 1,
    36            "h": 2,
    37            "startdelay": 1,
    38            "placement": 1,
    39            "playbackmethod": [
    40              2
    41            ]
    42          }
    43        }
    44      ],
    45      "user": {
    46        "buyeruid": "34a53e82-0dc3-4815-8b7e-b725ede0361c"
    47      },
    48      "app": {
    49        "publisher": {
    50          "id": "123456789"
    51        },
    52        "cat": [],
    53        "bundle": "com.app.awesome",
    54        "name": "Awesome App",
    55        "domain": "awesomeapp.com",
    56        "id": "123456789"
    57      },
    58      "device": {
    59        "ifa": "hello-ads",
    60        "devicetype": 4,
    61        "connectiontype": 6,
    62        "geo": {
    63          "lat": 51.499488,
    64          "lon": -0.128953
    65        },
    66        "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",
    67        "ip": "169.254.13.37",
    68        "h": 1098,
    69        "w": 814
    70      }
    71    },
    72    "httpCalls": [
    73      {
    74        "expectedRequest": {
    75          "headers": {
    76            "Accept": [
    77              "application/json"
    78            ],
    79            "Cookie": [
    80              "id=34a53e82-0dc3-4815-8b7e-b725ede0361c"
    81            ],
    82            "User-Agent": [
    83              "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"
    84            ],
    85            "X-Forwarded-For": [
    86              "169.254.13.37"
    87            ]
    88          },
    89          "uri": "https://ad.yieldlab.net/testing/12345?content=json&ids=ylid%3A34a53e82-0dc3-4815-8b7e-b725ede0361c&lat=51.499488&lon=-0.128953&pubappname=Awesome+App&pubbundlename=com.app.awesome&pvid=true&t=key1%3Dvalue1%26key2%3Dvalue2&ts=testing&yl_rtb_connectiontype=6&yl_rtb_devicetype=4&yl_rtb_ifa=hello-ads"
    90        },
    91        "mockResponse": {
    92          "status": 200,
    93          "body": [
    94            {
    95              "id": 12345,
    96              "price": 201,
    97              "advertiser": "yieldlab",
    98              "adsize": "728x90",
    99              "pid": 1234,
   100              "did": 5678,
   101              "pvid": "40cb3251-1e1e-4cfd-8edc-7d32dc1a21e5"
   102            }
   103          ]
   104        }
   105      }
   106    ],
   107    "expectedBidResponses": [
   108      {
   109        "currency": "EUR",
   110        "bids": [
   111          {
   112            "bid": {
   113              "crid": "12345123433",
   114              "dealid": "1234",
   115              "id": "12345",
   116              "impid": "test-imp-id",
   117              "nurl": "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",
   118              "adm": "<VAST version=\"2.0\"><Ad id=\"12345\"><Wrapper><AdSystem>Yieldlab</AdSystem><VASTAdTagURI><![CDATA[ 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 ]]></VASTAdTagURI><Impression></Impression><Creatives></Creatives></Wrapper></Ad></VAST>",
   119              "price": 2.01,
   120              "w": 728,
   121              "h": 90
   122            },
   123            "type": "video"
   124          }
   125        ]
   126      }
   127    ]
   128  }