github.com/prebid/prebid-server/v2@v2.18.0/adapters/grid/gridtest/exemplary/with-user-keywords.json (about)

     1  {
     2      "mockBidRequest": {
     3          "id": "test-request-id",
     4          "site": {
     5              "page": "https://good.site/url"
     6          },
     7          "user": {
     8              "keywords": "userKey1,userKey2,userKey3"
     9          },
    10          "imp": [{
    11              "id": "test-imp-id",
    12              "banner": {
    13                  "format": [{
    14                      "w": 300,
    15                      "h": 250
    16                  }]
    17              },
    18              "ext": {
    19                  "bidder": {
    20                      "uid": 1
    21                  }
    22              }
    23          }]
    24      },
    25  
    26      "httpCalls": [{
    27          "expectedRequest": {
    28              "uri": "http://localhost/prebid",
    29              "body": {
    30                  "ext": {
    31                      "keywords": {
    32                          "user": {
    33                              "ortb2": [
    34                                  {
    35                                      "name": "keywords",
    36                                      "segments": [
    37                                          { "name": "keywords", "value": "userKey1" },
    38                                          { "name": "keywords", "value": "userKey2" },
    39                                          { "name": "keywords", "value": "userKey3" }
    40                                      ]
    41                                  }
    42                              ]
    43                          }
    44                      }
    45                  },
    46                  "id": "test-request-id",
    47                  "site": {
    48                      "page": "https://good.site/url"
    49                  },
    50                  "user": {
    51                      "keywords": "userKey1,userKey2,userKey3"
    52                  },
    53                  "imp": [{
    54                      "id": "test-imp-id",
    55                      "banner": {
    56                          "format": [{
    57                              "w": 300,
    58                              "h": 250
    59                          }]
    60                      },
    61                      "ext": {
    62                          "bidder": {
    63                              "uid": 1
    64                          }
    65                      }
    66                  }]
    67              },
    68              "impIDs":["test-imp-id"]
    69          },
    70          "mockResponse": {
    71              "status": 200,
    72              "body": {
    73                  "id": "test-request-id",
    74                  "seatbid": [{
    75                      "seat": "grid",
    76                      "bid": [{
    77                          "id": "randomid",
    78                          "impid": "test-imp-id",
    79                          "price": 0.500000,
    80                          "adid": "12345678",
    81                          "adm": "some-test-ad",
    82                          "cid": "987",
    83                          "crid": "12345678",
    84                          "h": 250,
    85                          "w": 300
    86                      }]
    87                  }],
    88                  "cur": "USD"
    89              }
    90          }
    91      }],
    92  
    93      "expectedBidResponses": [{
    94          "currency": "USD",
    95          "bids": [{
    96              "bid": {
    97                  "id": "randomid",
    98                  "impid": "test-imp-id",
    99                  "price": 0.5,
   100                  "adm": "some-test-ad",
   101                  "adid": "12345678",
   102                  "cid": "987",
   103                  "crid": "12345678",
   104                  "w": 300,
   105                  "h": 250
   106              },
   107              "type": "banner"
   108          }]
   109      }]
   110  }