github.com/prebid/prebid-server/v2@v2.18.0/adapters/rubicon/rubicontest/exemplary/bidonmultiformat.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "test-request-id",
     4      "device": {
     5        "ip": "123.123.123.123",
     6        "ifa": "zxcjbzxmc-zxcbmz-zxbcz-zxczx"
     7      },
     8      "site": {
     9        "page": "somePage",
    10        "ref": "someRef",
    11        "search": "someSearch"
    12      },
    13      "imp": [
    14        {
    15          "id": "test-imp-id",
    16          "instl": 1,
    17          "banner": {
    18            "format": [
    19              {
    20                "w": 300,
    21                "h": 400
    22              }
    23            ]
    24          },
    25          "video": {
    26            "placement": 3,
    27            "mimes": [
    28              "video/mp4"
    29            ],
    30            "protocols": [
    31              2,
    32              5
    33            ],
    34            "w": 1024,
    35            "h": 576
    36          },
    37          "ext": {
    38            "bidder": {
    39              "bidonmultiformat": true,
    40              "accountId": 1001,
    41              "siteId": 113932,
    42              "zoneId": 535510
    43            }
    44          }
    45        }
    46      ]
    47    },
    48    "httpCalls": [
    49      {
    50        "expectedRequest": {
    51          "uri": "uri?tk_xint=pbs-test-tracker",
    52          "body": {
    53            "id": "test-request-id",
    54            "device": {
    55              "ext": {
    56                "rp": {
    57                  "pixelratio": 0
    58                }
    59              },
    60              "ip": "123.123.123.123",
    61              "ifa": "zxcjbzxmc-zxcbmz-zxbcz-zxczx"
    62            },
    63            "site": {
    64              "page": "somePage",
    65              "ref": "someRef",
    66              "search": "someSearch",
    67              "ext": {
    68                "rp": {
    69                  "site_id": 113932
    70                }
    71              },
    72              "publisher": {
    73                "ext": {
    74                  "rp": {
    75                    "account_id": 1001
    76                  }
    77                }
    78              }
    79            },
    80            "imp": [
    81              {
    82                "id": "test-imp-id",
    83                "instl": 1,
    84                "secure": 1,
    85                "banner": {
    86                  "format": [
    87                    {
    88                      "w": 300,
    89                      "h": 400
    90                    }
    91                  ],
    92                  "ext": {
    93                    "rp": {
    94                      "mime": "text/html"
    95                    }
    96                  }
    97                },
    98                "ext": {
    99                  "rp": {
   100                    "target": {
   101                      "page": [
   102                        "somePage"
   103                      ],
   104                      "ref": [
   105                        "someRef"
   106                      ],
   107                      "search": [
   108                        "someSearch"
   109                      ]
   110                    },
   111                    "track": {
   112                      "mint": "",
   113                      "mint_version": ""
   114                    },
   115                    "zone_id": 535510
   116                  }
   117                }
   118              }
   119            ]
   120          },
   121          "impIDs":["test-imp-id"]
   122        },
   123        "mockResponse": {
   124          "status": 200,
   125          "body": {
   126            "id": "test-request-id",
   127            "seatbid": [
   128              {
   129                "bid": [
   130                  {
   131                    "id": "test_bid_id",
   132                    "impid": "test-imp-id",
   133                    "price": 0.27543,
   134                    "adm": "some-test-ad",
   135                    "cid": "test_cid",
   136                    "crid": "test_crid",
   137                    "dealid": "test_dealid",
   138                    "ext": {
   139                      "prebid": {
   140                        "type": "banner"
   141                      }
   142                    }
   143                  }
   144                ],
   145                "seat": "adman"
   146              }
   147            ],
   148            "cur": "USD"
   149          }
   150        }
   151      },
   152      {
   153        "expectedRequest": {
   154          "uri": "uri?tk_xint=pbs-test-tracker",
   155          "body": {
   156            "id": "test-request-id",
   157            "device": {
   158              "ext": {
   159                "rp": {
   160                  "pixelratio": 0
   161                }
   162              },
   163              "ip": "123.123.123.123",
   164              "ifa": "zxcjbzxmc-zxcbmz-zxbcz-zxczx"
   165            },
   166            "site": {
   167              "page": "somePage",
   168              "ref": "someRef",
   169              "search": "someSearch",
   170              "ext": {
   171                "rp": {
   172                  "site_id": 113932
   173                }
   174              },
   175              "publisher": {
   176                "ext": {
   177                  "rp": {
   178                    "account_id": 1001
   179                  }
   180                }
   181              }
   182            },
   183            "imp": [
   184              {
   185                "id": "test-imp-id",
   186                "instl": 1,
   187                "secure": 1,
   188                "video": {
   189                  "placement": 3,
   190                  "ext": {
   191                    "rp": {
   192                      "size_id": 203
   193                    }
   194                  },
   195                  "mimes": [
   196                    "video/mp4"
   197                  ],
   198                  "protocols": [
   199                    2,
   200                    5
   201                  ],
   202                  "w": 1024,
   203                  "h": 576
   204                },
   205                "ext": {
   206                  "rp": {
   207                    "target": {
   208                      "page": [
   209                        "somePage"
   210                      ],
   211                      "ref": [
   212                        "someRef"
   213                      ],
   214                      "search": [
   215                        "someSearch"
   216                      ]
   217                    },
   218                    "track": {
   219                      "mint": "",
   220                      "mint_version": ""
   221                    },
   222                    "zone_id": 535510
   223                  }
   224                }
   225              }
   226            ]
   227          },
   228          "impIDs":["test-imp-id"]
   229        },
   230        "mockResponse": {
   231          "status": 200,
   232          "body": {
   233            "id": "test-request-id",
   234            "seatbid": [
   235              {
   236                "bid": [
   237                  {
   238                    "id": "test_bid_id-2",
   239                    "impid": "test-imp-id",
   240                    "price": 0.9,
   241                    "adm": "some-test-ad",
   242                    "cid": "test_cid",
   243                    "crid": "test_crid",
   244                    "dealid": "test_dealid",
   245                    "ext": {
   246                      "prebid": {
   247                        "type": "video"
   248                      }
   249                    }
   250                  }
   251                ],
   252                "seat": "adman"
   253              }
   254            ],
   255            "cur": "USD"
   256          }
   257        }
   258      }
   259    ],
   260    "expectedBidResponses": [
   261      {
   262        "currency": "USD",
   263        "bids": [
   264          {
   265            "bid": {
   266              "id": "test_bid_id",
   267              "impid": "test-imp-id",
   268              "price": 0.27543,
   269              "adm": "some-test-ad",
   270              "cid": "test_cid",
   271              "crid": "test_crid",
   272              "dealid": "test_dealid",
   273              "ext": {
   274                "prebid": {
   275                  "type": "banner"
   276                }
   277              }
   278            },
   279            "type": "banner"
   280          }
   281        ]
   282      },
   283      {
   284        "currency": "USD",
   285        "bids": [
   286          {
   287            "bid": {
   288              "id": "test_bid_id-2",
   289              "impid": "test-imp-id",
   290              "price": 0.9,
   291              "adm": "some-test-ad",
   292              "cid": "test_cid",
   293              "crid": "test_crid",
   294              "dealid": "test_dealid",
   295              "ext": {
   296                "prebid": {
   297                  "type": "video"
   298                }
   299              }
   300            },
   301            "type": "video"
   302          }
   303        ]
   304      }
   305    ]
   306  }