github.com/prebid/prebid-server@v0.275.0/adapters/grid/gridtest/exemplary/with-site-keywords.json (about)

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