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

Adform adapter supports string type sizes #2692

Merged
merged 2 commits into from
Jun 8, 2018

Conversation

Pupis
Copy link
Contributor

@Pupis Pupis commented Jun 7, 2018

Type of change

  • Bugfix

Description of change

Google Tag Manager passes adUnit sizes in a string formats, for example (['300', '600']) . Our adapter used to check if bid is valid by sizes, and sizes must have been number type. This update enables to give sizes in string format.

@jsnellbaker jsnellbaker self-requested a review June 7, 2018 15:46
@jsnellbaker jsnellbaker self-assigned this Jun 7, 2018
@jsnellbaker
Copy link
Collaborator

@Pupis There are a few lint related errors that Travis detected. Can you please review/fix them?

@Pupis
Copy link
Contributor Author

Pupis commented Jun 7, 2018

Fixed lint errors

Copy link
Collaborator

@jsnellbaker jsnellbaker left a comment

Choose a reason for hiding this comment

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

Thanks for making the update; LGTM.

@jsnellbaker jsnellbaker merged commit 12c6805 into prebid:master Jun 8, 2018
dluxemburg pushed a commit to Genius/Prebid.js that referenced this pull request Jul 17, 2018
* Allow to compare strings too.

* Fixed lint errors
florevallatmrf pushed a commit to Marfeel/Prebid.js that referenced this pull request Sep 6, 2018
* Allow to compare strings too.

* Fixed lint errors
@braizhas braizhas deleted the size-validation-adform branch September 8, 2018 13:43
StefanWallin pushed a commit to mittmedia/Prebid.js that referenced this pull request Sep 28, 2018
* Allow to compare strings too.

* Fixed lint errors
ghost pushed a commit to devunrulymedia/Prebid.js that referenced this pull request Jan 30, 2019
* Allow to compare strings too.

* Fixed lint errors
AlessandroDG pushed a commit to simplaex/Prebid.js that referenced this pull request Mar 26, 2019
* Allow to compare strings too.

* Fixed lint errors
AlessandroDG pushed a commit to simplaex/Prebid.js that referenced this pull request Mar 26, 2019
* Allow to compare strings too.

* Fixed lint errors
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.

2 participants