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

new TapHype bidder adapter #3319

Merged
merged 13 commits into from
Dec 3, 2018
Merged

new TapHype bidder adapter #3319

merged 13 commits into from
Dec 3, 2018

Conversation

aeliox
Copy link
Contributor

@aeliox aeliox commented Nov 22, 2018

Type of change

  • Bugfix
  • Feature
  • New bidder adapter
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Does this change affect user-facing APIs or examples documented on http://prebid.org?
  • Other

Description of change

New TapHype bidder adapter

  • test parameters for validating bids
{
  bidder: 'taphype',
  params: {
    placementId: 12345
  }
}

aeliox and others added 4 commits November 21, 2018 19:55
* first commit

* added unit test cases for TTD id
* changed adapter to support video and display for ad unit

* added case for sbi_ct outstream

* outstream is display media type
@bretg
Copy link
Collaborator

bretg commented Nov 27, 2018

Docs PR prebid/prebid.github.io#1045

kelvin-chappell and others added 2 commits November 27, 2018 16:55
According to documentation, iframes should be inserted at bottom
of head, rather than at top.
…mentById(), fix JSDocs in utils.js (prebid#3333)

* check gdpr in buildRequest

* User sync based on whether gdpr applies or not

* check if consent data exists during user sync

* split user sync into further branches: 1) when gdpr does not apply 2) when consent data is unavailable

* contribute viewability to ttxRequest

* update tests

* remove window mock from tests

* use local variables

* introduce ServerRequestBuilder

* add withOptions() method to ServerRequestBuilder

* add semicolons

* sync up package-lock.json with upstream/master

* stub window.top in tests

* introduce getTopWindowSize() for test purpose

* reformat code

* add withSite() method to TtxRequestBuilder

add withSite() method to TtxRequestBuilder

* add isIframe() and _isViewabilityMeasurable()

* handle NON_MEASURABLE viewability in nested iframes

* consider page visibility, stub utils functions getWindowTop() and getWindowSelf()

* contribute viewability as 0 for inactive tab

* add prebidjs version to ttx request

* send caller as an array

* fix JSDoc in utils.js

* send viewability as non measurable when unable to locate target HTMLElement, add warning message
Copy link
Collaborator

@jaiminpanchal27 jaiminpanchal27 left a comment

Choose a reason for hiding this comment

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

@aeliox Minor comments left. Code looks good

modules/taphypeBidAdapter.js Outdated Show resolved Hide resolved
modules/taphypeBidAdapter.js Outdated Show resolved Hide resolved
brittanyzellman and others added 7 commits November 27, 2018 17:10
* removed dependancy on getTopWindowUrl for referer

* protect against undefined obj and remove test on old dependency

* added unit test for referer and gdpr in query string

* removed gdpr test

* removed gdpr from bidderRequest obj

* decontructed bidder request obj in chai test

* just need to run karma tests again

* added gdpr consent to all bidderRequest obj in chai tests

* changed creativeId to be a Triplelift specific id rather than represent SRA impression

* error-proofed creative id
removed `supportedMediaTypes` and logging
remove mediaTypes import
removed `supportedMediaTypes` and logging
remove mediaTypes import
@aeliox
Copy link
Contributor Author

aeliox commented Nov 28, 2018

Made those changes but was getting a new failing test that was outside my code. Rebased and pushed and it works – I hope this was the right protocol.

@jaiminpanchal27 jaiminpanchal27 merged commit 7aef26e into prebid:master Dec 3, 2018
loic-talon pushed a commit to onfocusio/Prebid.js that referenced this pull request Dec 19, 2018
* new TapHype bidder adapter

* Added 930x600 to Rubicon Adapter (prebid#3323)

* PubMatic adapter to support TTD (prebid#3311)

* first commit

* added unit test cases for TTD id

* Sonobi - support video and display same adunit (prebid#3325)

* changed adapter to support video and display for ad unit

* added case for sbi_ct outstream

* outstream is display media type

* Fix user-sync iframes insertion bug (prebid#3300)

According to documentation, iframes should be inserted at bottom
of head, rather than at top.

* Prevent 33Across adapter from throwing an error when unable to getElementById(), fix JSDocs in utils.js (prebid#3333)

* check gdpr in buildRequest

* User sync based on whether gdpr applies or not

* check if consent data exists during user sync

* split user sync into further branches: 1) when gdpr does not apply 2) when consent data is unavailable

* contribute viewability to ttxRequest

* update tests

* remove window mock from tests

* use local variables

* introduce ServerRequestBuilder

* add withOptions() method to ServerRequestBuilder

* add semicolons

* sync up package-lock.json with upstream/master

* stub window.top in tests

* introduce getTopWindowSize() for test purpose

* reformat code

* add withSite() method to TtxRequestBuilder

add withSite() method to TtxRequestBuilder

* add isIframe() and _isViewabilityMeasurable()

* handle NON_MEASURABLE viewability in nested iframes

* consider page visibility, stub utils functions getWindowTop() and getWindowSelf()

* contribute viewability as 0 for inactive tab

* add prebidjs version to ttx request

* send caller as an array

* fix JSDoc in utils.js

* send viewability as non measurable when unable to locate target HTMLElement, add warning message

* TripleliftBidAdapter-update creative_id (prebid#3324)

* removed dependancy on getTopWindowUrl for referer

* protect against undefined obj and remove test on old dependency

* added unit test for referer and gdpr in query string

* removed gdpr test

* removed gdpr from bidderRequest obj

* decontructed bidder request obj in chai test

* just need to run karma tests again

* added gdpr consent to all bidderRequest obj in chai tests

* changed creativeId to be a Triplelift specific id rather than represent SRA impression

* error-proofed creative id

* Update taphypeBidAdapter.js

removed `supportedMediaTypes` and logging

* Update taphypeBidAdapter.js

remove mediaTypes import

* new TapHype bidder adapter

* Update taphypeBidAdapter.js

removed `supportedMediaTypes` and logging

* Update taphypeBidAdapter.js

remove mediaTypes import
ghost pushed a commit to devunrulymedia/Prebid.js that referenced this pull request Jan 30, 2019
* new TapHype bidder adapter

* Added 930x600 to Rubicon Adapter (prebid#3323)

* PubMatic adapter to support TTD (prebid#3311)

* first commit

* added unit test cases for TTD id

* Sonobi - support video and display same adunit (prebid#3325)

* changed adapter to support video and display for ad unit

* added case for sbi_ct outstream

* outstream is display media type

* Fix user-sync iframes insertion bug (prebid#3300)

According to documentation, iframes should be inserted at bottom
of head, rather than at top.

* Prevent 33Across adapter from throwing an error when unable to getElementById(), fix JSDocs in utils.js (prebid#3333)

* check gdpr in buildRequest

* User sync based on whether gdpr applies or not

* check if consent data exists during user sync

* split user sync into further branches: 1) when gdpr does not apply 2) when consent data is unavailable

* contribute viewability to ttxRequest

* update tests

* remove window mock from tests

* use local variables

* introduce ServerRequestBuilder

* add withOptions() method to ServerRequestBuilder

* add semicolons

* sync up package-lock.json with upstream/master

* stub window.top in tests

* introduce getTopWindowSize() for test purpose

* reformat code

* add withSite() method to TtxRequestBuilder

add withSite() method to TtxRequestBuilder

* add isIframe() and _isViewabilityMeasurable()

* handle NON_MEASURABLE viewability in nested iframes

* consider page visibility, stub utils functions getWindowTop() and getWindowSelf()

* contribute viewability as 0 for inactive tab

* add prebidjs version to ttx request

* send caller as an array

* fix JSDoc in utils.js

* send viewability as non measurable when unable to locate target HTMLElement, add warning message

* TripleliftBidAdapter-update creative_id (prebid#3324)

* removed dependancy on getTopWindowUrl for referer

* protect against undefined obj and remove test on old dependency

* added unit test for referer and gdpr in query string

* removed gdpr test

* removed gdpr from bidderRequest obj

* decontructed bidder request obj in chai test

* just need to run karma tests again

* added gdpr consent to all bidderRequest obj in chai tests

* changed creativeId to be a Triplelift specific id rather than represent SRA impression

* error-proofed creative id

* Update taphypeBidAdapter.js

removed `supportedMediaTypes` and logging

* Update taphypeBidAdapter.js

remove mediaTypes import

* new TapHype bidder adapter

* Update taphypeBidAdapter.js

removed `supportedMediaTypes` and logging

* Update taphypeBidAdapter.js

remove mediaTypes import
pedrolopezmrf pushed a commit to Marfeel/Prebid.js that referenced this pull request Mar 18, 2019
* new TapHype bidder adapter

* Added 930x600 to Rubicon Adapter (prebid#3323)

* PubMatic adapter to support TTD (prebid#3311)

* first commit

* added unit test cases for TTD id

* Sonobi - support video and display same adunit (prebid#3325)

* changed adapter to support video and display for ad unit

* added case for sbi_ct outstream

* outstream is display media type

* Fix user-sync iframes insertion bug (prebid#3300)

According to documentation, iframes should be inserted at bottom
of head, rather than at top.

* Prevent 33Across adapter from throwing an error when unable to getElementById(), fix JSDocs in utils.js (prebid#3333)

* check gdpr in buildRequest

* User sync based on whether gdpr applies or not

* check if consent data exists during user sync

* split user sync into further branches: 1) when gdpr does not apply 2) when consent data is unavailable

* contribute viewability to ttxRequest

* update tests

* remove window mock from tests

* use local variables

* introduce ServerRequestBuilder

* add withOptions() method to ServerRequestBuilder

* add semicolons

* sync up package-lock.json with upstream/master

* stub window.top in tests

* introduce getTopWindowSize() for test purpose

* reformat code

* add withSite() method to TtxRequestBuilder

add withSite() method to TtxRequestBuilder

* add isIframe() and _isViewabilityMeasurable()

* handle NON_MEASURABLE viewability in nested iframes

* consider page visibility, stub utils functions getWindowTop() and getWindowSelf()

* contribute viewability as 0 for inactive tab

* add prebidjs version to ttx request

* send caller as an array

* fix JSDoc in utils.js

* send viewability as non measurable when unable to locate target HTMLElement, add warning message

* TripleliftBidAdapter-update creative_id (prebid#3324)

* removed dependancy on getTopWindowUrl for referer

* protect against undefined obj and remove test on old dependency

* added unit test for referer and gdpr in query string

* removed gdpr test

* removed gdpr from bidderRequest obj

* decontructed bidder request obj in chai test

* just need to run karma tests again

* added gdpr consent to all bidderRequest obj in chai tests

* changed creativeId to be a Triplelift specific id rather than represent SRA impression

* error-proofed creative id

* Update taphypeBidAdapter.js

removed `supportedMediaTypes` and logging

* Update taphypeBidAdapter.js

remove mediaTypes import

* new TapHype bidder adapter

* Update taphypeBidAdapter.js

removed `supportedMediaTypes` and logging

* Update taphypeBidAdapter.js

remove mediaTypes import
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.

9 participants