github.com/prebid/prebid-server/v2@v2.18.0/adapters/rubicon/rubicontest/exemplary/simple-video.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      "app": {
     9        "id": "1",
    10        "bundle": "com.wls.testwlsapplication"
    11      },
    12      "site": {
    13        "pagecat": [
    14          "val1",
    15          "val2"
    16        ],
    17        "content": {
    18          "data": [
    19            {
    20              "ext": {
    21                "segtax": 1
    22              },
    23              "segment": [
    24                {
    25                  "id": "segmentId1"
    26                },
    27                {
    28                  "id": "segmentId2"
    29                }
    30              ]
    31            },
    32            {
    33              "ext": {
    34                "segtax": "1"
    35              },
    36              "segment": [
    37                {
    38                  "id": "shouldNotBeCopied"
    39                }
    40              ]
    41            },
    42            {
    43              "ext": {
    44                "segtax": 2
    45              },
    46              "segment": [
    47                {
    48                  "id": "segmentId3"
    49                }
    50              ]
    51            }
    52          ]
    53        }
    54      },
    55      "user": {
    56        "yob": 2000,
    57        "geo": {
    58          "country": "USA",
    59          "lat": 47.627500,
    60          "lon": -122.346200
    61        },
    62        "gender": "f",
    63        "data": [
    64          {
    65            "ext": {
    66              "segtax": 4
    67            },
    68            "segment": [
    69              {
    70                "id": "idToCopy"
    71              }
    72            ]
    73          },
    74          {
    75            "ext": {
    76              "segtax": "someValue"
    77            },
    78            "segment": [
    79              {
    80                "id": "shouldNotBeCopied"
    81              }
    82            ]
    83          },
    84          {
    85            "ext": {
    86              "segtax": "4"
    87            },
    88            "segment": [
    89              {
    90                "id": "shouldNotBeCopied2"
    91              }
    92            ]
    93          },
    94          {
    95            "ext": {
    96              "segtax": 4
    97            },
    98            "segment": [
    99              {
   100                "id": "idToCopy2"
   101              }
   102            ]
   103          },
   104          {
   105            "ext": {
   106              "segtax": [
   107                4
   108              ]
   109            },
   110            "segment": [
   111              {
   112                "id": "shouldNotBeCopied3"
   113              }
   114            ]
   115          }
   116        ]
   117      },
   118      "imp": [
   119        {
   120          "id": "test-imp-id",
   121          "instl": 1,
   122          "video": {
   123            "placement": 3,
   124            "mimes": [
   125              "video/mp4"
   126            ],
   127            "protocols": [
   128              2,
   129              5
   130            ],
   131            "w": 1024,
   132            "h": 576
   133          },
   134          "ext": {
   135            "data": {
   136              "pbadslot": "pbadslot"
   137            },
   138            "bidder": {
   139              "video": {
   140              },
   141              "accountId": 1001,
   142              "siteId": 113932,
   143              "zoneId": 535510
   144            }
   145          }
   146        }
   147      ]
   148    },
   149    "httpCalls": [
   150      {
   151        "expectedRequest": {
   152          "uri": "uri?tk_xint=pbs-test-tracker",
   153          "body": {
   154            "id": "test-request-id",
   155            "device": {
   156              "ext": {
   157                "rp": {
   158                  "pixelratio": 0
   159                }
   160              },
   161              "ip": "123.123.123.123",
   162              "ifa": "zxcjbzxmc-zxcbmz-zxbcz-zxczx"
   163            },
   164            "site": {
   165              "pagecat": [
   166                "val1",
   167                "val2"
   168              ],
   169              "content": {
   170                "data": [
   171                  {
   172                    "ext": {
   173                      "segtax": 1
   174                    },
   175                    "segment": [
   176                      {
   177                        "id": "segmentId1"
   178                      },
   179                      {
   180                        "id": "segmentId2"
   181                      }
   182                    ]
   183                  },
   184                  {
   185                    "ext": {
   186                      "segtax": "1"
   187                    },
   188                    "segment": [
   189                      {
   190                        "id": "shouldNotBeCopied"
   191                      }
   192                    ]
   193                  },
   194                  {
   195                    "ext": {
   196                      "segtax": 2
   197                    },
   198                    "segment": [
   199                      {
   200                        "id": "segmentId3"
   201                      }
   202                    ]
   203                  }
   204                ]
   205              },
   206              "ext": {
   207                "rp": {
   208                  "site_id": 113932,
   209                  "target": {
   210                    "iab": [
   211                      "segmentId1",
   212                      "segmentId2",
   213                      "segmentId3"
   214                    ]
   215                  }
   216                }
   217              },
   218              "publisher": {
   219                "ext": {
   220                  "rp": {
   221                    "account_id": 1001
   222                  }
   223                }
   224              }
   225            },
   226            "user": {
   227              "data": [
   228                {
   229                  "ext": {
   230                    "segtax": 4
   231                  },
   232                  "segment": [
   233                    {
   234                      "id": "idToCopy"
   235                    }
   236                  ]
   237                },
   238                {
   239                  "ext": {
   240                    "segtax": "someValue"
   241                  },
   242                  "segment": [
   243                    {
   244                      "id": "shouldNotBeCopied"
   245                    }
   246                  ]
   247                },
   248                {
   249                  "ext": {
   250                    "segtax": "4"
   251                  },
   252                  "segment": [
   253                    {
   254                      "id": "shouldNotBeCopied2"
   255                    }
   256                  ]
   257                },
   258                {
   259                  "ext": {
   260                    "segtax": 4
   261                  },
   262                  "segment": [
   263                    {
   264                      "id": "idToCopy2"
   265                    }
   266                  ]
   267                },
   268                {
   269                  "ext": {
   270                    "segtax": [
   271                      4
   272                    ]
   273                  },
   274                  "segment": [
   275                    {
   276                      "id": "shouldNotBeCopied3"
   277                    }
   278                  ]
   279                }
   280              ],
   281              "ext": {
   282                "rp": {
   283                  "target": {
   284                    "iab": [
   285                      "idToCopy",
   286                      "idToCopy2"
   287                    ]
   288                  }
   289                }
   290              }
   291            },
   292            "app": {
   293              "id": "1",
   294              "bundle": "com.wls.testwlsapplication"
   295            },
   296            "imp": [
   297              {
   298                "id": "test-imp-id",
   299                "instl": 1,
   300                "secure": 1,
   301                "video": {
   302                  "placement": 3,
   303                  "ext": {
   304                    "rp": {
   305                      "size_id": 203
   306                    }
   307                  },
   308                  "mimes": [
   309                    "video/mp4"
   310                  ],
   311                  "protocols": [
   312                    2,
   313                    5
   314                  ],
   315                  "w": 1024,
   316                  "h": 576
   317                },
   318                "ext": {
   319                  "rp": {
   320                    "target": {
   321                      "pbadslot": "pbadslot",
   322                      "pagecat": [
   323                        "val1",
   324                        "val2"
   325                      ]
   326                    },
   327                    "track": {
   328                      "mint": "",
   329                      "mint_version": ""
   330                    },
   331                    "zone_id": 535510
   332                  }
   333                }
   334              }
   335            ]
   336          },
   337          "impIDs":["test-imp-id"]
   338        },
   339        "mockResponse": {
   340          "status": 200,
   341          "body": {
   342            "id": "test-request-id",
   343            "seatbid": [
   344              {
   345                "buyer": "123",
   346                "bid": [
   347                  {
   348                    "id": "test_bid_id",
   349                    "impid": "test-imp-id",
   350                    "price": 0.27543,
   351                    "adm": "some-test-ad",
   352                    "cid": "test_cid",
   353                    "crid": "test_crid",
   354                    "dealid": "test_dealid",
   355                    "ext": {
   356                      "prebid": {
   357                        "meta": {
   358                          "networkId": 123
   359                        },
   360                        "type": "video"
   361                      }
   362                    }
   363                  }
   364                ],
   365                "seat": "adman"
   366              }
   367            ],
   368            "cur": "USD"
   369          }
   370        }
   371      }
   372    ],
   373    "expectedBidResponses": [
   374      {
   375        "currency": "USD",
   376        "bids": [
   377          {
   378            "bid": {
   379              "id": "test_bid_id",
   380              "impid": "test-imp-id",
   381              "price": 0.27543,
   382              "adm": "some-test-ad",
   383              "cid": "test_cid",
   384              "crid": "test_crid",
   385              "dealid": "test_dealid",
   386              "ext": {
   387                "prebid": {
   388                  "meta": {
   389                    "networkId": 123
   390                  },
   391                  "type": "video"
   392                }
   393              }
   394            },
   395            "type": "video"
   396          }
   397        ]
   398      }
   399    ]
   400  }