You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update adgeneration doc add first party data (#5949)
* Supports im-uid
* update features
* Add FirstPartyData sample
* Prebid Server Adapter not support
* fix segment path
* Update FPD sample
* Add a single newline character
In release 1.6.4 and later, publishers should use the `ortb2` method of setting [First Party Data](https://docs.prebid.org/features/firstPartyData.html). The following fields are supported:
27
+
28
+
* ortb2.site.content.data[]
29
+
30
+
If `ad-generation.jp` is specified for ortb2.site.content.data[].name and `546` is specified for ortb2.site.content.data[].ext.segtax,
31
+
`ortb2.site.content.data[].segment[].name` and `ortb2.site.content.data[].segment[].value` can be any string value.
32
+
33
+
Example first party data that's available to all bidders and all adunits:
34
+
35
+
```javascript
36
+
pbjs.setConfig({
37
+
ortb2: {
38
+
site: {
39
+
content: {
40
+
data: [{
41
+
name:"ad-generation.jp",
42
+
ext: {
43
+
segtax:546
44
+
},
45
+
segment: [
46
+
{ name:"news_category", value:"Sports_Sumo" },// name and value must be string types
0 commit comments