Skip to content

Commit 8d58f27

Browse files
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
1 parent ffdcfd2 commit 8d58f27

File tree

1 file changed

+38
-2
lines changed

1 file changed

+38
-2
lines changed

dev-docs/bidders/adgeneration.md

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,13 @@
22
layout: bidder
33
title: Ad Generation
44
description: Prebid Ad Generation Bidder Adaptor
5+
schain_supported: true
56
pbjs: true
6-
pbs: true
7+
pbs: no
8+
pbs_app_supported: no
9+
fpd_supported: true
710
biddercode: adgeneration
8-
userIds: criteo, id5Id
11+
userIds: all
912
media_types: native
1013
sidebarType: 1
1114
---
@@ -17,3 +20,36 @@ sidebarType: 1
1720
| Name | Scope | Description | Example | Type |
1821
|------|----------|-------------|----------|----------|
1922
| `id` | required | adId | `'1234'` | `string` |
23+
24+
#### First Party Data
25+
26+
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
47+
{ name: "local_gourmet", value: "sushi" },
48+
{ name: "location", value: "tokyo" }
49+
]
50+
}]
51+
}
52+
},
53+
}
54+
});
55+
```

0 commit comments

Comments
 (0)