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

Richaudience Bid Adapter : add gvlid to alias #12330

Merged
merged 3 commits into from
Oct 19, 2024
Merged

Conversation

muuki88
Copy link
Collaborator

@muuki88 muuki88 commented Oct 15, 2024

Type of change

  • Bugfix

Description of change

Prebid.js doesn't use the spec.gvlid as a fallback for aliases. This change makes the rich audience adapter work out-of-the-box if the ra aliases is used.

Without this change a gvlMapping definition ( https://docs.prebid.org/dev-docs/modules/tcfControl.html#page-integration ) would be required.

Other information

Prebid.js doesn't use the `spec.gvlid` for aliases as it seems. In order to avoid `gvlMapping` definitions, the shorter alias also gets a gvlid
@muuki88
Copy link
Collaborator Author

muuki88 commented Oct 16, 2024

AssertionError: expected { code: 'ra', gvlid: 108 } to equal { code: 'ra', gvlid: 108 }

Ahhh :D

@muuki88
Copy link
Collaborator Author

muuki88 commented Oct 16, 2024

@ChrisHuie can you restart the test pipeline? it seems to have timed out

@ChrisHuie ChrisHuie changed the title add gvlid to alias Richaudience Bid Adapter : add gvlid to alias Oct 18, 2024
@ChrisHuie ChrisHuie self-assigned this Oct 18, 2024
@ChrisHuie ChrisHuie merged commit c84b201 into master Oct 19, 2024
5 of 6 checks passed
@ChrisHuie ChrisHuie deleted the muuki88-patch-1 branch October 19, 2024 11:19
pdamoc pushed a commit to missena-corp/Prebid.js that referenced this pull request Oct 22, 2024
* add gvlid to alias

Prebid.js doesn't use the `spec.gvlid` for aliases as it seems. In order to avoid `gvlMapping` definitions, the shorter alias also gets a gvlid

* Fix alias test

* Use deep equal
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.

2 participants