github.com/prebid/prebid-server/v2@v2.18.0/adapters/xeworks/xeworkstest/exemplary/native.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "id",
     4      "imp": [
     5        {
     6          "id": "id",
     7          "secure": 1,
     8          "bidfloor": 0.01,
     9          "bidfloorcur": "USD",
    10          "native": {
    11            "request": "{\"ver\":\"1.1\",\"layout\":1,\"adunit\":2,\"plcmtcnt\":6,\"plcmttype\":4,\"assets\":[{\"id\":1,\"required\":1,\"title\":{\"len\":75}},{\"id\":2,\"required\":1,\"img\":{\"wmin\":492,\"hmin\":328,\"type\":3,\"mimes\":[\"image/jpeg\",\"image/jpg\",\"image/png\"]}},{\"id\":4,\"required\":0,\"data\":{\"type\":6}},{\"id\":5,\"required\":0,\"data\":{\"type\":7}},{\"id\":6,\"required\":0,\"data\":{\"type\":1,\"len\":20}}]}",
    12            "ver": "1.1"
    13          },
    14          "ext": {
    15            "bidder": {
    16              "env": "xe-stage",
    17              "pid": "533faf0754cd43ceab591077781b909b"
    18            }
    19          }
    20        }
    21      ],
    22      "device": {
    23        "ua": "UA",
    24        "ip": "123.3.4.123"
    25      },
    26      "regs": {
    27        "ext": {
    28          "gdpr": 0
    29        }
    30      },
    31      "user": {
    32        "id": "userid"
    33      },
    34      "site": {
    35        "id": "id",
    36        "domain": "test,com",
    37        "cat": [
    38          "IAB12"
    39        ],
    40        "publisher": {
    41          "id": "pubid"
    42        }
    43      }
    44    },
    45    "httpCalls": [
    46      {
    47        "expectedRequest": {
    48          "uri": "http://prebid-srv.xe.works/?pid=533faf0754cd43ceab591077781b909b&host=xe-stage",
    49          "body": {
    50            "id": "id",
    51            "imp": [
    52              {
    53                "id": "id",
    54                "secure": 1,
    55                "bidfloor": 0.01,
    56                "bidfloorcur": "USD",
    57                "native": {
    58                  "request": "{\"ver\":\"1.1\",\"layout\":1,\"adunit\":2,\"plcmtcnt\":6,\"plcmttype\":4,\"assets\":[{\"id\":1,\"required\":1,\"title\":{\"len\":75}},{\"id\":2,\"required\":1,\"img\":{\"wmin\":492,\"hmin\":328,\"type\":3,\"mimes\":[\"image/jpeg\",\"image/jpg\",\"image/png\"]}},{\"id\":4,\"required\":0,\"data\":{\"type\":6}},{\"id\":5,\"required\":0,\"data\":{\"type\":7}},{\"id\":6,\"required\":0,\"data\":{\"type\":1,\"len\":20}}]}",
    59                  "ver": "1.1"
    60                },
    61                "ext": {
    62                  "bidder": {
    63                    "env": "xe-stage",
    64                    "pid": "533faf0754cd43ceab591077781b909b"
    65                  }
    66                }
    67              }
    68            ],
    69            "device": {
    70              "ua": "UA",
    71              "ip": "123.3.4.123"
    72            },
    73            "regs": {
    74              "ext": {
    75                "gdpr": 0
    76              }
    77            },
    78            "user": {
    79              "id": "userid"
    80            },
    81            "site": {
    82              "id": "id",
    83              "domain": "test,com",
    84              "cat": [
    85                "IAB12"
    86              ],
    87              "publisher": {
    88                "id": "pubid"
    89              }
    90            }
    91          },
    92          "impIDs":["id"]
    93        },
    94        "mockResponse": {
    95          "status": 200,
    96          "body": {
    97            "id": "id",
    98            "bidid": "id",
    99            "seatbid": [
   100              {
   101                "bid": [
   102                  {
   103                    "id": "id",
   104                    "impid": "id",
   105                    "price": 0.1,
   106                    "nurl": "http://test.com/nurl",
   107                    "burl": "http://test.com/burl",
   108                    "adm": "{}",
   109                    "adomain": [
   110                      "test.com"
   111                    ],
   112                    "cat": [
   113                      "IAB1"
   114                    ],
   115                    "cid": "cid",
   116                    "crid": "crid",
   117                    "ext": {
   118                      "prebid": {
   119                        "type": "native"
   120                      }
   121                    }
   122                  }
   123                ],
   124                "seat": "seat"
   125              }
   126            ],
   127            "cur": "USD"
   128          }
   129        }
   130      }
   131    ],
   132    "expectedBidResponses": [
   133      {
   134        "currency": "USD",
   135        "bids": [
   136          {
   137            "bid": {
   138              "id": "id",
   139              "impid": "id",
   140              "price": 0.1,
   141              "nurl": "http://test.com/nurl",
   142              "burl": "http://test.com/burl",
   143              "adm": "{}",
   144              "adomain": [
   145                "test.com"
   146              ],
   147              "cat": [
   148                "IAB1"
   149              ],
   150              "cid": "cid",
   151              "crid": "crid",
   152              "ext": {
   153                "prebid": {
   154                  "type": "native"
   155                }
   156              }
   157            },
   158            "type": "native"
   159          }
   160        ]
   161      }
   162    ]
   163  }