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

nextMillennium Bid Adapter : added gpid support #12567

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

Conversation

JacobKlein26
Copy link
Contributor

Type of change

  • Feature

Description of change

Started passing gpid and pbadslot

banner: {w: 300, h: 250, format: [{w: 300, h: 250}, {w: 320, h: 250}]},
},
},

Copy link
Collaborator

Choose a reason for hiding this comment

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

linting error on this line

const gpid = bid?.ortb2Imp?.ext?.gpid;
const pbadslot = bid?.ortb2Imp?.ext?.data?.pbadslot;
if (gpid) imp.ext.gpid = gpid;
if (pbadslot) imp.ext.data = { pbadslot };
Copy link
Collaborator

Choose a reason for hiding this comment

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

i recommend if(pbadslot && pbadslot !===gpid) or something

Copy link
Contributor Author

Choose a reason for hiding this comment

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

If it's the same, why shouldn't we just pass both?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants