-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New User ID Submodule: Rewarded Interest #12340
New User ID Submodule: Rewarded Interest #12340
Conversation
why doesnt rewarded interst browser extension just inject into the eids object in place instead of relying on publisher moxule deployment? |
Hi Patrick, I guess injecting it into the configuration won't do as |
So in general the extension can indeed attempt to set the var pbjs = pbjs || {};
pbjs.que = pbjs.que || [];
pbjs.que.push(function () {
pbjs.mergeConfig({
ortb2: {
user: {
ext: {
eids: [
{
source: "rewardedinterest.com",
uids: [
{
id: "<IdentityToken>",
atype: 3
}
]
}
]
},
},
},
});
}); @patmmccann is this the way you meant by "inject in place"? A couple concerns:
Thus the module adds some additional reliability. |
yeah that's what i meant, you'll get a lot more uptake that way :) you are of course welcome to do both, but i think the injection path will be more successful
that's fairly easy to handle, you can just inject into all the prebid globals you find :)
I think this was solved in #12110 ; if not, we should open an issue. Cc @dgirardi |
Thank you, Patrick; that’s a great tip! We would still suggest merging the submodule to address two key points:
Re: #12110 - it looks like currently |
Type of change
Description of change
Rewarded Interest is an identity provider that enables users to monetize and manage the exposure of their identity to various ad sources through the Rewarded Interest browser extension.
The Rewarded Interest browser extension exposes an on-page API
window.__riApi.getIdentityToken()
. This submodule obtains the identity token, wraps it into eid and passes it to the callback provided by the User Id module. If__riApi
is not available - error will be logged (if debug is enabled) and no ID will be passed to the callback.Note: no storage is used as Identity Token is refreshed frequently.
Rewarded Interest partners (such as DSPs, SSPs, and publishers) can use the Rewarded Interest Identity Resolution API to resolve the Identity Token into a CMAID (Consumer Mediated Advertising Identity). The CMAID is a durable, cross-site, cross-device advertising identifier that remains consistent across visits and devices enrolled by a Rewarded Interest user, unless they choose to reset or pause it.
Config example: