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

GumGum adapter: push first indexed value in sizes array to bidResponses.height and width #4006

Merged
merged 2 commits into from
Aug 7, 2019

Conversation

WayneYang1
Copy link
Contributor

Type of change

  • Other

Description of change

This pull request will change GumGum's bid adapter to return the width and height of the first indexed value in the sizes array. This change will allow our adapter to dynamically populate the ad size of our bid response to match the request size that the publisher sends us.

For any changes that affect user-facing APIs or example code documented on http://prebid.org, please provide:

Other information

CC: @susyt

Copy link
Collaborator

@bretg bretg left a comment

Choose a reason for hiding this comment

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

This appears to be only looking at the long-deprecated bidRequest.sizes rather than bidRequest.mediatype[banner].sizes. Please confirm, and if so, please update the adapter to look in both places.

@bretg bretg self-assigned this Jul 22, 2019
@WayneYang1
Copy link
Contributor Author

@bretg please let me know if there is anything else to be adjusted here.

@bretg bretg changed the title push first indexed value in sizes array to bidResponses.height and width GumGum adapter: push first indexed value in sizes array to bidResponses.height and width Aug 7, 2019
@bretg bretg merged commit 131c56a into prebid:master Aug 7, 2019
sa1omon pushed a commit to gamoshi/Prebid.js that referenced this pull request Nov 28, 2019
…es.height and width (prebid#4006)

* changed resizing unit tests to return the first size dimensions in the sizes array

* added some changes
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.

3 participants