Skip to content

Commit

Permalink
OptidigitalBidAdapter: Adding userId module, updating User Sync infor…
Browse files Browse the repository at this point in the history
…mation (#4858)

* update optidigital documentation

* update optidigital documentation

---------

Co-authored-by: Dawid W <dawid@optidigital.fr>
  • Loading branch information
optidigital-prebid and dawidww authored Sep 17, 2023
1 parent d621186 commit e3651b5
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions dev-docs/bidders/optidigital.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ schain_supported: true
ortb_blocking_supported: true
safeframes_ok: true
media_types: banner
userIds: all
gvl_id: 915
sidebarType: 1
---
Expand All @@ -37,7 +38,7 @@ The following test parameters can be used to verify that the Optidigital adapter

### AdUnits configuration example

```
```js
var adUnits = [{
code: 'your-slot_1-div', // use exactly the same code as your slot div id.
mediaTypes: {
Expand All @@ -62,13 +63,19 @@ The following test parameters can be used to verify that the Optidigital adapter
```

### UserSync example
To optimize UserSync functionality and ensure optimal match rates and monetization with the Optidigital adapter, we strongly advise implementing the UserSync configuration through iFrame as provided below. Failure to do so may result in reduced match rates and monetization capabilities.

```
```js
pbjs.setConfig({
userSync: {
iframeEnabled: true,
syncEnabled: true,
syncDelay: 3000
}
  userSync: {
    filterSettings: {
      iframe: {
        bidders: '*', // '*' represents all bidders
        filter: 'include'
      }
    }
  }
});
```

Note: be aware that when using this configuration, you can combine it with other UserSync configurations as needed. Keep in mind that if you make multiple `setConfig()` calls, the last one for a specific attribute will take precedence and overwrite any previous configurations.

0 comments on commit e3651b5

Please sign in to comment.