Skip to content
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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

thede-ri
Copy link

Type of change

  • New User ID submodule

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:

pbjs.setConfig({
    userSync: {
        userIds: [{
            name: "rewardedInterestId"
        }]
    }
})

@ChrisHuie ChrisHuie self-requested a review October 22, 2024 13:16
@ChrisHuie ChrisHuie self-assigned this Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants