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

LunaMedia HB Bid Adapter: add video context & outstream handling #6458

Closed
wants to merge 17 commits into from

Conversation

lunamedia
Copy link
Contributor

Type of change

  • Feature

Description of change

Allow publishers to set context:outstream for video demand to get vastXml response.

@ChrisHuie ChrisHuie changed the title Add video context:outstream handling LunaMediaHB: add video context & outstream handling Mar 24, 2021
@ChrisHuie ChrisHuie changed the title LunaMediaHB: add video context & outstream handling LunaMedia Bid Adapter: add video context & outstream handling Mar 24, 2021
@ChrisHuie ChrisHuie requested a review from mmoschovas March 24, 2021 09:03
@patmmccann
Copy link
Collaborator

Please see also #6466

placement.hPlayer = mediaType[VIDEO].playerSize[1];
} else if (mediaType && mediaType[VIDEO]) {
if (mediaType[VIDEO].playerSize) {
placement.wPlayer = mediaType[VIDEO].playerSize[0];
Copy link
Contributor

Choose a reason for hiding this comment

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

Prebid nests the playerSize array that is defined in the ad unit, meaning that [640, 480] is converted to [[640,480]]. So currently, you will only be passing an array through placement.wPlayer and placement.hPlayer is undefined and therefore dropped. I believe you are trying to pass the individual number values of the playerSize through their respective properties, so you will need to look into the second array in order to do so.

placement.wPlayer = mediaType[VIDEO].playerSize[0][0];
placement.hPlayer = mediaType[VIDEO].playerSize[0][1];

@ChrisHuie
Copy link
Collaborator

@lunamedia following up on the above reviewer comment for this pr and also issue #6466

Let me know if I can help on this pr.

@lunamedia
Copy link
Contributor Author

lunamedia commented Apr 15, 2021 via email

@patmmccann patmmccann changed the title LunaMedia Bid Adapter: add video context & outstream handling LunaMedia HB Bid Adapter: add video context & outstream handling Jun 4, 2021
@patmmccann
Copy link
Collaborator

please note that the old lunamedia adapter is in violation of #6512 and won't be ported to prebid 5 currently. Is this lunamedia hb your new adapter and the old one is deprecated?

@lunamedia
Copy link
Contributor Author

lunamedia commented Jun 4, 2021 via email

@patmmccann
Copy link
Collaborator

Please also fix #6650 for luna hb on this PR.

Advise your clients to transition to Luna HB on or before their upgrade to Prebid 5. Your adapter won't stop working unless your clients upgrade to Prebid 5

@ChrisHuie
Copy link
Collaborator

@lunamedia This pr has been outstanding for a while. Is this still being worked on? We are cleaning out old prs so if I don't hear back on this by Thanksgiving will close and you can reopen when needed.

@lunamedia
Copy link
Contributor Author

lunamedia commented Nov 16, 2021 via email

@ChrisHuie ChrisHuie closed this Nov 30, 2021
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