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

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