You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guides/integration-prebid-client-server.md
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,10 +36,6 @@ Information about how to integrate Prebid with UID2 is also in the following loc
36
36
- On the Prebid site, on the [Unified ID 2.0](https://docs.prebid.org/dev-docs/modules/userid-submodules/unified2.html) page for the Prebid User ID submodule.
37
37
- In the Prebid GitHub repository, on the [UID2 User ID Submodule](https://github.com/prebid/Prebid.js/blob/master/modules/uid2IdSystem.md) page.
38
38
39
-
<!-- ## Integration Example
40
-
41
-
GWH note 12/14/23 updated 2/7/25: we have a client-side example for Prebid.js but no client-server example. -->
42
-
43
39
## Integrating with Single Sign-On (SSO)
44
40
45
41
<SnptIntegratingWithSSO />
@@ -394,3 +390,11 @@ if you're using Prebid.js, and you're planning to pass UID2 tokens to Google usi
394
390
395
391
- In your Google Ad Manager account, make sure that encrypted signals are properly shared with third-party bidders: see [Allow Secure Signals Sharing](integration-google-ss.md#allow-secure-signals-sharing).
396
392
- Update your Prebid.js configuration: see [Optional: Enable Secure Signals in Prebid.js](integration-google-ss.md#optional-enable-secure-signals-in-prebidjs).
393
+
394
+
## Sample Implementation
395
+
396
+
The following sample implementation is available to illustrate how to integrate UID2 with Prebid.js using client-server integration:
397
+
398
+
- Client-server integration example using Prebid.js:
Copy file name to clipboardExpand all lines: docs/guides/integration-prebid-client-side.md
+19-13Lines changed: 19 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,13 +27,6 @@ This implementation requires Prebid.js version 8.21.0 or later. For version info
27
27
28
28
If you need to use an earlier version of Prebid.js, use the implementation solution presented in the [UID2 Client-Server Integration Guide for Prebid.js](integration-prebid-client-server.md) instead.
29
29
30
-
## Integration Example
31
-
32
-
An example of the UID2 Prebid.js client-side integration is available at the following links:
33
-
34
-
- Site: [Client-Side UID2 Integration with Prebid.js](https://prebid-client.samples.uidapi.com/)
@@ -243,16 +236,29 @@ Once you add UID2 to your configuration, Prebid does not provide functionality t
243
236
If you are managing the UID2 SDK separately, use `window.__uid2.disconnect()` which handles all logout functionality—clearing both memory and storage—without requiring a page refresh.
244
237
:::
245
238
246
-
### Deferred Client-Side Integration Example
247
-
248
-
An example of the deferred UID2 Prebid.js integration is available at the following links:
249
-
250
-
- Site: [Deferred UID2 Integration with Prebid.js](https://prebid-deferred.samples.uidapi.com/)
A sample implementation for deferred configuration is also available. For details, see [Sample Implementations](#sample-implementations).
252
240
253
241
## Optional: Prebid.js Integration with Google Secure Signals
254
242
255
243
if you're using Prebid.js, and you're planning to pass UID2 tokens to Google using Google Secure Signals, there are a couple of additional configuration steps:
256
244
257
245
- In your Google Ad Manager account, make sure that encrypted signals are properly shared with third-party bidders: see [Allow Secure Signals Sharing](integration-google-ss.md#allow-secure-signals-sharing).
258
246
- Update your Prebid.js configuration: see [Optional: Enable Secure Signals in Prebid.js](integration-google-ss.md#optional-enable-secure-signals-in-prebidjs).
247
+
248
+
A sample implementation for Prebid.js with Secure Signals is also available. For details, see [Sample Implementations](#sample-implementations).
249
+
250
+
## Sample Implementations
251
+
252
+
The following sample implementations are available to illustrate how to integrate UID2 with Prebid.js on the client side:
253
+
254
+
- Client-side integration example using Prebid.js:
0 commit comments