From e3651b544e76d1ceedafbb48a2ca2a98f0aade83 Mon Sep 17 00:00:00 2001 From: optidigital-prebid <124287395+optidigital-prebid@users.noreply.github.com> Date: Sun, 17 Sep 2023 07:27:49 +0200 Subject: [PATCH] OptidigitalBidAdapter: Adding userId module, updating User Sync information (#4858) * update optidigital documentation * update optidigital documentation --------- Co-authored-by: Dawid W --- dev-docs/bidders/optidigital.md | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/dev-docs/bidders/optidigital.md b/dev-docs/bidders/optidigital.md index 04cd6d60ce..9a0959dd33 100644 --- a/dev-docs/bidders/optidigital.md +++ b/dev-docs/bidders/optidigital.md @@ -12,6 +12,7 @@ schain_supported: true ortb_blocking_supported: true safeframes_ok: true media_types: banner +userIds: all gvl_id: 915 sidebarType: 1 --- @@ -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: { @@ -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.