Skip to content

Prebid Server: add support for adunit.ortb2Imp#8062

Closed
ChrisHuie wants to merge 14 commits intomasterfrom
CurrencyOverride
Closed

Prebid Server: add support for adunit.ortb2Imp#8062
ChrisHuie wants to merge 14 commits intomasterfrom
CurrencyOverride

Conversation

@ChrisHuie
Copy link
Collaborator

For issue #7831

@ChrisHuie ChrisHuie changed the title Preebid Server: add support for adunit.ortb2Imp Prebid Server: add support for adunit.ortb2Imp Feb 14, 2022

const imp = { id: impressionId, ext, secure: s2sConfig.secure };

const ortb2 = {...deepAccess(adUnit, 'ortb2Imp.ext.data')};
Copy link
Contributor

@bretg bretg Feb 24, 2022

Choose a reason for hiding this comment

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

We just need to copy all the contents of ortb2Imp into the imp.

The test case is:

AdUnit.ortb2Imp contains:

banner: {
   api: [7]
},
ext: {
   data: {
      pbadslot: "blah"
   }
}

then this whole block ends up going to PBS in the relevant imp[].

@ChrisHuie ChrisHuie requested a review from dgirardi March 9, 2022 13:28
@ChrisHuie ChrisHuie marked this pull request as ready for review March 9, 2022 13:28
@ChrisHuie ChrisHuie closed this Mar 9, 2022
@patmmccann
Copy link
Collaborator

Closed in favor of #8159

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.

4 participants

Comments