Skip to content

Commit

Permalink
using fpd
Browse files Browse the repository at this point in the history
  • Loading branch information
Kajan Umakanthan committed May 18, 2021
1 parent c8bcad9 commit 3da8527
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions dev-docs/bidders/ix.md
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,31 @@ gulp build --modules=bidderModules.json

## Setting First Party Data (FPD)

As of Prebid.js 4.30, use the more generic ortb2 interface, which can be used for more than just First Party Data.

The First Party Data feature allows publishers to specify key/value data in one place where each compatible bid adapter can read it.

To supply global data, use the [`setConfig()`](/dev-docs/publisher-api-reference.html#module_pbjs.setConfig) function as illustrated below:

```
pbjs.setConfig({
ortb2: {
site: {
...
},
user: {
...
}
}
});
```

Use the [`setBidderConfig()`](/dev-docs/publisher-api-reference.html#module_pbjs.setBidderConfig) function to supply bidder-specific data.

For more information about the standard or more detailed examples, refer to [First Party Data Feature](/features/firstPartyData.html).

### Using versions prior to 4.30

FPD allows you to specify key-value pairs that are passed as part of the
query string to IX for use in Private Marketplace Deals which rely on query
string targeting for activation. For example, if a user is viewing a
Expand Down

0 comments on commit 3da8527

Please sign in to comment.