-
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
Include gdpr TripleLift #2663
Include gdpr TripleLift #2663
Conversation
This pull request introduces 1 alert when merging 45efe0e into 476cad8 - view on lgtm.com new alerts:
Comment posted by lgtm.com |
This pull request introduces 1 alert when merging 2ebff0c into 476cad8 - view on lgtm.com new alerts:
Comment posted by lgtm.com |
@mkendall07 I would like to reach out various publishers with a timeline of when they can expect the adapter to be deployed. Pending all tests/approval, when can I expect a merge and deploy? |
integrationExamples/gpt/custom.html
Outdated
@@ -0,0 +1,186 @@ | |||
<html> |
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.
please remove this file. We already have a gdpr hello world example.
We're a publisher, and waiting for TripleLift to be merged... hope it'll be today? |
@brittanyzellman This is causing ``Error processing command : Cannot read property 'gdprApplies' of undefined TypeError: Cannot read property 'gdprApplies' of undefined``` If the consent module is included, but not configured (like we have in the case of our non-EU traffic). Can you add a check for existence of bidderRequest.gdprConsent ? |
@mkendall07 checking back in here for any timeline info you can give us? We have publishers asking and aren't quite sure what to tell them to expect in terms of deployment. |
@brittanyzellman not sure, but merge may be waiting on removal of integrationExamples/gpt/custom.html, per:
|
…s into include-gdpr-tl 'removed custom.html'
All irrelevant files are deleted and adapter passes all checks. Still waiting for a timeline as to when publishers can expect this to be merged and deployed? @mkendall07 |
I'm a pub using triplelift - can I request some documentation for configuring native ad units under Prebid v1? It appears that it's necessary to send bid requests for our native ad slots as TIA |
@ptim please reach out to your point of contact at Triplelift. They will have all relevant documentation on how to integrate. I'm assuming that you are already integrated with us through Prebid? |
@ptim Triplelift does not support "real" |
@mkendall07 reaching out again for a timeline on getting this merged and deployed... if there is someone else I should add as a reviewer and call out here I'm happy to do so. Please let me know.. |
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.
@brittanyzellman
You need to include a test spec file and a bidder markdown file. Please see http://prebid.org/dev-docs/bidder-adaptor.html#adding-unit-tests for example.
@mkendall07 any word on when we can expect this to be merged/deployed? |
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.
Just a few small updates needed. Overall LGTM. Thanks!
Also your at 79.31% unit test coverage which is slightly short but I'll let it slide :)
modules/tripleliftBidAdapter.md
Outdated
floor: 1.009 | ||
} | ||
},{ | ||
bidder: 'appnexus', |
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.
any reason you included an AppNexus bid in your test?
modules/tripleliftBidAdapter.js
Outdated
|
||
const BIDDER_CODE = 'triplelift'; | ||
const STR_ENDPOINT = document.location.protocol + '//tlx.3lift.com/header/auction?'; | ||
var applies = true; |
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.
prefer let
over var
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.
a better name here would be gdprApplies
modules/tripleliftBidAdapter.js
Outdated
|
||
code: BIDDER_CODE, | ||
supportedMediaTypes: [BANNER], | ||
aliases: ['triplelift'], |
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.
not necessary to alias your own code.
@brittanyzellman |
@mkendall07 all changes are made, I had AN in the sample for testing just so to see whether other bidders were able to load and bid but I've removed it from the md file. |
@brittanyzellman
To the header of this file: |
@brittanyzellman |
* added triplelift bid adapter to modules * need to host * updated adapter to 1.12 * removed useless conditional * fixed unused-variable error * fixed flash method * had two versions of the consent method, initially pushed the wrong one * added tmax to query string * fixed linter error * fixed linter error * tested for valid bid request * finished writing tests * added markdown file * slight change to md file * removed single quotes * deleted commented out import statement * small changes requested by MK * removed an from testing
* added triplelift bid adapter to modules * need to host * updated adapter to 1.12 * removed useless conditional * fixed unused-variable error * fixed flash method * had two versions of the consent method, initially pushed the wrong one * added tmax to query string * fixed linter error * fixed linter error * tested for valid bid request * finished writing tests * added markdown file * slight change to md file * removed single quotes * deleted commented out import statement * small changes requested by MK * removed an from testing
* added triplelift bid adapter to modules * need to host * updated adapter to 1.12 * removed useless conditional * fixed unused-variable error * fixed flash method * had two versions of the consent method, initially pushed the wrong one * added tmax to query string * fixed linter error * fixed linter error * tested for valid bid request * finished writing tests * added markdown file * slight change to md file * removed single quotes * deleted commented out import statement * small changes requested by MK * removed an from testing
* added triplelift bid adapter to modules * need to host * updated adapter to 1.12 * removed useless conditional * fixed unused-variable error * fixed flash method * had two versions of the consent method, initially pushed the wrong one * added tmax to query string * fixed linter error * fixed linter error * tested for valid bid request * finished writing tests * added markdown file * slight change to md file * removed single quotes * deleted commented out import statement * small changes requested by MK * removed an from testing
* added triplelift bid adapter to modules * need to host * updated adapter to 1.12 * removed useless conditional * fixed unused-variable error * fixed flash method * had two versions of the consent method, initially pushed the wrong one * added tmax to query string * fixed linter error * fixed linter error * tested for valid bid request * finished writing tests * added markdown file * slight change to md file * removed single quotes * deleted commented out import statement * small changes requested by MK * removed an from testing
* added triplelift bid adapter to modules * need to host * updated adapter to 1.12 * removed useless conditional * fixed unused-variable error * fixed flash method * had two versions of the consent method, initially pushed the wrong one * added tmax to query string * fixed linter error * fixed linter error * tested for valid bid request * finished writing tests * added markdown file * slight change to md file * removed single quotes * deleted commented out import statement * small changes requested by MK * removed an from testing
Type of change
Description of change
Upgraded to 1.12 to include SRA capability and GDPR compliance module.
bzellman@triplelift.com