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

     1  {
     2    "mockBidRequest": {
     3      "id": "test-request-id-multiple-bids",
     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        "ext": {
    15          "eids": [
    16            {
    17              "source": "oms.com",
    18              "uids": [
    19                {
    20                  "id": "oms-eid"
    21                }
    22              ]
    23            }
    24          ]
    25        }
    26      },
    27      "imp": [
    28        {
    29          "id": "test-imp-id",
    30          "banner": {
    31            "format": [
    32              {
    33                "w": 300,
    34                "h": 250
    35              }
    36            ]
    37          },
    38          "ext": {
    39            "bidder": {
    40              "pid": "12345"
    41            }
    42          }
    43        },
    44        {
    45          "id": "test-imp-id2",
    46          "banner": {
    47            "format": [
    48              {
    49                "w": 300,
    50                "h": 250
    51              }
    52            ]
    53          },
    54          "ext": {
    55            "bidder": {
    56              "pid": "12345"
    57            }
    58          }
    59        }
    60      ]
    61    },
    62    "httpCalls": [
    63      {
    64        "expectedRequest": {
    65          "uri": "http://rt.marphezis.com/pbs",
    66          "headers": {},
    67          "body": {
    68            "id": "test-request-id-multiple-bids",
    69            "site": {
    70              "id": "site-id",
    71              "page": "oms.com"
    72            },
    73            "device": {
    74              "os": "android",
    75              "ip": "91.199.242.236",
    76              "ua": "random user agent"
    77            },
    78            "user": {
    79              "ext": {
    80                "eids": [
    81                  {
    82                    "source": "oms.com",
    83                    "uids": [
    84                      {
    85                        "id": "oms-eid"
    86                      }
    87                    ]
    88                  }
    89                ]
    90              }
    91            },
    92            "imp": [
    93              {
    94                "id": "test-imp-id",
    95                "banner": {
    96                  "format": [
    97                    {
    98                      "w": 300,
    99                      "h": 250
   100                    }
   101                  ]
   102                },
   103                "ext": {
   104                  "bidder": {
   105                    "pid": "12345"
   106                  }
   107                }
   108              },
   109              {
   110                "id": "test-imp-id2",
   111                "banner": {
   112                  "format": [
   113                    {
   114                      "w": 300,
   115                      "h": 250
   116                    }
   117                  ]
   118                },
   119                "ext": {
   120                  "bidder": {
   121                    "pid": "12345"
   122                  }
   123                }
   124              }
   125            ]
   126          },
   127          "impIDs":["test-imp-id","test-imp-id2"]
   128        },
   129        "mockResponse": {
   130          "status": 200,
   131          "body": {
   132            "currency": "USD",
   133            "seatbid": [
   134              {
   135                "bid": [
   136                  {
   137                    "id": "test-slot-id",
   138                    "impid": "test-imp-id",
   139                    "price": 0.1,
   140                    "crid": "creative-123",
   141                    "adm": "<iframe id='789abc' name='789abc' src='http://creative-url.oms.com'></iframe>",
   142                    "w": 300,
   143                    "h": 250,
   144                    "ext": {
   145                      "prebid": {
   146                        "type": "banner"
   147                      }
   148                    }
   149                  }
   150                ]
   151              },
   152              {
   153                "bid": [
   154                  {
   155                    "id": "test-slot-id2",
   156                    "impid": "test-imp-id2",
   157                    "price": 0.5,
   158                    "crid": "creative-123",
   159                    "adm": "<iframe id='789abc' name='789abc' src='http://creative-url.oms.com'></iframe>",
   160                    "w": 300,
   161                    "h": 250,
   162                    "ext": {
   163                      "prebid": {
   164                        "type": "banner"
   165                      }
   166                    }
   167                  }
   168                ]
   169              }
   170            ]
   171          }
   172        }
   173      }
   174    ],
   175    "expectedBidResponses": [
   176      {
   177        "currency": "USD",
   178        "bids": [
   179          {
   180            "bid": {
   181              "id": "test-slot-id",
   182              "impid": "test-imp-id",
   183              "price": 0.1,
   184              "crid": "creative-123",
   185              "adm": "<iframe id='789abc' name='789abc' src='http://creative-url.oms.com'></iframe>",
   186              "w": 300,
   187              "h": 250,
   188              "ext": {
   189                "prebid": {
   190                  "type": "banner"
   191                }
   192              }
   193            },
   194            "type": "banner"
   195          },
   196          {
   197            "bid": {
   198              "id": "test-slot-id2",
   199              "impid": "test-imp-id2",
   200              "price": 0.5,
   201              "crid": "creative-123",
   202              "adm": "<iframe id='789abc' name='789abc' src='http://creative-url.oms.com'></iframe>",
   203              "w": 300,
   204              "h": 250,
   205              "ext": {
   206                "prebid": {
   207                  "type": "banner"
   208                }
   209              }
   210            },
   211            "type": "banner"
   212          }
   213        ]
   214      }
   215    ]
   216  }
   217