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: README.md
+27
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,7 @@ JavaScript SDK for integrating with an [Optable Data Connectivity Node (DCN)](ht
20
20
-[Targeting key values](#targeting-key-values)
21
21
-[Targeting key values from local cache](#targeting-key-values-from-local-cache)
22
22
-[Witnessing ad events](#witnessing-ad-events)
23
+
-[Passing Secure Signals to GAM](#gam-secure-signals)
23
24
-[Integrating Prebid](#integrating-prebid)
24
25
-[Seller Defined Audiences](#seller-defined-audiences)
25
26
-[Custom key values](#custom-key-values)
@@ -418,6 +419,32 @@ Note that you can call `installGPTEventListeners()` as many times as you like on
418
419
419
420
A working example of both targeting and event witnessing is available in the demo pages.
420
421
422
+
### GAM Secure Signals
423
+
424
+
The Optable Web SDK provides a method `installGPTSecureSignals` to pass user-defined signals to Google Ad Manager (GAM) [Secure Signals](https://support.google.com/admanager/answer/10488752). The method supports an array of objects, each representing a unique signal to pass to GAM, for example:
Please refer to the list of approved Secure Signal [providers](https://support.google.com/admanager/answer/14750072). Please refer to the provider's integration documentation for the exact provider name and value to pass as a signal.
445
+
446
+
You can verify the signal was correctly passed to GAM by searching for its value cached in `localStorage` under the key `_GESPSK-<provider_name>`.
447
+
421
448
## Integrating Prebid
422
449
423
450
The Optable Web SDK can fetch targeting data from a DCN and prepare an audience taxonomy object similar to the one described in [the prebid.js first party data documentation](https://docs.prebid.org/features/firstPartyData.html#segments-and-taxonomy). The `prebidORTB2FromCache()` function returns the object from the targeting data stored by `targeting()` API calls in `LocalStorage`.
0 commit comments