github.com/prebid/prebid-server/v2@v2.18.0/adapters/oms/omstest/exemplary/simple-banner-cookie-uid.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "test-request-id",
     4      "site": {
     5        "id": "site-id",
     6        "page": "oms.com"
     7      },
     8      "device": {
     9        "os": "android",
    10        "ip": "91.199.242.236",
    11        "ua": "random user agent"
    12      },
    13      "user": {
    14        "buyeruid": "oms-user-id"
    15      },
    16      "imp": [
    17        {
    18          "id": "test-imp-id",
    19          "banner": {
    20            "format": [
    21              {
    22                "w": 300,
    23                "h": 250
    24              }
    25            ]
    26          },
    27          "ext": {
    28            "bidder": {
    29              "pid": "12345"
    30            }
    31          }
    32        }
    33      ]
    34    },
    35    "httpCalls": [
    36      {
    37        "expectedRequest": {
    38          "uri": "http://rt.marphezis.com/pbs",
    39          "headers": {},
    40          "body": {
    41            "id": "test-request-id",
    42            "site": {
    43              "id": "site-id",
    44              "page": "oms.com"
    45            },
    46            "device": {
    47              "os": "android",
    48              "ip": "91.199.242.236",
    49              "ua": "random user agent"
    50            },
    51            "user": {
    52              "buyeruid": "oms-user-id"
    53            },
    54            "imp": [
    55              {
    56                "id": "test-imp-id",
    57                "banner": {
    58                  "format": [
    59                    {
    60                      "w": 300,
    61                      "h": 250
    62                    }
    63                  ]
    64                },
    65                "ext": {
    66                  "bidder": {
    67                    "pid": "12345"
    68                  }
    69                }
    70              }
    71            ]
    72          },
    73          "impIDs":["test-imp-id"]
    74        },
    75        "mockResponse": {
    76          "status": 200,
    77          "body": {
    78            "id": "test-request-id",
    79            "currency": "USD",
    80            "seatbid": [
    81              {
    82                "bid": [
    83                  {
    84                    "id": "test-slot-id",
    85                    "impid": "test-imp-id",
    86                    "price": 0.1,
    87                    "crid": "creative-123",
    88                    "adm": "<iframe id='789abc' name='789abc' src='http://creative-url.oms.com'></iframe>",
    89                    "w": 300,
    90                    "h": 250,
    91                    "ext": {
    92                      "prebid": {
    93                        "type": "banner"
    94                      }
    95                    }
    96                  }
    97                ]
    98              }
    99            ]
   100          }
   101        }
   102      }
   103    ],
   104    "expectedBidResponses": [
   105      {
   106        "currency": "USD",
   107        "bids": [
   108          {
   109            "bid": {
   110              "id": "test-slot-id",
   111              "impid": "test-imp-id",
   112              "price": 0.1,
   113              "crid": "creative-123",
   114              "adm": "<iframe id='789abc' name='789abc' src='http://creative-url.oms.com'></iframe>",
   115              "w": 300,
   116              "h": 250,
   117              "ext": {
   118                "prebid": {
   119                  "type": "banner"
   120                }
   121              }
   122            },
   123            "type": "banner"
   124          }
   125        ]
   126      }
   127    ]
   128  }
   129