github.com/prebid/prebid-server@v0.275.0/adapters/pulsepoint/pulsepointtest/exemplary/native.json (about)

     1  {
     2      "mockBidRequest": {
     3          "id": "some-request-id",
     4          "site": {
     5              "page": "http://publisher.com/index.html",
     6              "publisher": {
     7                  "id": "123456789",
     8                  "name": "publisher.com"
     9              }
    10          },
    11          "imp": [{
    12              "id": "native-1",
    13              "native": {
    14                  "ver": "1.0",
    15                  "request": "{\"layout\":501,\"adunit\":501,\"assets\":[{\"id\":1,\"required\":1,\"title\":{\"len\":26}},{\"id\":2,\"required\":0,\"data\":{\"type\":2,\"len\":90}}]}"
    16              },
    17              "ext": {
    18                  "bidder": {
    19                      "cp": 1234,
    20                      "ct": 2001
    21                  }
    22              }
    23          }]
    24      },
    25      "httpCalls": [{
    26          "expectedRequest": {
    27              "headers": {
    28                  "Content-Type": [
    29                      "application/json;charset=utf-8"
    30                  ],
    31                  "Accept": [
    32                      "application/json"
    33                  ]
    34              },
    35              "uri": "http://bidder.pulsepoint.com",
    36              "body": {
    37                  "id": "some-request-id",
    38                  "site": {
    39                      "page": "http://publisher.com/index.html",
    40                      "publisher": {
    41                          "id": "1234",
    42                          "name": "publisher.com"
    43                      }
    44                  },
    45                  "imp": [{
    46                      "id": "native-1",
    47                      "tagid": "2001",
    48                      "native": {
    49                          "ver": "1.0",
    50                          "request": "{\"layout\":501,\"adunit\":501,\"assets\":[{\"id\":1,\"required\":1,\"title\":{\"len\":26}},{\"id\":2,\"required\":0,\"data\":{\"type\":2,\"len\":90}}]}"
    51                      },
    52                      "ext": {
    53                          "bidder": {
    54                              "cp": 1234,
    55                              "ct": 2001
    56                          }
    57                      }
    58                  }]
    59              }
    60          },
    61          "mockResponse": {
    62              "status": 200,
    63              "body": {
    64                  "id": "response-id",
    65                  "seatbid": [{
    66                      "bid": [{
    67                          "id": "native-1-bid",
    68                          "impid": "native-1",
    69                          "price": 3.5,
    70                          "adm": "{\"native\":{\"assets\":[{\"id\":1,\"title\":{\"text\":\"Adv:\"}},{\"data\":{\"type\":2,\"value\":\"Teeth Whitening\"},\"id\":2}],\"imptrackers\":[\"https://tracker.pulsepoint.com//\"],\"link\":{\"url\":\"http://click.pulsepoint.com/\"},\"ver\":\"1.0\"}}",
    71                          "adomain": [
    72                              "advertiser.com"
    73                          ],
    74                          "crid": "20"
    75                      }],
    76                      "seat": "pulsepoint-seat"
    77                  }],
    78                  "cur": "USD"
    79              }
    80          }
    81      }],
    82      "expectedBidResponses": [{
    83          "bids": [{
    84              "bid": {
    85                  "id": "native-1-bid",
    86                  "impid": "native-1",
    87                  "price": 3.5,
    88                  "adm": "{\"native\":{\"assets\":[{\"id\":1,\"title\":{\"text\":\"Adv:\"}},{\"data\":{\"type\":2,\"value\":\"Teeth Whitening\"},\"id\":2}],\"imptrackers\":[\"https://tracker.pulsepoint.com//\"],\"link\":{\"url\":\"http://click.pulsepoint.com/\"},\"ver\":\"1.0\"}}",
    89                  "adomain": [
    90                      "advertiser.com"
    91                  ],
    92                  "crid": "20"
    93              },
    94              "type": "native"
    95          }]
    96      }]
    97  }