github.com/prebid/prebid-server/v2@v2.18.0/firstpartydata/tests/extractfpdforbidders/global-fpd-defined-site.json (about)

     1  {
     2    "description": "req.site defined; req.ext.prebid.data.bidders contains appnexus and contains site configuration; expect bidder config with site data to be included in the resolved FPD for appnexus and to have been extracted from the original request",
     3    "inputRequestData": {
     4      "id": "bid_id",
     5      "site": {
     6        "id": "reqSiteId",
     7        "page": "http://www.foobar.com/1234.html",
     8        "publisher": {
     9          "id": "1"
    10        }
    11      },
    12      "test": 1,
    13      "ext": {
    14        "prebid": {
    15          "data": {
    16            "bidders": [
    17              "appnexus"
    18            ]
    19          },
    20          "bidderconfig": [
    21            {
    22              "bidders": [
    23                "appnexus"
    24              ],
    25              "config": {
    26                "ortb2": {
    27                  "site": {
    28                    "id": "apnSiteId",
    29                    "keywords": "apnKeywords",
    30                    "sectioncat": ["books"],
    31                    "search": "books",
    32                    "pagecat": ["magazines"],
    33                    "page": "http://www.foobar.com/testurl.html"
    34                  }
    35                }
    36              }
    37            }
    38          ]
    39        }
    40      }
    41    },
    42    "outputRequestData": {
    43      "id": "bid_id",
    44      "site": {
    45        "id": "reqSiteId",
    46        "page": "http://www.foobar.com/1234.html",
    47        "publisher": {
    48          "id": "1"
    49        }
    50      },
    51      "test": 1
    52    },
    53    "biddersFPDResolved": {
    54      "appnexus": {
    55        "site": {
    56          "id": "apnSiteId",
    57          "keywords": "apnKeywords",
    58          "sectioncat": ["books"],
    59          "pagecat": ["magazines"],
    60          "search": "books",
    61          "page": "http://www.foobar.com/testurl.html",
    62          "publisher": {
    63            "id": "1"
    64          }
    65        }
    66      }
    67    },
    68    "validationErrors": []
    69  }