-
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
freewheelSSPBidAdapter #4645
freewheelSSPBidAdapter #4645
Conversation
…bid 3.0 changes, add max and min size limit as per client's requirement
This pull request introduces 1 alert when merging cd6267a into 927d36e - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging 59dfcd5 into 927d36e - view on LGTM.com new alerts:
|
Hi @jsnellbaker , it seems our adapter Thanks, |
Hi @jsnellbaker , I just noticed you released the legacy version 2.44.1 today. We will tell our client to use the legacy one so far. Thanks, |
@xwang202 If you don't want to change the name in all these places, can you please go back to the original name of the adapter.js file in this PR? Outside of the naming changes, can you also please re-add your adapter's test spec file here? |
Thanks for your response @jsnellbaker . We will use the original file name. I've updated both js and md files. Please help to review again. Thanks, |
Hi @jsnellbaker , I've updated both code and tests files. Can you please help to re-run the CICD workflow? Thanks, |
Hi @jsnellbaker , To add to my previous comment, we are gonna do the CCPA release next week. Thanks, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @xwang202
Thanks for renaming the files back to the original name. There were some items that I saw in-line that need to be addressed.
In addition to the below, it seems the unit test file (ie the adapter's _spec.js
) isn't present in this PR. Can you please add this back here? These tests are needed for your adapter to be re-added.
Thanks.
modules/freewheel-sspBidAdapter.js
Outdated
} | ||
} | ||
|
||
var location = utils.getTopWindowUrl(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This function doesn't exist anymore in Prebid 3.x. Can you take a look at the bidderRequest.refererInfo
property (see more info here)? It may have the information you were using here instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated.
modules/freewheel-sspBidAdapter.js
Outdated
@@ -0,0 +1,372 @@ | |||
import * as utils from '../src/utils'; | |||
import { registerBidder } from '../src/adapters/bidderFactory'; | |||
// import { config } from 'src/config'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please remove this commented line if it's no longer needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed
….getTopWindowUrl(), remove the unused code
This pull request introduces 1 alert when merging 76a625a into 34416c4 - view on LGTM.com new alerts:
|
@xwang202 Can you take a look at the test failures in the circleci job? I think one/several of the unit tests need to be updated to include the new Additionally, would you be able to look at the LGTM warning? I'd like you to confirm that the extra variable you're passing in that noted function isn't needed. Thanks! |
This pull request introduces 1 alert when merging 382d914 into 773a004 - view on LGTM.com new alerts:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @xwang202
Thanks for making the updates. I think we're okay to merge this PR at this point.
To confirm on a point you made earlier - did you want me to wait on merging so you can include the CCPA compliance as part of this PR? Or did you want me to merge it now and you'll just open a separate PR later?
Please confirm.
Hi @jsnellbaker , Thanks for your confirmation. For the LGTM warning, we still want to keep our previous code. Please merge this PR at your first convenience. For CCPA compliance, I will create another PR next week after we did the CCPA release on our end. Thanks, |
Thanks for the confirmation. |
…idVersion1.2.0 * 'master' of https://github.com/prebid/Prebid.js: (22 commits) fix lint errors in unit test file (prebid#4702) Add Revcontent Adapter (prebid#4654) Changed data structure in Platform One Analytic Adapter (prebid#4647) increment pre version Prebid 3.2.0 Release Add static API option to the consentManagementUsp module. (prebid#4685) replace all xhr stubs with global xhr stub to prevent all requests (prebid#4687) Add CCPA us_privacy support to spotxBidAdapter (prebid#4689) ucfunnel adapter support CCPA and remove utils.js in adapter (prebid#4541) freewheelSSPBidAdapter (prebid#4645) Add CCPA support to Beachfront adapter (prebid#4673) add seedingAlliance Adapter (prebid#4614) Changed analytics data structure in YuktaMedia Analytic Adapter (prebid#4659) Add eplanning adapter for prebid 3.0 compliant and CCPA and GDPR support (prebid#4643) Bidder schain support (prebid#4551) Added CCPA support and GDPR compliance to Cedato adapter (prebid#4683) pass us privacy consent string to request (prebid#4581) Prebid 3 Admixer (prebid#4615) Pass uspConsent in bidRequest (prebid#4675) Advertly: New Bidder Adapter Submission (prebid#4496) ...
* freewheelSSPBidAdapter Update the freewheelSSPBidAdapter based on Prebid 3.0 changes, add max and min size limit as per client's requirement * freewheelSSPBidAdapter fix the path issue * freewheelSSPBidAdapter fix the indentation * update the test * rename freewheel bid adapter name * freewheelSSPBidAdapter use bidderRequest.refererInfo instead of utils.getTopWindowUrl(), remove the unused code * freewheelSSPBidAdapter add spec file * freewheelSSPBidAdapter update the gdpr and refererInfo condition check
It seems our previous adapter has been deleted by one of your changes. I am pushing this file again with changes of updating the freewheelSSPBidAdapter based on Prebid 3.0 changes and adding max and min size limit as per client's requirement.
Please be aware that the file name has been changed from previously
freewheel-sspBidAdapter.js
tofreewheelSSPBidAdapter.js
Type of change
Description of change