Skip to content

Commit a2b121d

Browse files
committed
Ogury: update prebid doc - allow inventory mapping for in-app.
1 parent 0e8f0c2 commit a2b121d

File tree

1 file changed

+20
-4
lines changed

1 file changed

+20
-4
lines changed

dev-docs/bidders/ogury.md

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,11 @@ Use this example configuration for enabling Ogury ad server integration on a spe
8282

8383
#### Inventory mapping
8484

85-
_"Inventory mapping" is only available for request coming from **web**. For **in-app** request use the "bid param" integration method._
86-
8785
_Note: If you choose inventory mapping, you can skip specifying assetKey and adUnitId per ad unit._
8886

89-
With inventory mapping you don't need to setup `assetKey/adUnitId` for every ad unit that you want to integrate. You use a single `id` and provide Ogury with list of sites and `ad_unit_code`s that you want to integrate and the mapping will be done on our side.
87+
With inventory mapping you don't need to setup `assetKey/adUnitId` for every ad unit that you want to integrate. You use a single `id` and provide Ogury with list of sites or bundles and `ad_unit_code`s that you want to integrate and the mapping will be done on our side.
9088
The example configuration for this type of integration looks like this:
91-
89+
* web:
9290
```javascript
9391
pbjs.que.push(function () {
9492
// setup publisherId for ogury
@@ -105,6 +103,24 @@ pbjs.que.push(function () {
105103
}
106104
})
107105
})
106+
````
107+
* in-app:
108+
```javascript
109+
pbjs.que.push(function () {
110+
// setup publisherId for ogury
111+
pbjs.setBidderConfig({
112+
bidders: ['ogury'],
113+
config: {
114+
ortb2: {
115+
app: {
116+
publisher: {
117+
id: '$OGURY_PUBLISHER_ID',
118+
},
119+
}
120+
}
121+
}
122+
})
123+
})
108124
````
109125
110126
`$OGURY_PUBLISHER_ID` is a Ogury provided id.

0 commit comments

Comments
 (0)