github.com/prebid/prebid-server/v2@v2.18.0/firstpartydata/tests/extractfpdforbidders/two-bidders-global-and-non-global-user.json (about)

     1  {
     2    "description": "req.site and req.user is present; req.ext.prebid.data.bidders has appnexus bidder only; req.ext.prebid.bidderconfig is defined for two bidders; expect to see only appnexus in bidders FPD and contain site and user data",
     3    "inputRequestData": {
     4      "id": "bid_id",
     5      "site": {
     6        "id": "reqSiteId",
     7        "page": "http://www.foobar.com/1234.html",
     8        "name": "reqSiteName",
     9        "cat": [
    10          "electronics",
    11          "phone"
    12        ],
    13        "publisher": {
    14          "id": "1"
    15        },
    16        "content": {
    17          "len": 900,
    18          "title": "reqContentTitle",
    19          "season": "reqContentSeason",
    20          "data": [
    21            {
    22              "id": "reqContentDataId1",
    23              "name": "reqContentDataName1"
    24            },
    25            {
    26              "id": "reqContentDataId2",
    27              "name": "reqContentDataName2"
    28            }
    29          ]
    30        }
    31      },
    32      "user": {
    33        "id": "reqUserId"
    34      },
    35      "test": 1,
    36      "ext": {
    37        "prebid": {
    38          "data": {
    39            "bidders": [
    40              "appnexus"
    41            ]
    42          },
    43          "bidderconfig": [
    44            {
    45              "bidders": [
    46                "appnexus"
    47              ],
    48              "config": {
    49                "ortb2": {
    50                  "site": {
    51                    "id": "apnFpdSiteId",
    52                    "page": "http://www.foobar.com/4321.html",
    53                    "name": "apnFpdSiteIdSiteName",
    54                    "cat": [
    55                      "books",
    56                      "news"
    57                    ],
    58                    "publisher": {
    59                      "id": "1"
    60                    },
    61                    "content": {
    62                      "len": 900,
    63                      "title": "apnFpdSiteIdContentTitle",
    64                      "season": "apnFpdSiteIdContentSeason",
    65                      "data": [
    66                        {
    67                          "id": "apnFpdSiteIdContentDataId1",
    68                          "name": "apnFpdSiteIdContentDataName1"
    69                        },
    70                        {
    71                          "id": "apnFpdSiteIdContentDataId2",
    72                          "name": "apnFpdSiteIdContentDataName2"
    73                        }
    74                      ]
    75                    }
    76                  },
    77                  "user": {
    78                    "id": "apnUserId",
    79                    "gender": "F",
    80                    "yob": 2000,
    81                    "keywords": "apnFpdUserKeyword",
    82                    "data": [
    83                      {
    84                        "id": "apnFpdUserContentDataId1",
    85                        "name": "apnFpdUserContentDataName1"
    86                      },
    87                      {
    88                        "id": "apnFpdUserContentDataId2",
    89                        "name": "apnFpdUserContentDataName2"
    90                      }
    91                    ]
    92                  }
    93                }
    94              }
    95            },
    96            {
    97              "bidders": [
    98                "telaria"
    99              ],
   100              "config": {
   101                "ortb2": {
   102                  "user": {
   103                    "id": "telariaFpdUserId",
   104                    "gender": "M",
   105                    "yob": 2001,
   106                    "keywords": "telariaFpdUserKeyword",
   107                    "data": [
   108                      {
   109                        "id": "telariaFpdUserContentDataId1",
   110                        "name": "telariaFpdUserContentDataName1"
   111                      },
   112                      {
   113                        "id": "telariaFpdUserContentDataId2",
   114                        "name": "telariaFpdUserContentDataName2"
   115                      }
   116                    ]
   117                  }
   118                }
   119              }
   120            }
   121          ]
   122        }
   123      }
   124    },
   125    "outputRequestData": {
   126      "id": "bid_id",
   127      "site": {
   128        "id": "reqSiteId",
   129        "page": "http://www.foobar.com/1234.html",
   130        "name": "reqSiteName",
   131        "cat": [
   132          "electronics",
   133          "phone"
   134        ],
   135        "publisher": {
   136          "id": "1"
   137        },
   138        "content": {
   139          "len": 900,
   140          "title": "reqContentTitle",
   141          "season": "reqContentSeason"
   142        }
   143      },
   144      "test": 1
   145    },
   146    "biddersFPDResolved": {
   147      "appnexus": {
   148        "site": {
   149          "id": "apnFpdSiteId",
   150          "page": "http://www.foobar.com/4321.html",
   151          "name": "apnFpdSiteIdSiteName",
   152          "cat": [
   153            "books",
   154            "news"
   155          ],
   156          "publisher": {
   157            "id": "1"
   158          },
   159          "content": {
   160            "len": 900,
   161            "season": "apnFpdSiteIdContentSeason",
   162            "title": "apnFpdSiteIdContentTitle",
   163            "data": [
   164              {
   165                "id": "apnFpdSiteIdContentDataId1",
   166                "name": "apnFpdSiteIdContentDataName1"
   167              },
   168              {
   169                "id": "apnFpdSiteIdContentDataId2",
   170                "name": "apnFpdSiteIdContentDataName2"
   171              }
   172            ]
   173          }
   174        },
   175        "user": {
   176          "id": "apnUserId",
   177          "gender": "F",
   178          "yob": 2000,
   179          "keywords": "apnFpdUserKeyword",
   180          "data": [
   181            {
   182              "id": "apnFpdUserContentDataId1",
   183              "name": "apnFpdUserContentDataName1"
   184            },
   185            {
   186              "id": "apnFpdUserContentDataId2",
   187              "name": "apnFpdUserContentDataName2"
   188            }
   189          ]
   190        }
   191      }
   192    },
   193    "validationErrors": []
   194  }