Skip to content

Craft Bid Adapter : generate virtual uid #12955

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

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

Conversation

crumbjp
Copy link
Contributor

@crumbjp crumbjp commented Apr 3, 2025

Type of change

  • Bugfix

  • Feature

  • New bidder adapter

  • Updated bidder adapter

  • Code style update (formatting, local variables)

  • Refactoring (no functional changes, no api changes)

  • Build related changes

  • CI related changes

  • Does this change affect user-facing APIs or examples documented on http://prebid.org?

  • Other

Description of change

  • contact email of the adapter’s maintainer
  • test parameters for validating bids:

Be sure to test the integration with your adserver using the Hello World sample page. -->

Other information

tag.uid = JSON.parse(storage.getDataFromLocalStorage(field));
if (!tag.uid) {
tag.uid = {value: {id: generateUUID()}};
storage.setDataInLocalStorage(field, JSON.stringify(tag.uid));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

declare ion your docs pr exactly which key you are setting and what its purpose is, eg in a format similar to https://business.safety.google/adscookies/

@ChrisHuie ChrisHuie changed the title craftBidder Generate virtual uid Craft Bid Adapter : generate virtual uid Apr 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants