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

     1  {
     2    "mockBidRequest": {
     3      "id": "26f14780-8ef8-4f41-b70c-c4d062237df6",
     4      "source": {
     5        "tid": "26f14780-8ef8-4f41-b70c-c4d062237df6",
     6        "ext": {
     7          "schain": {
     8            "ver": "1.0",
     9            "complete": 1,
    10            "nodes": [
    11              { "asi": "example.com", "hp": 1, "sid": "1234abc" }
    12            ]
    13          }
    14        }
    15      },
    16      "tmax": 1000,
    17      "imp": [
    18        {
    19          "id": "native",
    20          "ext": { "improvedigital": { "placementId": 1234 } },
    21          "native": {
    22            "request": "{\"context\":1,\"plcmttype\":1,\"eventtrackers\":[{\"event\":1,\"methods\":[1]}],\"assets\":[{\"required\":1,\"title\":{\"len\":80}},{\"required\":1,\"data\":{\"type\":2}},{\"required\":0,\"data\":{\"type\":12}},{\"required\":0,\"img\":{\"type\":3,\"wmin\":300,\"hmin\":225,\"ext\":{\"aspectratios\":[\"4:3\"]}}},{\"required\":0,\"img\":{\"type\":1,\"w\":128,\"h\":128}},{\"required\":0,\"data\":{\"type\":3}},{\"required\":0,\"data\":{\"type\":6}}]}",
    23            "ver": "1.2"
    24          }
    25        }
    26      ],
    27      "ext": {
    28        "prebid": {
    29          "targeting": {
    30            "includewinners": true,
    31            "includebidderkeys": false
    32          }
    33        }
    34      },
    35      "site": {
    36        "publisher": { "id": "pubid" },
    37        "page": "example.com"
    38      },
    39      "device": { "w": 1581, "h": 922, "ip": "1.1.1.1" },
    40      "regs": { "ext": { "gdpr": 0 } },
    41      "user": {
    42        "ext": {
    43          "consent": "XYZ"
    44        }
    45      }
    46    },
    47    "httpcalls": [
    48      {
    49        "expectedRequest": {
    50          "uri": "http://localhost/pbs",
    51          "body": {
    52            "id": "26f14780-8ef8-4f41-b70c-c4d062237df6",
    53            "imp": [
    54              {
    55                "id": "native",
    56                "native": {
    57                  "request": "{\"context\":1,\"plcmttype\":1,\"eventtrackers\":[{\"event\":1,\"methods\":[1]}],\"assets\":[{\"required\":1,\"title\":{\"len\":80}},{\"required\":1,\"data\":{\"type\":2}},{\"required\":0,\"data\":{\"type\":12}},{\"required\":0,\"img\":{\"type\":3,\"wmin\":300,\"hmin\":225,\"ext\":{\"aspectratios\":[\"4:3\"]}}},{\"required\":0,\"img\":{\"type\":1,\"w\":128,\"h\":128}},{\"required\":0,\"data\":{\"type\":3}},{\"required\":0,\"data\":{\"type\":6}}]}",
    58                  "ver": "1.2"
    59                },
    60                "ext": { "improvedigital": { "placementId": 1234 } }
    61              }
    62            ],
    63            "site": {
    64              "page": "example.com",
    65              "publisher": { "id": "pubid" }
    66            },
    67            "device": {
    68              "ip": "1.1.1.1",
    69              "h": 922,
    70              "w": 1581
    71            },
    72            "user": {
    73              "ext": {
    74                "consent": "XYZ"
    75              }
    76            },
    77            "tmax": 1000,
    78            "source": {
    79              "tid": "26f14780-8ef8-4f41-b70c-c4d062237df6",
    80              "ext": {
    81                "schain": {
    82                  "ver": "1.0",
    83                  "complete": 1,
    84                  "nodes": [
    85                    {
    86                      "asi": "example.com",
    87                      "hp": 1,
    88                      "sid": "1234abc"
    89                    }
    90                  ]
    91                }
    92              }
    93            },
    94            "regs": { "ext": { "gdpr": 0 } },
    95            "ext": {
    96              "prebid": {
    97                "targeting": {
    98                  "includewinners": true,
    99                  "includebidderkeys": false
   100                }
   101              }
   102            }
   103          }
   104        },
   105        "mockResponse": {
   106          "status": 200,
   107          "body": {
   108            "id": "26f14780-8ef8-4f41-b70c-c4d062237df6",
   109            "cur": "USD",
   110            "seatbid": [
   111              {
   112                "bid": [
   113                  {
   114                    "ext": {
   115                      "improvedigital": {
   116                        "brand_name": "AdvertiserABC",
   117                        "bidder_id": 301
   118                      }
   119                    },
   120                    "crid": "14065",
   121                    "id": "d4f04449-ba04-4d7c-bb34-dc0fc5240f59",
   122                    "price": 0.01,
   123                    "adm": "{\"assets\":[{\"title\":{\"text\":\"Luxury Mars Cruises\"},\"id\":1},{\"id\":2,\"data\":{\"type\":2,\"value\":\"Visit the planet in a luxury spaceship.\"}},{\"id\":3,\"data\":{\"type\":12,\"value\":\"Book today\"}},{\"id\":4,\"img\":{\"h\":250,\"type\":3,\"url\":\"http://hb.improvedigital.com/creatives/display/300x250.jpg\",\"w\":300}},{\"id\":6,\"data\":{\"type\":3,\"value\":\"3.8\"}},{\"id\":7,\"data\":{\"type\":6,\"value\":\"FREE\"}}],\"link\":{\"clicktrackers\":[\"http://localhost.localdomain/click/\"],\"url\":\"http://www.iponweb.com/careers/\"}}",
   124                    "adomain": ["example.com"],
   125                    "impid": "native",
   126                    "cid": "25076"
   127                  }
   128                ],
   129                "seat": "improvedigital"
   130              }
   131            ]
   132          }
   133        }
   134      }
   135    ],
   136    "expectedBidResponses": [
   137      {
   138        "currency": "USD",
   139        "bids": [
   140          {
   141            "bid": {
   142              "id": "d4f04449-ba04-4d7c-bb34-dc0fc5240f59",
   143              "impid": "native",
   144              "price": 0.01,
   145              "adm": "{\"assets\":[{\"title\":{\"text\":\"Luxury Mars Cruises\"},\"id\":1},{\"id\":2,\"data\":{\"type\":2,\"value\":\"Visit the planet in a luxury spaceship.\"}},{\"id\":3,\"data\":{\"type\":12,\"value\":\"Book today\"}},{\"id\":4,\"img\":{\"h\":250,\"type\":3,\"url\":\"http://hb.improvedigital.com/creatives/display/300x250.jpg\",\"w\":300}},{\"id\":6,\"data\":{\"type\":3,\"value\":\"3.8\"}},{\"id\":7,\"data\":{\"type\":6,\"value\":\"FREE\"}}],\"link\":{\"clicktrackers\":[\"http://localhost.localdomain/click/\"],\"url\":\"http://www.iponweb.com/careers/\"}}",
   146              "adomain": ["example.com"],
   147              "cid": "25076",
   148              "crid": "14065",
   149              "ext": {
   150                "improvedigital": {
   151                  "brand_name": "AdvertiserABC",
   152                  "bidder_id": 301
   153                }
   154              }
   155            },
   156            "type": "native"
   157          }
   158        ]
   159      }
   160    ]
   161  }