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

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