Skip to content

Commit

Permalink
update optidigital documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
dawidww committed Sep 11, 2023
1 parent 5923a5f commit 62da7a6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions dev-docs/bidders/optidigital.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,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 @@ -64,7 +64,8 @@ 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: {
    filterSettings: {
Expand All @@ -76,4 +77,5 @@ pbjs.setConfig({
  }
});
```

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 62da7a6

Please sign in to comment.