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
-[SDK for JavaScript Client-Server Integration](#sdk-for-javascript-client-server-integration)
88
+
-[SDK for JavaScript Client-Side Integration](#sdk-for-javascript-client-side-integration)
89
+
85
90
### Server-Side Integration
86
91
87
92
So that it can share encrypted signals, the hosted auto-loaded secure signals script must be able to make an asynchronous call to the `window.getUid2AdvertisingToken` function and, in response, receive `advertising_token` as a string.
@@ -102,6 +107,16 @@ For details, see [Publisher Integration Guide, Server-Side](integration-publishe
102
107
103
108
A sample implementation is also available for server-side integration. See [Sample Implementations](#sample-implementations).
104
109
110
+
### SDK for JavaScript Client-Server Integration
111
+
112
+
If you're using the SDK for JavaScript version 3.0.0 or later, the UID2 secure signals script uses the `getAdvertisingTokenAsync` function provided in the SDK to get the fresh advertising token, and then pushes the token to Google Ad Manager.
113
+
114
+
This script is hosted on CDN, and GPT automatically loads it with the secure signals feature.
115
+
116
+
For details, see [Client-Server Integration Guide for JavaScript](integration-javascript-client-server.md).
117
+
118
+
A sample implementation is also available for integration using the SDK for JavaScript. See [Sample Implementations](#sample-implementations).
119
+
105
120
### SDK for JavaScript Client-Side Integration
106
121
107
122
If you're using the SDK for JavaScript version 3.0.0 or later, the UID2 secure signals script uses the `getAdvertisingTokenAsync` function provided in the SDK to get the fresh advertising token, and then pushes the token to Google Ad Manager.
@@ -110,19 +125,23 @@ This script is hosted on CDN, and GPT automatically loads it with the secure sig
110
125
111
126
For details, see [Client-Side Integration Guide for JavaScript](integration-javascript-client-side.md).
112
127
113
-
A sample implementation is also available for integration using the SDK for JavaScript. See [Sample Implementations](#sample-implementations).
128
+
<!--A sample implementation is also available for integration using the SDK for JavaScript. See [Sample Implementations](#sample-implementations). [sample integration to come Jan 2025-->
114
129
115
130
## Sample Implementations
116
131
117
132
The following sample implementations are available to illustrate how to integrate with the Google Ad Manager secure signals feature:
118
133
119
-
- Server-Side UID2 SDK Integration Example:
134
+
- Server-Side UID2 SDK Integration Example with Google Secure Signals:
0 commit comments