-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
ixBidAdapter.js: allow siteId param to be number #2729
Conversation
In v0.x, the siteID param would be string or number. Somehow, this was restricted to just a string in v1.x.
looks like you have 2 failing test cases. Please resolve. Thanks |
@mkendall07 Thank you for your patience. Tests corrected. |
@homeyjd @mkendall07 |
@ix-prebid-support Thank you for the context, good point. a) add type req to docs, reverse this PR, inform advertisers |
Our preference would be to go with option a in this case. |
@ix-prebid-support Sounds good. I will change my site's configuration to use strings only in anticipation of your changes. |
After some discussions internally, we've decided to keep the support for string as well as number. However, we'll always recommend in the docs to set it as string. |
* ixBidAdapter.js: allow siteId param to be number In v0.x, the siteID param would be string or number. Somehow, this was restricted to just a string in v1.x. * ixBidAdapter.js logical error (not enough coffee) * ixBidAdapter_spec.js: allow number for backwards compat
* ixBidAdapter.js: allow siteId param to be number In v0.x, the siteID param would be string or number. Somehow, this was restricted to just a string in v1.x. * ixBidAdapter.js logical error (not enough coffee) * ixBidAdapter_spec.js: allow number for backwards compat
* ixBidAdapter.js: allow siteId param to be number In v0.x, the siteID param would be string or number. Somehow, this was restricted to just a string in v1.x. * ixBidAdapter.js logical error (not enough coffee) * ixBidAdapter_spec.js: allow number for backwards compat
* ixBidAdapter.js: allow siteId param to be number In v0.x, the siteID param would be string or number. Somehow, this was restricted to just a string in v1.x. * ixBidAdapter.js logical error (not enough coffee) * ixBidAdapter_spec.js: allow number for backwards compat
* ixBidAdapter.js: allow siteId param to be number In v0.x, the siteID param would be string or number. Somehow, this was restricted to just a string in v1.x. * ixBidAdapter.js logical error (not enough coffee) * ixBidAdapter_spec.js: allow number for backwards compat
* ixBidAdapter.js: allow siteId param to be number In v0.x, the siteID param would be string or number. Somehow, this was restricted to just a string in v1.x. * ixBidAdapter.js logical error (not enough coffee) * ixBidAdapter_spec.js: allow number for backwards compat
In v0.x, the siteID param would be string or number. Somehow, this was restricted to just a string in v1.x.
Type of change
Description of change
This is a backwards-compatibility change only for v0.x => v1.x transition.
The v0.x adapter checked existence of the "siteID" parameter, which has been renamed to "siteId". The IndexExchange migration documentation does not include a reference to restricting the var-type of this parameter, it only mentioned a change in name. To be consistent with the documentation, it must also allow numbers.
Other information