Client-Server EUID SDK Integration Example with Prebid.js
This example demonstrates how a content publisher can integrate with EUID and Prebid.js using the EUID Client-Server Integration Guide for Prebid.js, where tokens are generated on the server and passed to Prebid.js on the client side.
EUID Integration Status
|
Ready for Targeted Advertising:
?
Indicates whether a valid EUID token is present and can be used for personalized ad targeting.
|
|
|
Advertising Token:
?
The encrypted EUID token that is passed to ad systems without exposing raw user identity. It is automatically refreshed by Prebid's EUID module in the background when expired.
|
|
|
Is Login Required?
?
Indicates whether a new EUID token needs to be generated. Returns "yes" when no valid identity exists or the current identity has expired.
|
Prebid Integration Status
Prebid.js is configured to store and refresh tokens generated by the server.
|
Prebid Token Storage:
?
The EUID token stored by Prebid in localStorage under the key '__euid_advertising_token'. Prebid uses this for token persistence and automatic refresh.
|