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