github.com/prebid/prebid-server@v0.275.0/adapters/smartyads/smartyadstest/exemplary/native-web.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "some-request-id",
     4      "device": {
     5        "ua": "test-user-agent",
     6        "ipv6": "2607:fb90:f27:4512:d800:cb23:a603:e245",
     7        "language": "en",
     8        "dnt": 0
     9      },
    10      "tmax": 1000,
    11      "user": {
    12        "buyeruid": "awesome-user"
    13      },
    14      "site": {
    15        "page": "test.com",
    16        "publisher": {
    17          "id": "123456789"
    18        }
    19      },
    20      "imp": [
    21        {
    22          "id": "some-impression-id",
    23          "tagid": "ogTAGID",
    24          "native": {
    25            "ver":"1.1",
    26            "request":"{\"adunit\":2,\"assets\":[{\"id\":3,\"img\":{\"h\":120,\"hmin\":0,\"type\":3,\"w\":180,\"wmin\":0},\"required\":1},{\"id\":0,\"required\":1,\"title\":{\"len\":25}},{\"data\":{\"len\":25,\"type\":1},\"id\":4,\"required\":1},{\"data\":{\"len\":140,\"type\":2},\"id\":6,\"required\":1}],\"context\":1,\"layout\":1,\"contextsubtype\":11,\"plcmtcnt\":1,\"plcmttype\":2,\"ver\":\"1.1\",\"ext\":{\"banner\":{\"w\":320,\"h\":50}}}"
    27          },
    28          "ext": {
    29            "bidder": {
    30              "host": "ep1",
    31              "sourceid": "partner",
    32              "accountid": "hash"
    33            }
    34          }
    35        }
    36      ]
    37    },
    38    "httpCalls": [
    39      {
    40        "expectedRequest": {
    41          "headers": {
    42            "Content-Type": [
    43              "application/json;charset=utf-8"
    44            ],
    45            "Accept": [
    46              "application/json"
    47            ],
    48            "X-Openrtb-Version": [
    49              "2.5"
    50            ],
    51            "User-Agent": [
    52              "test-user-agent"
    53            ],
    54            "X-Forwarded-For": [
    55              "2607:fb90:f27:4512:d800:cb23:a603:e245"
    56            ],
    57            "Accept-Language": [
    58              "en"
    59            ],
    60            "Dnt": [
    61              "0"
    62            ]
    63          },
    64          "uri": "http://ep1.example.com/bid?rtb_seat_id=partner&secret_key=hash",
    65          "body": {
    66            "id": "some-request-id",
    67            "device": {
    68              "ua": "test-user-agent",
    69              "ipv6": "2607:fb90:f27:4512:d800:cb23:a603:e245",
    70              "language": "en",
    71              "dnt": 0
    72            },
    73            "imp": [
    74              {
    75                "id": "some-impression-id",
    76                "tagid": "ogTAGID",
    77                "native": {
    78                  "ver":"1.1",
    79                  "request":"{\"adunit\":2,\"assets\":[{\"id\":3,\"img\":{\"h\":120,\"hmin\":0,\"type\":3,\"w\":180,\"wmin\":0},\"required\":1},{\"id\":0,\"required\":1,\"title\":{\"len\":25}},{\"data\":{\"len\":25,\"type\":1},\"id\":4,\"required\":1},{\"data\":{\"len\":140,\"type\":2},\"id\":6,\"required\":1}],\"context\":1,\"layout\":1,\"contextsubtype\":11,\"plcmtcnt\":1,\"plcmttype\":2,\"ver\":\"1.1\",\"ext\":{\"banner\":{\"w\":320,\"h\":50}}}"
    80                }
    81              }
    82            ],
    83            "site": {
    84              "page": "test.com",
    85              "publisher": {
    86                "id": "123456789"
    87              }
    88            },
    89            "user": {
    90              "buyeruid": "awesome-user"
    91            },
    92            "tmax": 1000
    93          }
    94        },
    95        "mockResponse": {
    96          "status": 200,
    97          "body": {
    98            "id": "awesome-resp-id",
    99            "seatbid": [
   100              {
   101                "bid": [
   102                  {
   103                    "id": "a3ae1b4e2fc24a4fb45540082e98e161",
   104                    "impid": "some-impression-id",
   105                    "price": 3.5,
   106                    "adm": "awesome-markup",
   107                    "adomain": [
   108                      "awesome.com"
   109                    ],
   110                    "crid": "20"
   111                  }
   112                ],
   113                "seat": "smartyads"
   114              }
   115            ],
   116            "cur": "USD",
   117            "ext": {
   118              "responsetimemillis": {
   119                "smartyads": 154
   120              },
   121              "tmaxrequest": 1000
   122            }
   123          }
   124        }
   125      }
   126    ],
   127    "expectedBidResponses": [
   128      {
   129        "bids":[
   130          {
   131            "bid":  {
   132              "id": "a3ae1b4e2fc24a4fb45540082e98e161",
   133              "impid": "some-impression-id",
   134              "price": 3.5,
   135              "adm": "awesome-markup",
   136              "crid": "20",
   137              "adomain": [
   138                "awesome.com"
   139              ]
   140            },
   141            "type": "native"
   142          }
   143        ]
   144      }
   145    ]
   146  }