Skip to content

Commit

Permalink
Eng 7225 upgrade prebid 4.40 (#114)
Browse files Browse the repository at this point in the history
* Openx Bid Adapter: add floor support for Video (#6460)

* fix confusing comment

* refactor(openxBidAdapter): extract enrichQueryWithFloors

* PBID-1194: add floor for Video

* Update to rubicon analytics adapter to pass along pbsBidId if present on the bidObject (#6461)

* differentiate the IDs provided by ID5 when the user is opted out vs the user is in the control group of A/B testing (#6471)

* AdagioBidAdapter: add capability to pass ext-data from localStorage in bidRequest (#6415)

* Seedtag Bid Adapter: add connection type to bid request (#6457)

* add connectionType to the bidRequest

* remove a console.log

* put connectionType in the payload

* more secure connectionType access

* add a unit test for connectionType

* fix  connectionType typo

* AdDefend Bid Adapter: new bid adapter (#6450)

* addefeend bid adapter implementation

* fixed parameter documentation

Co-authored-by: Mitschi <mitschi@addefend.com>

* GumGum Bid Adapter: adds meta field to bidresponse (#6478)

* adds meta field to bidresponse

* adds meta mediatype and advertiserdomain default

* example integration file renamed to hello_world (#6475)

* Incorrect atypes on various eids (#6477)

* Update eids.js

* Update eids_spec.js

* Update eids.js

* Update pubmaticBidAdapter_spec.js

* Update eids.js

* Update eids_spec.js

* Update conversantBidAdapter_spec.js

* Update rubiconBidAdapter_spec.js

* Update conversantBidAdapter_spec.js

* Delete test/spec/adapters directory

* Update userId_spec.js

* added support for roundel alias (#6473)

* Doceree Bid Adapter: new bid adapter (#6437)

* doceree adapter

* add fix for impression register

* fix linting issues

* fix build issue

* remove extra spaces

* fixing - Implicit operand conversion

* fixed ci/cd lint issue

* update test case

* support for advertiserdomains and updated test case

* remove space to rerun test cases

* remove the client side creative creation

* OpenX Bidder Adapter: Add user ID sub-modules (#6490)

* Smaato: FPD Revision (#6459)

Co-authored-by: Bernhard Pickenbrock <bernhard.pickenbrock@smaato.com>

* Conversant adapter: add adomain, remove digitrust (#6495)

* Update eids.js

* Update eids_spec.js

* Update eids.js

* Update pubmaticBidAdapter_spec.js

* Update eids.js

* Update eids_spec.js

* Update conversantBidAdapter_spec.js

* Update rubiconBidAdapter_spec.js

* Update conversantBidAdapter_spec.js

* Delete test/spec/adapters directory

* Update userId_spec.js

* Update conversantBidAdapter.js

* Update conversantBidAdapter_spec.js

* Update conversantBidAdapter_spec.js

* Update conversantBidAdapter_spec.js

* Rads Bid Adapter: add GDPR support & user sync support (#6455)

* Proxistore Bid Adapter: add cookieless url endpoint & use floor module (#6427)

* use floor module

* call cookieless endpoint when necessary

* test endpoint url

* change url endpoint

* delete console log

* fix tests

* add language to url

* use ortb interface

* unit test

* update test unit

* create proxistore module

* add unit tests and documentation

* delete modules

* delete module

* add proxistore rtd submodule

* delete proxistore module

* spacing

* change url

* AdYoulike Bid Adapter: Add an "Insertion" tracking for Native mediatype (#6481)

* add insertion event

* add missing campaign ID parameter

* update unit test with new tracking checked

* Dspx Bid Adapter : add user sync support (#6456)

* Add sync support for dspx adapter

* Dspx Bid Adapter : add user sync support

Co-authored-by: Alexander <avj83@list.ru>

* Multibid Module: add new module to handle multiple bids from single bidder & update rubicon adapter (#6404)

* Multibid module - create new module
- Expands the number of key value pairs going to the ad server in the normal Prebid way by establishing the concept of a "dynamic alias"

First commit

* Continued updates from 1st commit

* Adding logWarn for filtered bids

* Update to include passing multibid configuration to PBS requests

* Update to rubicon bid adapter to pass query param rp_maxbids value taken from bidderRequest.bidLimit

* Update to config to look for camelcase property names according to spec. These convert to all lowercase when passed to PBS endpoint

* Adjust RP adapter to always include maxbids value - default is 1

* Added support for bidders array in multibid config

* Fixed floor comparison to be <= bid cpm as oppossed to just < bid cpm. Updated md file to fix camelCase tpyo

* Update to include originalBidderRequest in video call to prebid cache

* Update to ignore adpod bids from multibid and allow them to return as normal bids

* Adding uid2 to submodules.json (#6508)

* NextRoll ID System: add new ID module (#6396)

* Add Nextroll ID Module

* Add nextroll to eids

* Make configuration value names consistent with Adapter Module

* Use parnerId instead of sellerId

* Add nextroll to userId and eids md files

* Remove storage configuration

* Rename nextroll -> nextrollId

* Add nextrollId to common ID specs

* Qwarry Bid Adapter: add GDPR and consent string handling (#6489)

* qwarry bid adapter

* formatting fixes

* fix tests for qwarry

* qwarry bid adapter

* add header for qwarry bid adapter

* bid requests fix

* fix tests

* response fix

* fix tests for Qwarry bid adapter

* add pos parameter to qwarry bid adapter

* qwarryBidAdapter onBidWon hotfix

* Change bidder endpoint url for Qwarry adapter

* add referer JS detection

* use bidderRequest.refererInfo

* fix tests

* GDPR consent string support

* NPE fix

Co-authored-by: Artem Kostritsa <akostritsa@akostritsa.com>
Co-authored-by: Alexander Kascheev <akascheev@asteriosoft.com>
Co-authored-by: pro-nsk <32703851+pro-nsk@users.noreply.github.com>

* Zemanta Bid Adapter: add support for new params & consent strings to usersync URL (#6468)

* add gvl id to spec

* add support for bcat and badv params

* add consent strings to usersync url

* add bcat and badv params to doc

* Automatad Bid Adapter: Add meta.advertiserDomains to bid response (#6509)


* added bid meta with advertiserDomains

* Adhese Bid Adapter: add support for caching video content (#6501)

* adpod category support test

* Revert "adpod category support test"

This reverts commit 70a3cf2ad5db94757addd9e08c3a083caca282d0.

* adpod category support test

* Revert "adpod category support test"

This reverts commit 70a3cf2ad5db94757addd9e08c3a083caca282d0.

* Adhese Bid Adapter: cache video content

Co-authored-by: Tim Sturtewagen <tim@adhese.com>
Co-authored-by: Mateusz <mateusz@adhese.eu>

* update apacdex unit test to disable debug mode (#6511)

* Telaria: not setting adid (#6507)

* Prebid 4.33.0 Release

* increment pre version

* rubicon: removing maxduration as a required bidder parameter (#6513)

* Zemanta adapter: add advertiserDomains (#6517)

* Lemma Bid Adapter: accepting the floor to use the getFloor function (#6497)

* lemmaBidAdapter.js

Added lemma bid adapter file

* lemmaBidAdapter.md

Added lemma bid adapter md file

* lemmaBidAdapter_spec.js

Added lemma bid adapter test spec file

* Update lemmaBidAdapter.js

Fixed automated code review alert comparison between inconvertible types

* Update lemmaBidAdapter.js

Fixed review changes

* Update lemmaBidAdapter.md

Correct parameter value.

* Update lemmaBidAdapter.js

Lemma Bid Adapter - v3.0 compliance

* Update lemmaBidAdapter_spec.js

Lemma Bid Adapter - v3.0 compliance

* Update lemmaBidAdapter.md

Lemma Bid Adapter - v3.0 compliance

* Update lemmaBidAdapter.js

Added user sync support into bid adapter.

* updated include modules file extension.

updated include modules js file extension.

* Update lemmaBidAdapter_spec.js

Added unit test for user sync feature.

* Update lemmaBidAdapter.js

Fixed format error.

* Update lemmaBidAdapter_spec.js

Fixed format error and typo error.

* Set mediaType key value into bid object

Set mediaType key value into the bid object.

* Update lemmaBidAdapter.js

remove duplicate function

* Update lemmaBidAdapter.js

Remove non supported code.

* Update lemmaBidAdapter_spec.js

Remove GDPR test cases.

* Update lemmaBidAdapter.js

Made changes for accepting the floor to use the getFloor function

* Update lemmaBidAdapter.js

correct undefined keyword name.

* Update lemmaBidAdapter_spec.js

Added test coverage floor value

* Update lemmaBidAdapter.js

Remove trailing spaces on lines 379 and 381.

* Update lemmaBidAdapter_spec.js

Added getFloor function test case changes, Please review it.

* Update lemmaBidAdapter_spec.js

* Update lemmaBidAdapter.js

* Update lemmaBidAdapter.js

Fixed lint issue.

* Update lemmaBidAdapter_spec.js

Fixed test cases.

* Update lemmaBidAdapter_spec.js

Made suggested changes. Please review it.

Co-authored-by: Abhijit Mane <abhipucsd.123@gmail.com>

* Mediasquare Bid Adapter: fix getUserSyncs issue with empty bids + add metrics to onBidWon Event (#6480)

* Mediasquare bidder: fix getUserSyncs issue with empty bids + add metrics to onBidWon Event

* Mediasquare bidder: fix getUserSyncs issue with empty bids + add metrics to onBidWon Event

* removing status as it does not seem populated when called

* add tests

* Update nextroll ID variable name to match published ID module (#6519)

* Merkle User ID Module: updates to user id submodule (#6503)

* AdKernel Bid/Analytics Adapters: user privacy related changes (#6488)

* SynacorMedia: remove adId from the bid response (#6520)

* Rubicon: making doc data types consistent (#6526)

* Synacormedia Bid Adapter: add meta.advertiserDomains (#6527)

* Adloox Analytics Adapter: add new analytics adapter (#6308)

* gulp: fix supplying list of browsers to test against

The following now works: gulp test --browserstack --nolint --nolintfix --browsers=bs_ie_11_windows_10 --file 'test/spec/modules/adloox{AnalyticsAdapter,AdServerVideo,RtdProvider}_spec.js'

* instreamTracking: unit test tidy

From @robertrmartinez in https://github.com/prebid/Prebid.js/pull/6308#issuecomment-810537538

* adloaderStub: expose stub for other unit tests to use

From @robertrmartinez in https://github.com/prebid/Prebid.js/pull/6308#issuecomment-810537538

* Adloox analytic module

* Seedtag adapter: Fixing bug preventing to receive the right params onTimeout. (#6525)

* adot bid adapter: add publisher path from bidder config to endpoint url (#6476)

* Admixer ID System: add userId submodule  (#6238)

* Migrating to Prebid 1.0

* Migrating to Prebid 1.0

* Fix spec

* add gdpr and usp

* remove changes in gdpr_hello_world.html

* Update gdpr_hello_world.html

add spaces

* add user syncs

* remove comments

* tests

* admixer id system

* admixer id system

* admixer id system eids.md userId.md

* admixer id system .submodules.json

* admixer id system

Co-authored-by: atkachov <atkachov91@admixer.ua>

* PBJS Core: call custom render func after loadscript if provided (#6422)

* Pubxai Analytics Adapter: bug fixes and code revamp (#6474)

* Updated PubxAiAnalytics adapter - Bug fixes and Code restructuring

* Updated endpoint URLs

* Changed array.includes to array.indexOf to fix IE issue

* Code cleanup and changes as suggested.

* Updated browser testing order and edge browser token

* PBJS Core: canBidderRegisterSync ignoring iframe sync disabled by default (#6535)

* Update eids.js

* Update eids_spec.js

* Update eids.js

* Update pubmaticBidAdapter_spec.js

* Update eids.js

* Update eids_spec.js

* Update conversantBidAdapter_spec.js

* Update rubiconBidAdapter_spec.js

* Update conversantBidAdapter_spec.js

* Delete test/spec/adapters directory

* Update userId_spec.js

* Update userSync.js

* Update userSync_spec.js

* Added automatic tzo and targetId to adserver request. (#6534)

* Tappx Bid Adapter: minor updates and universal id added (#6504)

* UPDATE: add initial UID

* UPDATE: UID change user ext

* UPDATE: UID clean logs

* UPDATE: add host info

* UPDATE: tappx bid adapter universal id

* UPDATE: fix bidder param

* UPDATE: tappxBidAdapter tests

* tappxBidAdapter - fix spacing

* tappxBidAdapter: add test  user eids array

* tappxBidAdapter: update eids array

* FIX: package-lock.json

Co-authored-by: marc_tappx <marc@tappx.com>

* Impactify Bid Adapter: add new bid adapter (#6518)

* Add impactify adapter with MD file

* Add impactify adapter

* Prebid 4.34.0 Release

* Increment pre version

* Prebid server adapter: add config for openx hosting (#6530)

* Yieldmo adapter: add meta data to bids (#6550)

* Smartx Bid Adapter: Add meta.advertiserDomains support (#6547)

* Onevideo / Adap.tv Adapter: updated example configuration (#6546)

* Mass Deal Rendering Module: support multiple custom configs for dealId and rendering (#6500)

* ZetaSsp Bid Adapter: add new bid adapter (#6432)

* Adnuntius Bid Adapter: Fix for bid too low. (#6557)

* Added automatic tzo and targetId to adserver request.

* Fixing issues with bid price being too low.

* Fixing issues with bid price being too low.

* ReadPeak Bid Adapter: fix api issues, add gdpr consent, & getfloor module support (#6548)

* BetweenBidAdatper: added sharedid support (#6531)

* adWMG Bid Adapter: update endpoints for cookie sync (#6544)

* Support floorCPM parameter, fix some minor bugs

* fix space-in-parens circleci error

* example fix

* clean usersync URL

* spaces

* spaces

* add new unit tests, compatibility with IE11

* remove logInfo

* Check for floorCPM value

* Check params before sending

* New endpoints

* code format

* new endpoint for cookie sync

* update tests

Co-authored-by: Mikhail Dykun <m.dykun@wmgroup.us>

* Yieldmo Bid Adapter: add support for the floors module (#6541)

* Sortable Bid Adapter: add eids support (#6565)

* Add Sortable adapter for Prebid 3.x

Update tests to reflect changes.

* Add .js in imports

* hostname not host: don't include port

* Trivial change to trigger build: failure wasn't our adapter

* More failures in other adapters

* PR Feedback

- use https for URL
- fix examples in markdown
- request to endpoint should work now

* Feedback: add native and video examples

* Update unit tests

Co-authored-by: Shannon Broekhoven <shannon@sortable.com>

* Outbrain Bid Adapter: replacing Zemanta (#6558)

* Sirdata Real-time Data Module: add new RTD module (#6515)

* Logicad Bid Adapter: add support for userid modules (#6529)

* ATS-identityLinkIdSystem - add use3P config property to control firing of 3P envelope endpoint (#6568)

* Proxistore Bid Adapter: add support for tcf v2 consent (#6543)

* use tcf v2 consent

* set cosentGiven to false and test Gdpr api v2

* BlueBillyWig Bid Adapter: add renderer customization options (#6540)

* add Blue Billywig adapter

* Blue Billywig Adapter - update according to review feedback

* Blue Billywig Adapter - update to try and pass CircleCI

* Remove the last for .. of in bluebillywigBidAdapter.js, hopefully...

* Update bluebillywigBidAdapter test parameters to match renderer to rendererCode rename

* Blue Billywig - Also pass through site config with OpenRTB request

* add Blue Billywig adapter

* Blue Billywig Adapter - update according to review feedback

* Blue Billywig Adapter - update to try and pass CircleCI

* Remove the last for .. of in bluebillywigBidAdapter.js, hopefully...

* Code quality update, always hit user syncs, improved video params

* Remove unnecessary export

* Add rendererSettings param to bluebillywig adapter

* Kick off CircleCi tests manually

Co-authored-by: Klaas-Jan Boon <klaas-janboon@ip-172-16-224-85.eu-west-1.compute.internal>
Co-authored-by: Chris Huie <phoenixtechnerd@gmail.com>

* OpenX Bid Adapter: Set Deal ID for video requests (#6573)

* 33Across Bid Adapter: add support for User ID modules (#6554)

* pubGENIUS bid adapter: support floor module (#6555)

* Welect Bid Adapter: update url of API (#6570)

* update api url

* update api url in tests

* Bright Mountain Media Bid Adapter: change bidder code to bmtm; alias old name (#6574)

* Adtelligent Bid Adapter: add adUrl support & new alias (#6559)

* add adUrl support

* add adUrl test

* Bright Mountain Media Bid Adapter: Change Endpoint URL (#6576)

* Outbrain Bid Adapter: only trigger nurl ajax call if nurl is present (#6579)

* LiveWrapper Bid Adapter: add US privacy and Coppa support (#6569)

* Livewrapped bid and analytics adapter

* Fixed some tests for browser compatibility

* Fixed some tests for browser compatibility

* Changed analytics adapter code name

* Fix double quote in debug message

* modified how gdpr is being passed

* Added support for Publisher Common ID Module

* Corrections for ttr in analytics

* ANalytics updates

* Auction start time stamp changed

* Detect recovered ad blocked requests
Make it possible to pass dynamic parameters to adapter

* Collect info on ad units receiving any valid bid

* Support for ID5
Pass metadata from adapter

* Typo in test + eids on wrong level

* Fix for Prebid 3.0

* Fix get referer

* http -> https in tests

* Native support

* Read sizes from mediatype.banner

* Revert accidental commit

* Support native data collection + minor refactorings

* Set analytics endpoint

* Support for app parameters

* Fix issue where adunits with bids were not counted on reload

* Send debug info from adapter to external debugger

* SChain support

* Send GDPR data in analytics request

* video support

Video support

* Report back floor via analytic

* Send auction id and adunit/bidder connection id

* Criteo id support

* Updated example

* livewrapped Analytics Adapter info file

* Livewrapped gvlid

* Us Privacy and Coppa support

* Rubicon Analytics: Handle PBS Sending Bid ID 0 (#6584)

* TrustX Bid Adapter: support new format request (#6556)

* Add trustx adapter and tests for it

* update integration example

* Update trustx adapter

* Post-review fixes of Trustx adapter

* Code improvement for trustx adapter: changed default price type from gross to net

* Update TrustX adapter to support the 1.0 version

* Make requested changes for TrustX adapter

* Updated markdown file for TrustX adapter

* Fix TrustX adapter and spec file

* Update TrustX adapter: r parameter was added to ad request as cache buster

* Add support of gdpr to Trustx Bid Adapter

* Add wtimeout to ad request params for TrustX Bid Adapter

* TrustX Bid Adapter: remove last ampersand in the ad request

* Update TrustX Bid Adapter to support identical uids in parameters

* Update TrustX Bid Adapter to ignore bids that sizes do not match the size of the request

* Update TrustX Bid Adapter to support instream and outstream video

* Added wrapperType and wrapperVersion parameters in ad request for TrustX Bid Adapter

* Update TrustX Bid Adapter to use refererInfo instead depricated function utils.getTopWindowUrl

* HOTFIX for referrer encodind in TrustX Bid Adapter

* Fix test for TrustX Bid Adapter

* TrustX Bid Adapter: added keywords passing support

* TrustX Bid Adapter: added us_privacy parameter in bid request

* TrustX Bid Adapter: fix us_privacy parameter in bid request

* Fix alias error for TrustX Bid Adapter

* TrustX Bid Adapter: added new request format

* TrustX Bid adapter: fix new format endpoint

* TrustX Bid Adapter: update md file to support useNewFormat parameter

* FeedAd Bid Adapter: add support for GDPR/TCF 2.0 & remove video support  (#6538)

* added file scaffold

* added isBidRequestValid implementation

* added local prototype of ad integration

* added implementation for placement ID validation

* fixed video context filter

* applied lint to feedad bid adapter

* added unit test for bid request validation

* added buildRequest unit test

* added unit tests for timeout and bid won callbacks

* updated bid request to FeedAd API

* added parsing of feedad api bid response

* added transmisison of tracking events to FeedAd Api

* code cleanup

* updated feedad unit tests for buildRequest method

* added unit tests for event tracking implementation

* added unit test for interpretResponse method

* added adapter documentation

* added dedicated feedad example page

* updated feedad adapter to use live system

* updated FeedAd adapter placement ID regex

* removed groups from FeedAd adapter placement ID regex

* removed dedicated feedad example page

* updated imports in FeedAd adapter file to use relative paths

* updated FeedAd adapter unit test to use sinon.useFakeXMLHttpRequest()

* added GDPR fields to the FeedAd bid request

* removed video from supported media types of the FeedAd adapter

* increased version code of FeedAd adapter to 1.0.2

* removed unnecessary check of bidder request

* fixed unit test testing for old FeedAd version

* removed video media type example from documentation file

* added gvlid to FeedAd adapter

* Ats optional 3p endpoint - keep default behavior the same (#6586)

* ATS-identityLinkIdSystem - add use3P config property to control firing of 3P envelope endpoint

* ATS-identityLinkIdSystem - add notUse3P config property to control firing of 3P envelope endpoint

* use another uri for cookieless (#6572)

* Pbjs Core: add new API to return the highest unused bid for a given adunit (#6342)

* feat: add new API to return the highest unused bid for a given adunit code

* feat: add unit tests for new API

* Adpone Bid Adapter: remove usersync and pass gpdr via querystring (#6326)

* remove usersync and add gpdr via querystring

* wrap tests under describe adponeBidAdapter

* remove bid.meta.advertiserDomains

* support adomain

* fix adpone advertiserDomains

* fix test

* Yieldmo bid adapter: set outstream renderer. (#6566)

- adapter maintainer email: opensource@yieldmo.com

* Richaudience Bid Adapter: add new config UserSync (#6523)

* Add new config UserSync

* Solved lint errors

* Solved lint errors 2

* Solved lint errors 3

* Add changes

* Add changes 2

* Add changes 3

* Add changes 4

* Add changes 5

* Solved issues

Co-authored-by: sgimenez <sergi.gimenez@richaudience.com>

* Prebid 4.35.0 Release

* Increment pre version

* Deepintent ID System: add new ID module (#6537)

* initial commit

* feat(deepintent-dpes): adds deepintent user id module

* chore(code-cleanup): removed console logs

* eids config added

* fix for passing the eids

* docs added with minor change

* tests added

* remaining conflict resolution

* kick off circle-ci tests manually

* fix linting error

* changed the atype to 3

* tests added for eids_spec.js

* Change the language

* added cacheIdObject signature

* changed test cases

* eIds passing added to adapter

* docs changed removed params not required

* doc added

* docs added in userId base

* user id tests added

* lint fixes

* lint fixes

* code review comments fix

Co-authored-by: Sourabh Gandhe <sourabh@Sourabhs-MacBook-Pro.local>
Co-authored-by: ChinmoyDebnath <chinmoy@lightbeam.ai>
Co-authored-by: Chris Huie <phoenixtechnerd@gmail.com>

* Update spotxBidAdpter renderer url to ensure onLoad is always called. (#6592)

Co-authored-by: Nick Peceniak <npeceniak@spotx.tv>

* VIS.X: add onSetTargeting, onBidWon & onTimeout handlers (#6532)

* Index Exchange Bid Adapter: resolve negative size bug (#6582)

* smartx Bid Adapter: Outstream render bugfix numeric elementId (#6588)

* Update cookie sync call (#6567)

* Add videoCacheKey back to bid response when using spotx as cache server (#6605)

Co-authored-by: Nick Peceniak <npeceniak@spotx.tv>

* Nativo Bid Adapter: add new bid adapter (#6542)

* Initial nativoBidAdapter document creation (js, md and spec)

* Fulling working prebid using nativoBidAdapter. Support for GDPR and CCPA in user syncs.

* Added defult size settings based on the largest ad unit. Added response body validation. Added consent to request url qs params.

* Changed bidder endpoint url

* Changed double quotes to single quotes.

* Reverted package-json.lock to remove modifications from PR

* Added optional bidder param 'url' so the ad server can force- match an existing placement

* Lint fix. Added space after if.

* Spotx Bid Adapter: Update endpoint to indicate request is from Prebid (#6593)

* Sharethrough Bid Adapter: add support for COPPA (#6602)

* Pass COPPA flag to Ad Server

[#177598971]

* Send true instead of 1

* Upgrade adapter version number

* tappx Bid Adapter: add video instream support and update testing (#6580)

* tappxBidAdapter : update tests adding video

* tappxBidAdapter : add video instream

* tappxBidAdapter : update tappx md doc

* tappxBidAdapter: Fix Newline required eol-last

* tappxBidAdapter: update tests User sync and  video reqs

* tappxBidAdapter: Extra space after fix

Co-authored-by: marc_tappx <marc@tappx.com>

* Halo RTD Module: FPD 2.0 Updates & add ID system tests (#6505)

* fix appnexus segment field format

* ortb2 fpd updates

* update halo ntegration example

* fix cached id naming & access

* gvlid storageManager and get/set update

* getConfig update

* re-order exports

* stub local storage methods

* Zemanta bid adapter: reinstate Outbrain as alias (#6617)

* Index Exchange bid adapter: report which userIds available in diagnostics object (#6604)

* Update Windows Testing on Chrome to v 89.0 (#6539)

* PBjs Core: added `maxNestedIframes` option (#6615)

* PBjs Core: added maxNestedIframes option

* change default maxNestedIframes to 10

Co-authored-by: Andrea Fassina <andrea.fassina@nativery.com>

* ID5 User ID module - don't send empty fields to server (#6581)

* for optional fields, only send to servers if populated

* adding some logging to id5 submodule to make debugging easier

* update user id integration example for id5 to user html5 not cookie

* remove .only from tests

* remove checks for loginfo since now we are using it more broadly

* New Bid Adapter: Shinez (#6597)

* Shinze adapter version 1.0.0

* map for arrays replaced with forEach, fpd temporarily removed

* switched to only public interface testing

* Usage of URL removed

* refactor user id example to properly receive TCFv2 consent string and other improvements (#6583)

* refactor user id example to properly receive TCFv2 consent string by using static consent object
- added a list of user id modules' gvl ids to enable consent for them within prebid core
- also reformatted the entire document to make it easier to read
- added output of the eids array so it's easy to see what's happening

* smaller tab size

* use sinon local storage stubs for haloid module (#6619)

* Adnuntius Bid Adapter: Bug fix ordered response. (#6625)

* Added automatic tzo and targetId to adserver request.

* Fixing issues with bid price being too low.

* Fixing issues with bid price being too low.

* Ad server response places bids in correct placement

* Adnuntius Bid Adapter ordered responses

* Ad server response places bids in correct placement

* Adnuntius Bid Adapter ordered responses

* RTD Provider rebase

* wrongly merged to master

* IX Bid Adapter: Add support for UID2.0 (#6628)

* UserId Module: add support for case insensitive submodule names (#6629)

* add support for case insensitive userId names

* update unit test

* PubMatic bid adapter: support for FPD & Preauction module (#6623)

* Rubicon Bid Adapter: FPD Bug Fixes (#6578)

* Yieldmo adapter: cut banner bid request parameters in case the url for bunner request is too long (#6549)

Co-authored-by: Anton Tsymuk <antontsymuk@Antons-MacBook-Pro.local>

* FPD Update - Core/RP Analytics Adapter (#6612)

1) Update core to convert adUnits passed into requestBids (previously only global)
2) Update to RP Analytics adapter to look in ortb2Imp instead of legacy fpd

* ADXCG Bid Adapter: add video & parameter validation & other updates (#6577)

* Update adxcgBidAdapter.js

* Update adxcgcom .js client side adapter

* lgtm review update

* check for parameter existenct onBidWon

* Update adxcgBidAdapter.js

* Update adxcgBidAdapter.js

* Update adxcgBidAdapter.md

* Update adxcgBidAdapter.md

* Zeta bid adapter: add params to bid request (#6614)

* Submit Zeta Adapter to Prebid

* comments addressed

* demo changes

* additional polishing

* additional polishing

* Update hello_world.html

* remove extraneous changes to hello_world.html

* no, really this time

* additional polishing

* add unit test

* update to include additional OpenRTB fields and objects

* Update to include addtional OpenRTB fields and objects

* oneVideo Bid Adapter: content object mapping bug fix (VDEFECT-5405) (#6633)

* PR_REVIEW: added check for bidder name validity (#6491)

* added check for bidder name validity

* adding aliases in-scope for the validity check

* Kobler Bid Adapter: add new bid adapter (#6479)

* Implemented Kobler bidder adapter.

* Added missing '' to dealId example in parameters table.

* Added information on supporting the Floors module.

* Implemented tests for isBidRequestValid.

* Implemented tests for inherited functions.

* Removed unnecessary conditions and quotation marks.

* Added TODO about deciding what to do in debug mode.

* Added TODO about checking which currencies are allowed.

* Added information on parameters read from the first bid only.

* Fixed missing indexing operator when checking if mainSize is 0x0.

* Implemented tests for buildRequests.

* Implemented tests for interpretResponse.

* Implemented tests for onBidWon.

* Implemented tests for onTimeout.

* Added some missing semicolons.

* Removed TODO about allowed currencies.

* Removed setting test in debug mode and related TODOs.

* Removed optional pos parameter.

* Removed optional bidfloor parameter and use floorPrice instead of floorprice.

* Added support for multiple deal ID parameters.

* Fixed formatting.

* Added more explanation about the value of position param.

* Moved pos property into Kobler-specific banner extension.

* Simplifications based on PR comments.

* Use getRefererInfo to get page URL for timeout notifications.

* Removed TODO about auction type.

* Added information on how to generate a sample bid.

* Removed reading currency from currency.adServerCurrency.

* sspBC Bid Adapter: update to v4.8, bugfixes, & support for sending params.publisherId (#6575)

* add sspbc adapter

* tests for sspbc adapter

* sspBC adapter v4.5: set correct creativeId, add adomain to bid.meta, set test mode in adexchange, read site SN from bid response

* sspBC adapter v4.5: set meta.advertiserDomains, update test to expect bid.meta

* sspBC Adapter: add ajax tests (test ad with & without gdpr)

* sspBC Adapter: remove ajax tests

* Update adapter to v4.6

Update adapter to v4.6
- add notification endpoint
- send bidWon and onTimeout notifications
- send CMP version to user sync endpoint

* Remove console logs for notification events

* Change payload data in onTimeout event

* Update tests for sspBC adapter

Update tests for sspBC adapter: 
- add onBidWon test
- add onTimeout test
- alter getUserSyncs test

* Update sspBC adapter to v4.7; enable oneCodeId mode; change module name to ensure combatibility with prebid.org downloader

* sspBc adapter: Bug fixes in v4.7 - change notification format, fix oneCode detection data, convert slot number to int

* sspbc adapter: fix creating bid.crid, when not present in server response

* sspbc adapter: add publisher id to payload

* sspbc adapter: fix onecode issues (when bid.params is present, but incomplete)

* sspbc adapter: code cleanup

* sspbc adapter: ver up (4.8)

* sspbc-adapter: update doc

* [sspbc-adapter] update test settings

Co-authored-by: Wojciech Biały <wb@WojciechBialy.local>

* Create module registry: update build to add installModules array to pbjs global (#6601)

* - Remove module list comment on build
- Add pbjs.installedModules with macro to prebid.js
- Update gruntfile to replace macro with module array (if empty array all modules included))

* Removed unused code

* Removed comma

* Recommitting changes

* Updated regex to look for either '|" in macro name. Seems there is a difference between dev/prod

* SynacorMedia Bid Adapter: Create bid.params.video object if it's not already present on the video request since it's an optional property (#6637)

* Prebid Core: Readme.md import name change (#6638)

* Update eids.js

* Update eids_spec.js

* Update eids.js

* Update pubmaticBidAdapter_spec.js

* Update eids.js

* Update eids_spec.js

* Update conversantBidAdapter_spec.js

* Update rubiconBidAdapter_spec.js

* Update conversantBidAdapter_spec.js

* Delete test/spec/adapters directory

* Update userId_spec.js

* Delete iasBidAdapter.js

* Add files via upload

* Update README.md

* Update README.md

* PBS Bid Adapter: Stop overriding s2sconfig.enabled from vendor defaults (#6622)

* Update eids.js

* Update eids_spec.js

* Update eids.js

* Update pubmaticBidAdapter_spec.js

* Update eids.js

* Update eids_spec.js

* Update conversantBidAdapter_spec.js

* Update rubiconBidAdapter_spec.js

* Update conversantBidAdapter_spec.js

* Delete test/spec/adapters directory

* Update userId_spec.js

* Delete iasBidAdapter.js

* Add files via upload

* Update index.js

* RP Bid Adapter: Bug fix for parsing ortb2.user.data (#6643)

* Bug fix when parsing FPD data. Check for taxonomyname existence prior to match

* Lint check

* AdRiver Bid Adapter: add new bid adapter (#6514)

* AdRiver Bid Adapter: initial prebid.js integration
* Added AdRiver Bid Adapter

* AdRiver Bid Adapter: update getting floor, via getFloor()
* Added internal method _getFloor()
* Update test for getFloor()
* Remove old currency logic

* AdRiver Bid Adapter: update adriverBidAdapter.md
* Delete old test parameters

* AdRiver Bid Adapter: add meta.advertiserDomains
* Added parameter meta.advertiserDomains to interpretResponse
* Update test for meta.advertiserDomains

* hotfix - placement issue fix (#6641)

* Prebid 4.36.0 Release

* PBJS RP adapter: pass analytics flag to server (#6644)

* Increment pre version

* Adkernel: new alias (#6608)

* Ccx Bid Adapter: adomain support (#6595)

* Qwarry Bid Adapter: added gdpr field (#6635)

* qwarry bid adapter

* formatting fixes

* fix tests for qwarry

* qwarry bid adapter

* add header for qwarry bid adapter

* bid requests fix

* fix tests

* response fix

* fix tests for Qwarry bid adapter

* add pos parameter to qwarry bid adapter

* qwarryBidAdapter onBidWon hotfix

* Change bidder endpoint url for Qwarry adapter

* add referer JS detection

* use bidderRequest.refererInfo

* fix tests

* GDPR consent string support

* NPE fix

* gdpr value added

* merge master

* gdpr value added

* qwarry bid adapter: add tests

Co-authored-by: Artem Kostritsa <akostritsa@akostritsa.com>
Co-authored-by: Alexander Kascheev <akascheev@asteriosoft.com>

* Adf Bid Adapter: rename adformOpenRTB adapter; add former name as alias (#6642)

* GumGum Bid Adapter: use ad response sizes when found (#6649)

* adds meta field to bidresponse

* adds meta mediatype and advertiserdomain default

* use response sizes in bidresponse

* Rubicon Bid Adapter: add outstream rendering (#6469)

* Magnite renderer support for Oustream ads

* add functions for hiding ad units

* Add unit tests

* adding open source location of renderer

* better minification

Co-authored-by: bretg <bgorsline@gmail.com>

* Halo RTD submodule: update docs (#6651)

* sid into tags for ZetaSsp (#6636)

Co-authored-by: Surovenko Alexey <surovenko.alexey@gmail.com>

* Add module name to storage manager; catch errors (#6596)

* Adnuntius Bid Adatpter: Meta field advertiser domain update. (#6652)

* RTD Provider rebase

* wrongly merged to master

* Added meta field for advertiser domains.

* Gnet Bid Adapter: add new bid adapter (#6536)

* Add files via upload

* Add files via upload

* Change params on gnetBidder

* ADJ - Use parseSizesInput to get sizes
ADJ - Check serverResponse object
ADJ - Remove getUserSyncs function

* ADJ - Change prebid endpoint

* ADJ - Change endpoint on test

* TheMediaGrid Bid Adapter: added support of PBAdSlot module (#6609)

* Added TheMediaGridNM Bid Adapter

* Updated required params for TheMediaGridNM Bid Adapter

* Update TheMediGridNM Bid Adapter

* Fix tests for TheMediaGridNM Bid Adapter

* Fixes after review for TheMediaGridNM Bid Adapter

* Add support of multi-format in TheMediaGrid Bid Adapter

* Update sync url for grid and gridNM Bid Adapters

* TheMediaGrid Bid Adapter: added keywords adUnit parameter

* Update TheMediaGrid Bid Adapter to support keywords from config

* Implement new request format for TheMediaGrid Bid Adapter

* Fix jwpseg params for TheMediaGrid Bid Adapter

* Update unit tests for The Media Grid Bid Adapter

* Fix typo in TheMediaGrid Bid Adapter

* Added test for jwTargeting in TheMediaGrid Bid Adapter

* The new request format was made by default in TheMediaGrid Bid Adapter

* Update userId format in ad request for TheMediaGrid Bid Adapter

* Added bidFloor parameter for TheMediaGrid Bid Adapter

* Fix for review TheMediaGrid Bid Adapter

* Support floorModule in TheMediaGrid Bid Adapter

* Fix empty bidfloor for TheMediaGrid Bid Adapter

* Some change to restart autotests

* Fix userIds format for TheMediaGrid Bid Adapter

* Remove digitrust userId from TheMediaGrid Bid Adapter

* Protocols was added in video section in ad request for TheMediaGrid Bid Adapter

* TheMediaGrid: fix trouble with alias using

* TheMediaGridNM: fix trouble with alias

* TheMediaGrid Bid Adapter: added support of PBAdSlot module

* TheMediaGrid Bid Adapter: fix typo

* Sonobi Bid Adapter: added Coppa Flag check (#6631)

* Sonobi - Added Coppa Flag check

* added unit test for sonobi coppa flag

* GothamAds Bid Adapter: add at, ccpa, gdpr and coppa support  (#6470)

* update gothamAds adapter

* update GothamAdsAdapter according to commetns. Add meta for adomains

* Rubicon Bid Adapter: Added new size - Id 558 (640x640) (#6658)

* AOL, RTBHouse, RhythmOne, Teads, OpenX and DeepIntent Bid Adapters: add support for meta.advertiserDomains (#6656)

* Update eids.js

* Update eids_spec.js

* Update eids.js

* Update pubmaticBidAdapter_spec.js

* Update eids.js

* Update eids_spec.js

* Update conversantBidAdapter_spec.js

* Update rubiconBidAdapter_spec.js

* Update conversantBidAdapter_spec.js

* Delete test/spec/adapters directory

* Update userId_spec.js

* Delete iasBidAdapter.js

* Add files via upload

* Update deepintentBidAdapter.js

* Update deepintentBidAdapter_spec.js

* Update rtbhouseBidAdapter.js

* Update rtbhouseBidAdapter_spec.js

* Update deepintentBidAdapter.js

* Update rtbhouseBidAdapter.js

* Update rtbhouseBidAdapter.js

* Update rtbhouseBidAdapter_spec.js

* Update deepintentBidAdapter.js

* Update rhythmoneBidAdapter.js

* Update rhythmoneBidAdapter_spec.js

* Update aolBidAdapter.js

* Update aolBidAdapter_spec.js

* Update aolBidAdapter.js

* Update aolBidAdapter.js

* Update teadsBidAdapter.js

* Update teadsBidAdapter_spec.js

* Update openxBidAdapter_spec.js

* Update openxBidAdapter.js

* Update openxBidAdapter.js

* Update openxBidAdapter_spec.js

* Update openxBidAdapter.js

* Adnuntius Bid Adapter: bugfix to set undefined if no bids (#6662)

* RTD Provider rebase

* wrongly merged to master

* Added meta field for advertiser domains.

* Fixing bug where losing bids throw undefined into the response.

* Wrapped if-statement

* pass auctionId (#6664)

* ucfunnel Bid Adapter: add support for Unified ID 2 (#6647)

* Add a new ucfunnel Adapter and test page

* Add a new ucfunnel Adapter and test page

* 1. Use prebid lib in the repo to keep updated
2. Replace var with let
3. Put JSON.parse(JSON.stringify()) into try catch block

* utils.getTopWindowLocation is a function

* Change to modules from adapters

* Migrate to module design

* [Dev Fix] Remove width and height which can be got from ad unit id

* Update ucfunnelBidAdapter to fit into new spec

* Correct the endpoint. Fix the error of query string

* Add test case for ucfunnelBidAdapter

* Fix lint error

* Update version number

* Combine all checks on bid request

* Add GDPR support for ucfunnel adapter

* Add in-stream video and native support for ucfunnel adapter

* Remove demo page. Add more test cases.

* Change request method from POST to GET

* Remove unnecessary comment

* Support vastXml and vastUrl for video request

* update TTL to 30 mins

* Avoid using arrow function which is not discuraged in mocha

* ucfunnel tdid support

* ucfunnel fix error message in debug mode

* ucfunnel adapter add bidfloor parameter

* ucfunnel adapter support CCPA

* ucfunnel adapter native support clicktrackers

* ucfunnel adapter change cookie sync setting

* ucfunnel adapter update request parameter

* Update ucfunnelBidAdapter

* ucfunnel adapter add currency in ad response

* ucfunnel adapter support uid2

Co-authored-by: root <root@ubuntu.members.linode.com>
Co-authored-by: Ryan Chou <ryanchou0210@gmail.com>
Co-authored-by: ucfunnel <support@ucfunnel.com>
Co-authored-by: jack.hsieh <moonnight8520@gmail.com>

* Intent IQ ID Systems: first party updates (#6618)

* New features in iiq

* intentIqIdSystem.js updated logic & tests

* Tests fix

* api update

* tests update

* Outbrain Bid Adapter: fix usersync query parameter formatting (#6668)

* Sovrn Bid Adapter: added FPD support (#6639)

* added FPD support

* using proper package-lock.json

* Consent Management Module: TCFApi in Iframe callId fix (#6634)

* fix random id

* lint

* fix for real

Co-authored-by: Reinout Stevens <reinout@crazygames.com>

* add support for non-purpose1 consent domains to appnexus and PBS bid adapters (#6484)

* add support for non-purpose1 consent domains

* fix logic and consentdata to clientSideSyncs

* update openx vendor config

* TheMediaGrid Bid Adapter: Coppa support (#6655)

* Added TheMediaGridNM Bid Adapter

* Updated required params for TheMediaGridNM Bid Adapter

* Update TheMediGridNM Bid Adapter

* Fix tests for TheMediaGridNM Bid Adapter

* Fixes after review for TheMediaGridNM Bid Adapter

* Add support of multi-format in TheMediaGrid Bid Adapter

* Update sync url for grid and gridNM Bid Adapters

* TheMediaGrid Bid Adapter: added keywords adUnit parameter

* Update TheMediaGrid Bid Adapter to support keywords from config

* Implement new request format for TheMediaGrid Bid Adapter

* Fix jwpseg params for TheMediaGrid Bid Adapter

* Update unit tests for The Media Grid Bid Adapter

* Fix typo in TheMediaGrid Bid Adapter

* Added test for jwTargeting in TheMediaGrid Bid Adapter

* The new request format was made by default in TheMediaGrid Bid Adapter

* Update userId format in ad request for TheMediaGrid Bid Adapter

* Added bidFloor parameter for TheMediaGrid Bid Adapter

* Fix for review TheMediaGrid Bid Adapter

* Support floorModule in TheMediaGrid Bid Adapter

* Fix empty bidfloor for TheMediaGrid Bid Adapter

* Some change to restart autotests

* Fix userIds format for TheMediaGrid Bid Adapter

* Remove digitrust userId from TheMediaGrid Bid Adapter

* Protocols was added in video section in ad request for TheMediaGrid Bid Adapter

* TheMediaGrid: fix trouble with alias using

* TheMediaGridNM: fix trouble with alias

* TheMediaGrid Bid Adapter: added support of PBAdSlot module

* TheMediaGrid Bid Adapter: fix typo

* TheMediaGrid Bid Adapter: support coppa

* Trigger AUCTION_DEBUG from utils.logWarn with type set to WARNING (#6645)

* added support for pubcommon, digitrust, id5id

* added support for IdentityLink

* changed the source for id5

* added unit test cases

* changed source param for identityLink

* emit AUCTION_DEBUG for logWarn with type WARNING

* fixed the unit test case

* Tappx Bid Adapter: optional ext on request (#6659)

* UPDATE: add initial UID

* UPDATE: UID change user ext

* UPDATE: UID clean logs

* UPDATE: add host info

* UPDATE: tappx bid adapter universal id

* UPDATE: fix bidder param

* UPDATE: tappxBidAdapter tests

* tappxBidAdapter - fix spacing

* tappxBidAdapter: add test  user eids array

* tappxBidAdapter: update eids array

* FIX: package-lock.json

* Conversant adapter: add adomain, remove digitrust (#6495)

* Update eids.js

* Update eids_spec.js

* Update eids.js

* Update pubmaticBidAdapter_spec.js

* Update eids.js

* Update eids_spec.js

* Update conversantBidAdapter_spec.js

* Update rubiconBidAdapter_spec.js

* Update conversantBidAdapter_spec.js

* Delete test/spec/adapters directory

* Update userId_spec.js

* Update conversantBidAdapter.js

* Update conversantBidAdapter_spec.js

* Update conversantBidAdapter_spec.js

* Update conversantBidAdapter_spec.js

* Rads Bid Adapter: add GDPR support & user sync support (#6455)

* Proxistore Bid Adapter: add cookieless url endpoint & use floor module (#6427)

* use floor module

* call cookieless endpoint when necessary

* test endpoint url

* change url endpoint

* delete console log

* fix tests

* add language to url

* use ortb interface

* unit test

* update test unit

* create proxistore module

* add unit tests and documentation

* delete modules

* delete module

* add proxistore rtd submodule

* delete proxistore module

* spacing

* change url

* AdYoulike Bid Adapter: Add an "Insertion" tracking for Native mediatype (#6481)

* add insertion event

* add missing campaign ID parameter

* update unit test with new tracking checked

* Dspx Bid Adapter : add user sync support (#6456)

* Add sync support for dspx adapter

* Dspx Bid Adapter : add user sync support

Co-authored-by: Alexander <avj83@list.ru>

* Multibid Module: add new module to handle multiple bids from single bidder & update rubicon adapter (#6404)

* Multibid module - create new module
- Expands the number of key value pairs going to the ad server in the normal Prebid way by establishing the concept of a "dynamic alias"

First commit

* Continued updates from 1st commit

* Adding logWarn for filtered bids

* Update to include passing multibid configuration to PBS requests

* Update to rubicon bid adapter to pass query param rp_maxbids value taken from bidderRequest.bidLimit

* Update to config to look for camelcase property names according to spec. These convert to all lowercase when passed to PBS endpoint

* Adjust RP adapter to always include maxbids value - default is 1

* Added support for bidders array in multibid config

* Fixed floor comparison to be <= bid cpm as oppossed to just < bid cpm. Updated md file to fix camelCase tpyo

* Update to include originalBidderRequest in video call to prebid cache

* Update to ignore adpod bids from multibid and allow them to return as normal bids

* Adding uid2 to submodules.json (#6508)

* NextRoll ID System: add new ID module (#6396)

* Add Nextroll ID Module

* Add nextroll to eids

* Make configuration value names consistent with Adapter Module

* Use parnerId instead of sellerId

* Add nextroll to userId and eids md files

* Remove storage configuration

* Rename nextroll -> nextrollId

* Add nextrollId to common ID specs

* Qwarry Bid Adapter: add GDPR and consent string handling (#6489)

* qwarry bid adapter

* formatting fixes

* fix tests for qwarry

* qwarry bid adapter

* add header for qwarry bid adapter

* bid requests fix

* fix tests

* response fix

* fix tests for Qwarry bid adapter

* add pos parameter to qwarry bid adapter

* qwarryBidAdapter onBidWon hotfix

* Change bidder endpoint url for Qwarry adapter

* add referer JS detection

* use bidderRequest.refererInfo

* fix tests

* GDPR consent string support

* NPE fix

Co-authored-by: Artem Kostritsa <akostritsa@akostritsa.com>
Co-authored-by: Alexander Kascheev <akascheev@asteriosoft.com>
Co-authored-by: pro-nsk <32703851+pro-nsk@users.noreply.github.com>

* Zemanta Bid Adapter: add support for new params & consent strings to usersync URL (#6468)

* add gvl id to spec

* add support for bcat and badv params

* add consent strings to usersync url

* add bcat and badv params to doc

* Automatad Bid Adapter: Add meta.advertiserDomains to bid response (#6509)


* added bid meta with advertiserDomains

* Adhese Bid Adapter: add support for caching video content (#6501)

* adpod category support test

* Revert "adpod category support test"

This reverts commit 70a3cf2ad5db94757addd9e08c3a083caca282d0.

* adpod category support test

* Revert "adpod category support test"

This reverts commit 70a3cf2ad5db94757addd9e08c3a083caca282d0.

* Adhese Bid Adapter: cache video content

Co-authored-by: Tim Sturtewagen <tim@adhese.com>
Co-authored-by: Mateusz <mateusz@adhese.eu>

* update apacdex unit test to disable debug mode (#6511)

* Telaria: not setting adid (#6507)

* Prebid 4.33.0 Release

* increment pre version

* rubicon: removing maxduration as a required bidder parameter (#6513)

* Zemanta adapter: add advertiserDomains (#6517)

* Lemma Bid Adapter: accepting the floor to use the getFloor function (#6497)

* lemmaBidAdapter.js

Added lemma bid adapter file

* lemmaBidAdapter.md

Added lemma bid adapter md file

* lemmaBidAdapter_spec.js

Added lemma bid adapter test spec file

* Update lemmaBidAdapter.js

Fixed automated code review alert comparison between inconvertible types

* Update lemmaBidAdapter.js

Fixed review changes

* Update lemmaBidAdapter.md

Correct parameter value.

* Update lemmaBidAdapter.js

Lemma Bid Adapter - v3.0 compliance

* Update lemmaBidAdapter_spec.js

Lemma Bid Adapter - v3.0 compliance

* Update lemmaBidAdapter.md

Lemma Bid Adapter - v3.0 compliance

* Update lemmaBidAdapter.js

Added user sync support into bid adapter.

* updated include modules file extension.

updated include modules js file extension.

* Update lemmaBidAdapter_spec.js

Added unit test for user sync feature.

* Update lemmaBidAdapter.js

Fixed format error.

* Update lemmaBidAdapter_spec.js

Fixed format error and typo error.

* Set mediaType key value into bid object

Set mediaType key value into the bid object.

* Update lemmaBidAdapter.js

remove duplicate function

* Update lemmaBidAdapter.js

Remove non supported code.

* Update lemmaBidAdapter_spec.js

Remove GDPR test cases.

* Update lemmaBidAdapter.js

Made changes for accepting the floor to use the getFloor function

* Update lemmaBidAdapter.js

correct undefined keyword name.

* Update lemmaBidAdapter_spec.js

Added test coverage floor value

* Update lemmaBidAdapter.js

Remove trailing spaces on lines 379 and 381.

* Update lemmaBidAdapter_spec.js

Added getFloor function test case changes, Please review it.

* Update lemmaBidAdapter_spec.js

* Update lemmaBidAdapter.js

* Update lemmaBidAdapter.js

Fixed lint issue.

* Update lemmaBidAdapter_spec.js

Fixed test cases.

* Update lemmaBidAdapter_spec.js

Made suggested changes. Please review it.

Co-authored-by: Abhijit Mane <abhipucsd.123@gmail.com>

* Mediasquare Bid Adapter: fix getUserSyncs issue with empty bids + add metrics to onBidWon Event (#6480)

* Mediasquare bidder: fix getUserSyncs issue with empty bids + add metrics to onBidWon Event

* Mediasquare bidder: fix getUserSyncs issue with empty bids + add metrics to onBidWon Event

* removing status as it does not seem populated when called

* add tests

* Update nextroll ID variable name to match published ID module (#6519)

* Merkle User ID Module: updates to user id submodule (#6503)

* AdKernel Bid/Analytics Adapters: user privacy related changes (#6488)

* SynacorMedia: remove adId from the bid response (#6520)

* Rubicon: making doc data types consistent (#6526)

* Synacormedia Bid Adapter: add meta.advertiserDomains (#6527)

* Adloox Analytics Adapter: add new analytics adapter (#6308)

* gulp: fix supplying list of browsers to test against

The following now works: gulp test --browserstack --nolint --nolintfix --browsers=bs_ie_11_windows_10 --file 'test/spec/modules/adloox{AnalyticsAdapter,AdServerVideo,RtdProvider}_spec.js'

* instreamTracking: unit test tidy

From @robertrmartinez in https://github.com/prebid/Prebid.js/pull/6308#issuecomment-810537538

* adloaderStub: expose stub for other unit tests to use

From @robertrmartinez in https://github.com/prebid/Prebid.js/pull/6308#issuecomment-810537538

* Adloox analytic module

* Seedtag adapter: Fixing bug preventing to receive the right params onTimeout. (#6525)

* adot bid adapter: add publisher path from bidder config to endpoint url (#6476)

* Admixer ID System: add userId submodule  (#6238)

* Migrating to Prebid 1.0

* Migrating to Prebid 1.0

* Fix spec

* add gdpr and usp

* remove changes in gdpr_hello_world.html

* Update gdpr_hello_world.html

add spaces

* add user syncs

* remove comments

* tests

* admixer id system

* admixer id system

* admixer id system eids.md userId.md

* admixer id system .submodules.json

* admixer id system

Co-authored-by: atkachov <atkachov91@admixer.ua>

* PBJS Core: call custom render func after loadscript if provided (#6422)

* Pubxai Analytics Adapter: bug fixes and code revamp (#6474)

* Updated PubxAiAnalytics adapter - Bug fixes and Code restructuring

* Updated endpoint URLs

* Changed array.includes to array.indexOf to fix IE issue

* Code cleanup and changes as suggested.

* Updated browser testing order and edge browser token

* PBJS Core: canBidderRegisterSync ignoring iframe sync disabled by default (#6535)

* Update eids.js

* Update eids_spec.js

* Update eids.js

* Update pubmaticBidAdapter_spec.js

* Update eids.js

* Update eids_spec.js

* Update conversantBidAdapter_spec.js

* Update rubiconBidAdapter_spec.js

* Update conversantBidAdapter_spec.js

* Delete test/spec/adapters directory

* Update userId_spec.js

* Update userSync.js

* Update userSync_spec.js

* Added automatic tzo and targetId to adserver request. (#6534)

* Impactify Bid Adapter: add new bid adapter (#6518)

* Add impactify adapter with MD file

* Add impactify adapter

* Prebid 4.34.0 Release

* Increment pre version

* Prebid server adapter: add config for openx hosting (#6530)

* Yieldmo adapter: add meta data to bids (#6550)

* Smartx Bid Adapter: Add meta.advertiserDomains support (#6547)

* Onevideo / Adap.tv Adapter: updated example configuration (#6546)

* Mass Deal Rendering Module: support multiple custom configs for dealId and rendering (#6500)

* ZetaSsp Bid Adapter: add new bid adapter (#6432)

* Adnuntius Bid Adapter: Fix for bid too low. (#6557)

* Added automatic tzo and targetId to adserver request.

* Fixing issues with bid price being too low.

* Fixing issues with bid price being too low.

* ReadPeak Bid Adapter: fix api issues, add gdpr consent, & getfloor module support (#6548)

* BetweenBidAdatper: added sharedid support (#6531)

* adWMG Bid Adapter: update endpoints for cookie sync (#6544)

* Support floorCPM parameter, fix some minor bugs

* fix space-in-parens circleci error

* example fix

* clean usersync URL

* spaces

* spaces

* add new unit tests, compatibility with IE11

* remove logInfo

* Check for floorCPM value

* Check params before sending

* New endpoints

* code format

* new endpoint for cookie sync

* update tests

Co-authored-by: Mikhail Dykun <m.dykun@wmgroup.us>

* Yieldmo Bid Adapter: add support for the floors module (#6541)

* Sortable Bid Adapter: add eids support (#6565)

* Add Sortable adapter for Prebid 3.x

Update tests to reflect changes.

* Add .js in imports

* hostname not host: don't include port

* Trivial change to trigger build: failure wasn't our adapter

* More failures in other adapters

* PR Feedback

- use https for URL
- fix examples in markdown
- request to endpoint should work now

* Feedback: add native and video examples

* Update unit tests

Co-authored-by: Shannon Broekhoven <shannon@sortable.com>

* Outbrain Bid Adapter: replacing Zemanta (#6558)

* Sirdata Real-time Data Module: add new RTD module (#6515)

* Logicad Bid Adapter: add support for userid modules (#6529)

* ATS-identityLinkIdSystem - add use3P config property to control firing of 3P envelope endpoint (#6568)

* Proxistore Bid Adapter: add support for tcf v2 consent (#6543)

* use tcf v2 consent

* set cosentGiven to false and test Gdpr api v2

* BlueBillyWig Bid Adapter: add renderer customization options (#6540)

* add Blue Billywig adapter

* Blue Billywig Adapter - update according to review feedback

* Blue Billywig Adapter - update to try and pass CircleCI

* Remove the last for .. of in bluebillywigBidAdapter.js, hopefully...

* Update bluebillywigBidAdapter test parameters to match renderer to rendererCode rename

* Blue Billywig - Also pass through site config with OpenRTB request

* add Blue Billywig adapter

* Blue Billywig Adapter - update according to review feedback

* Blue Billywig Adapter - update to try and pass CircleCI

* Remove the last for .. of in bluebillywigBidAdapter.js, hopefully...

* Code quality update, always hit user syncs, improved video params

* Remove unnecessary export

* Add rendererSettings param to bluebillywig adapter

* Kick off CircleCi tests manually

Co-authored-by: Klaas-Jan Boon <klaas-janboon@ip-172-16-224-85.eu-west-1.compute.internal>
Co-authored-by: Chris Huie <phoenixtechnerd@gmail.com>

* OpenX Bid Adapter: Set Deal ID for video requests (#6573)

* 33Across Bid Adapter: add support for User ID modules (#6554)

* pubGENIUS bid adapter: support floor module (#6555)

* Welect Bid Adapter: update url of API (#6570)

* update api url

* update api url in tests

* Bright Mountain Media Bid Adapter: change bidder code to bmtm; alias old name (#6574)

* Adtelligent Bid Adapter: add adUrl support & new alias (#6559)

* add adUrl support

* add adUrl test

* Bright Mountain Media Bid Adapter: Change Endpoint URL (#6576)

* tappxBidAdapter: update

* tasppxBidAdapter: add video

* tappxBidAdapter: update video

* tappxBidAdapter: update name interpret banner

* tappxBidAdapter: add tests for video

* tappxBidAdapter: add adomain

* tappxBidAdapter: update adapter version

* tappxBidAdapter: update interpretBid adomain and dealid

* tappxBidAdapter: update isBidRequestValid

* tappxBidAdapter: update tests. Adding video to isBidRequestValid

* tappxBidAdapter: update doc .md file

* Tappx - Allow optional ext object

* Tappx - CircleCI hotfixes

* Tappx - CircleCI hotfixes2

* Tappx - Avoid outBrain

Co-authored-by: marc_tappx <marc@tappx.com>
Co-authored-by: Patrick McCann <patmmccann@gmail.com>
Co-authored-by: onlsol <48312668+onlsol@users.noreply.github.com>
Co-authored-by: vincentproxistore <56686565+vincentproxistore@users.noreply.github.com>
Co-authored-by: guiann <guillaume.andouard@adyoulike.com>
Co-authored-by: Alexander <avj83@list.ru>
Co-authored-by: mmoschovas <63253416+mmoschovas@users.noreply.github.com>
Co-authored-by: SKOCHERI <37454420+SKOCHERI@users.noreply.github.com>
Co-authored-by: Abimael Martinez <abijr@users.noreply.github.com>
Co-authored-by: artemiokost <artemiokost@gmail.com>
Co-authored-by: Artem Kostritsa <akostritsa@akostritsa.com>
Co-authored-by: Alexander Kascheev <akascheev@asteriosoft.com>
Co-authored-by: pro-nsk <32703851+pro-nsk@users.noreply.github.com>
Co-authored-by: Rok Sušnik <rsusnik@outbrain.com>
Co-authored-by: Kanchika - Automatad <kanchika@automatad.com>
Co-authored-by: Paweł L <pawel.lankocz@adhese.eu>
Co-authored-by: Tim Sturtewagen <tim@adhese.com>
Co-authored-by: Mateusz <mateusz@adhese.eu>
Co-authored-by: jsnellbaker <31102355+jsnellbaker@users.noreply.github.com>
Co-authored-by: bretg <bgorsline@gmail.com>
Co-authored-by: Jason Snellbaker <jsnellbaker@appnexus.com>
Co-authored-by: Lemma Dev <54662130+lemmadev@users.noreply.github.com>
Co-authored-by: Abhijit Mane <abhipucsd.123@gmail.com>
Co-authored-by: matthieularere-msq <63732822+matthieularere-msq@users.noreply.github.com>
Co-authored-by: Denis Logachov <denis@adkernel.com>
Co-authored-by: RAJKUMAR NATARAJAN <raj.cs.psg@gmail.com>
Co-authored-by: Alexander Clouter <alex+github@digriz.org.uk>
Co-authored-by: Laura Morillo-Velarde <laura.morillovelarde@gmail.com>
Co-authored-by: Giudici-a <34242194+Giudici-a@users.noreply.github.com>
Co-authored-by: Galphimbl <sashatkachov91@gmail.com>
Co-authored-by: atkachov <atkachov91@admixer.ua>
Co-authored-by: Jérémie Girault <jeremie.girault@gmail.com>
Co-authored-by: Phaneendra Hegde <pnhegde@users.noreply.github.com>
Co-authored-by: Mikael Lundin <mikael-lundin@users.noreply.github.com>
Co-authored-by: Thomas <thomas.dseao@gmail.com>
Co-authored-by: Mike Chowla <mike.chowla@pubmatic.com>
Co-authored-by: Deivydas Šabaras <deivydas@users.noreply.github.com>
Co-authored-by: ym-atsymuk <81176595+ym-atsymuk@users.noreply.github.com>
Co-authored-by: Skylinar <53079123+Skylinar@users.noreply.github.com>
Co-authored-by: Adam Browning <19834421+adam-browning@users.noreply.github.com>
Co-authored-by: Catalin Ciocov <catalin.ciocov@gmail.com>
Co-authored-by: asurovenko-zeta <80847074+asurovenko-zeta@users.noreply.github.com>
Co-authored-by: readpeaktuomo <66239046+readpeaktuomo@users.noreply.github.com>
Co-authored-by: Ignat Khaylov <ignat@ignat.one>
Co-authored-by: nyakove <43004249+nyakove@users.noreply.github.com>
Co-authored-by: Mikhail Dykun <m.dykun@wmgroup.us>
Co-authored-by: ym-dlabuzov <81709888+ym-dlabuzov@users.noreply.github.com>
Co-authored-by: karentnarvaez <61426156+karentnarvaez@users.noreply.github.com>
Co-authored-by: Shannon Broekhoven <shannon@sortable.com>
Co-authored-by: nouchy <33549554+nouchy@users.noreply.github.com>
Co-authored-by: logicad <dev-ex-service@so-netmedia.jp>
Co-authored-by: mamatic <52153441+mamatic@users.noreply.github.com>
Co-authored-by: Klaas-Jan Boon <klaas-janboon@live.nl>
Co-authored-by: Klaas-Jan Boon <klaas-janboon@ip-172-16-224-85.eu-west-1.compute.internal>
Co-authored-by: Chris Huie <phoenixtechnerd@gmail.com>
Co-authored-by: Kenan Gillet <1706856+kenan-gillet@users.noreply.github.com>
Co-authored-by: Aparna Rao <aparna.hegde@33across.com>
Co-authored-by: Meng <5110935+edmonl@users.noreply.github.com>
Co-authored-by: Nick Duitz <42961155+nduitz@users.noreply.github.com>
Co-authored-by: BrightMountainMedia <69471268+BrightMountainMediaInc@users.noreply.github.com>
Co-authored-by: Gena <wertixvost@gmail.com>
Co-authored-by: Albert Grandes <agrandes@tappx.com>

* Prebid 4.37.0 Release

* oneVideo Bid Adapter: Price Floors Module Support (SAPR-16735) (#6672)

* Spread adUnit.ortb2Imp.ext into imp object (#6494)

* appnexus bid adapter - ensure withCredentials is always passed (#6675)

* Axonix Bid Adapter: Fixed interpretResponse, support email (#6667)

* Fixed interpretResponse, support email

* onBidWon gets single bids

* replaceAuctionPrice call fix

* Version bump

* Smartico Bid Adapter: add new bid adapter (#6486)

* Adding smartico adapter

* bug #6486 fix, added maintainer email

* bug #6486 fix, modified test parameters

* bug #6486 fix, modified test parameters #2

* #6486 applied review related updates & fixes

* #6486 applied review related updates & fixes #2

* #6486 applied review related updates & fixes #3

Co-authored-by: Dmitri <dmitri@atomdev.net>

* Interactive Offers Bid Adapter: add data to response object (#6680)

Co-authored-by: EC2 Default User <ec…
  • Loading branch information
Show file tree
Hide file tree
Showing 91 changed files with 3,201 additions and 512 deletions.
6 changes: 3 additions & 3 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,12 +170,12 @@ function makeWebpackPkg() {
.pipe(webpackStream(cloned, webpack))
.pipe(uglify())
.pipe(replace(/('|")v\$prebid\.modulesList\$('|")/g, makeModuleList(externalModules)))
.pipe(gulpif(file => file.basename === 'prebid-core.js', header(banner, { prebid: prebid})))
.pipe(gulpif(file => file.basename === 'prebid-core.js', header(banner, { prebid: prebid })))
.pipe(gulp.dest('build/dist'));
}

function getModulesListToAddInBanner(modules){
return (modules.length > 0) ? modules.join(', ') : 'All available modules in current version.';
function getModulesListToAddInBanner(modules) {
return (modules.length > 0) ? modules.join(', ') : 'All available modules in current version.';
}

function gulpBundle(dev) {
Expand Down
7 changes: 6 additions & 1 deletion modules/.submodules.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,15 @@
],
"rtdModule": [
"browsiRtdProvider",
"geoedgeRtdProvider",
"haloRtdProvider",
"jwplayerRtdProvider",
"permutiveRtdProvider",
"reconciliationRtdProvider",
"geoedgeRtdProvider",
"sirdataRtdProvider"
],
"fpdModule": [
"enrichmentFpdModule",
"validationFpdModule"
]
}
8 changes: 8 additions & 0 deletions modules/33acrossBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,8 @@ function interpretResponse(serverResponse, bidRequest) {

// All this assumes that only one bid is ever returned by ttx
function _createBidResponse(response) {
const isADomainPresent =
response.seatbid[0].bid[0].adomain && response.seatbid[0].bid[0].adomain.length;
const bid = {
requestId: response.id,
bidderCode: BIDDER_CODE,
Expand All @@ -582,6 +584,12 @@ function _createBidResponse(response) {
netRevenue: true
}

if (isADomainPresent) {
bid.meta = {
advertiserDomains: response.seatbid[0].bid[0].adomain
};
}

if (bid.mediaType === VIDEO) {
const vastType = utils.deepAccess(response.seatbid[0].bid[0], 'ext.ttx.vastType', 'xml');

Expand Down
6 changes: 5 additions & 1 deletion modules/adagioBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { OUTSTREAM } from '../src/video.js';

export const BIDDER_CODE = 'adagio';
export const LOG_PREFIX = 'Adagio:';
export const VERSION = '2.8.0';
export const VERSION = '2.10.0';
export const FEATURES_VERSION = '1';
export const ENDPOINT = 'https://mp.4dex.io/prebid';
export const SUPPORTED_MEDIA_TYPES = [BANNER, NATIVE, VIDEO];
Expand Down Expand Up @@ -1019,6 +1019,10 @@ export const spec = {
const bidReq = (find(bidRequest.data.adUnits, bid => bid.bidId === bidObj.requestId));

if (bidReq) {
bidObj.meta = utils.deepAccess(bidObj, 'meta', {});
bidObj.meta.mediaType = bidObj.mediaType;
bidObj.meta.advertiserDomains = (Array.isArray(bidObj.aDomain) && bidObj.aDomain.length) ? bidObj.aDomain : [];

if (bidObj.mediaType === VIDEO) {
const mediaTypeContext = utils.deepAccess(bidReq, 'mediaTypes.video.context');
// Adagio SSP returns a `vastXml` only. No `vastUrl` nor `videoCacheKey`.
Expand Down
1 change: 1 addition & 0 deletions modules/adformBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ export const spec = {
currency: response.win_cur,
netRevenue: bidRequest.netRevenue !== 'gross',
ttl: 360,
meta: { advertiserDomains: response && response.adomain ? response.adomain : [] },
ad: response.banner,
bidderCode: bidRequest.bidder,
transactionId: bid.transactionId,
Expand Down
18 changes: 17 additions & 1 deletion modules/adkernelBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,23 @@ const NATIVE_INDEX = NATIVE_MODEL.reduce((acc, val, idx) => {
export const spec = {
code: 'adkernel',
gvlid: GVLID,
aliases: ['headbidding', 'adsolut', 'oftmediahb', 'audiencemedia', 'waardex_ak', 'roqoon', 'andbeyond', 'adbite', 'houseofpubs', 'torchad', 'stringads', 'bcm', 'engageadx'],
aliases: [
{code: 'headbidding'},
{code: 'adsolut'},
{code: 'oftmediahb'},
{code: 'audiencemedia'},
{code: 'waardex_ak'},
{code: 'roqoon'},
{code: 'andbeyond'},
{code: 'adbite'},
{code: 'houseofpubs'},
{code: 'torchad'},
{code: 'stringads'},
{code: 'bcm'},
{code: 'engageadx'},
{code: 'converge_digital', gvlid: 248},
{code: 'adomega'}
],
supportedMediaTypes: [BANNER, VIDEO, NATIVE],

/**
Expand Down
4 changes: 4 additions & 0 deletions modules/admixerBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ export const spec = {
currency: bidResponse.currency,
vastUrl: bidResponse.vastUrl,
dealId: bidResponse.dealId,
/**
* currently includes meta.advertiserDomains ; networkId ; advertiserId
*/
meta: bidResponse.meta,
};
bidResponses.push(bidResp);
});
Expand Down
4 changes: 0 additions & 4 deletions modules/aolBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -271,10 +271,6 @@ export const spec = {
formatMarketplaceDynamicParams(params = {}, consentData = {}) {
let queryParams = {};

if (params.bidFloor) {
queryParams.bidfloor = params.bidFloor;
}

Object.assign(queryParams, this.formatKeyValues(params.keyValues));
Object.assign(queryParams, this.formatConsentData(consentData));

Expand Down
5 changes: 5 additions & 0 deletions modules/appnexusBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,11 @@ function newBid(serverBid, rtbBid, bidderRequest) {
}
};

// WE DON'T FULLY SUPPORT THIS ATM - future spot for adomain code; creating a stub for 5.0 compliance
if (rtbBid.adomain) {
bid.meta = Object.assign({}, bid.meta, { advertiserDomains: [] });
}

if (rtbBid.advertiser_id) {
bid.meta = Object.assign({}, bid.meta, { advertiserId: rtbBid.advertiser_id });
}
Expand Down
41 changes: 32 additions & 9 deletions modules/beachfrontBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ import { VIDEO, BANNER } from '../src/mediaTypes.js';
import find from 'core-js-pure/features/array/find.js';
import includes from 'core-js-pure/features/array/includes.js';

const ADAPTER_VERSION = '1.15';
const ADAPTER_VERSION = '1.16';
const ADAPTER_NAME = 'BFIO_PREBID';
const OUTSTREAM = 'outstream';
const CURRENCY = 'USD';

export const VIDEO_ENDPOINT = 'https://reachms.bfmio.com/bid.json?exchange_id=';
export const BANNER_ENDPOINT = 'https://display.bfmio.com/prebid_display';
Expand All @@ -19,7 +20,8 @@ export const DEFAULT_MIMES = ['video/mp4', 'application/javascript'];

export const SUPPORTED_USER_IDS = [
{ key: 'tdid', source: 'adserver.org', rtiPartner: 'TDID', queryParam: 'tdid' },
{ key: 'idl_env', source: 'liveramp.com', rtiPartner: 'idl', queryParam: 'idl' }
{ key: 'idl_env', source: 'liveramp.com', rtiPartner: 'idl', queryParam: 'idl' },
{ key: 'uid2.id', source: 'uidapi.com', rtiPartner: 'UID2', queryParam: 'uid2' }
];

let appId = '';
Expand Down Expand Up @@ -78,7 +80,7 @@ export const spec = {
creativeId: response.crid || response.cmpId,
renderer: context === OUTSTREAM ? createRenderer(bidRequest) : null,
mediaType: VIDEO,
currency: 'USD',
currency: CURRENCY,
netRevenue: true,
ttl: 300
};
Expand Down Expand Up @@ -110,7 +112,7 @@ export const spec = {
width: bid.w,
height: bid.h,
mediaType: BANNER,
currency: 'USD',
currency: CURRENCY,
netRevenue: true,
ttl: 300
};
Expand Down Expand Up @@ -250,6 +252,16 @@ function getPlayerBidParam(bid, key, defaultValue) {
return param === undefined ? defaultValue : param;
}

function getBannerBidFloor(bid) {
let floorInfo = utils.isFn(bid.getFloor) ? bid.getFloor({ currency: CURRENCY, mediaType: 'banner', size: '*' }) : {};
return floorInfo.floor || getBannerBidParam(bid, 'bidfloor');
}

function getVideoBidFloor(bid) {
let floorInfo = utils.isFn(bid.getFloor) ? bid.getFloor({ currency: CURRENCY, mediaType: 'video', size: '*' }) : {};
return floorInfo.floor || getVideoBidParam(bid, 'bidfloor');
}

function isVideoBidValid(bid) {
return isVideoBid(bid) && getVideoBidParam(bid, 'appId') && getVideoBidParam(bid, 'bidfloor');
}
Expand Down Expand Up @@ -279,7 +291,7 @@ function getEids(bid) {

function getUserId(bid) {
return ({ key, source, rtiPartner }) => {
let id = bid.userId && bid.userId[key];
let id = utils.deepAccess(bid, `userId.${key}`);
return id ? formatEid(id, source, rtiPartner) : null;
};
}
Expand Down Expand Up @@ -315,7 +327,7 @@ function createVideoRequestData(bid, bidderRequest) {
let firstSize = getFirstSize(sizes);
let video = getVideoTargetingParams(bid);
let appId = getVideoBidParam(bid, 'appId');
let bidfloor = getVideoBidParam(bid, 'bidfloor');
let bidfloor = getVideoBidFloor(bid);
let tagid = getVideoBidParam(bid, 'tagid');
let topLocation = getTopWindowLocation(bidderRequest);
let eids = getEids(bid);
Expand Down Expand Up @@ -351,10 +363,13 @@ function createVideoRequestData(bid, bidderRequest) {
regs: {
ext: {}
},
source: {
ext: {}
},
user: {
ext: {}
},
cur: ['USD']
cur: [CURRENCY]
};

if (bidderRequest && bidderRequest.uspConsent) {
Expand All @@ -367,6 +382,10 @@ function createVideoRequestData(bid, bidderRequest) {
payload.user.ext.consent = consentString;
}

if (bid.schain) {
payload.source.ext.schain = bid.schain;
}

if (eids.length > 0) {
payload.user.ext.eids = eids;
}
Expand All @@ -386,7 +405,7 @@ function createBannerRequestData(bids, bidderRequest) {
return {
slot: bid.adUnitCode,
id: getBannerBidParam(bid, 'appId'),
bidfloor: getBannerBidParam(bid, 'bidfloor'),
bidfloor: getBannerBidFloor(bid),
tagid: getBannerBidParam(bid, 'tagid'),
sizes: getBannerSizes(bid)
};
Expand Down Expand Up @@ -416,8 +435,12 @@ function createBannerRequestData(bids, bidderRequest) {
payload.gdprConsent = consentString;
}

if (bids[0] && bids[0].schain) {
payload.schain = bids[0].schain;
}

SUPPORTED_USER_IDS.forEach(({ key, queryParam }) => {
let id = bids[0] && bids[0].userId && bids[0].userId[key];
let id = utils.deepAccess(bids, `0.userId.${key}`)
if (id) {
payload[queryParam] = id;
}
Expand Down
24 changes: 11 additions & 13 deletions modules/beachfrontBidAdapter.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Module Name: Beachfront Bid Adapter

Module Type: Bidder Adapter

Maintainer: john@beachfront.com
Maintainer: prebid@beachfront.com

# Description

Expand All @@ -18,26 +18,24 @@ Module that connects to Beachfront's demand sources
mediaTypes: {
video: {
context: 'instream',
playerSize: [ 640, 360 ]
playerSize: [640, 360],
mimes: ['video/mp4', 'application/javascript']
}
},
bids: [
{
bidder: 'beachfront',
params: {
bidfloor: 0.01,
appId: '11bc5dd5-7421-4dd8-c926-40fa653bec76',
video: {
mimes: [ 'video/mp4', 'application/javascript' ]
}
appId: '11bc5dd5-7421-4dd8-c926-40fa653bec76'
}
}
]
}, {
code: 'test-banner',
mediaTypes: {
banner: {
sizes: [ 300, 250 ]
sizes: [300, 250]
}
},
bids: [
Expand All @@ -61,10 +59,11 @@ Module that connects to Beachfront's demand sources
mediaTypes: {
video: {
context: 'outstream',
playerSize: [ 640, 360 ]
playerSize: [640, 360],
mimes: ['video/mp4', 'application/javascript']
},
banner: {
sizes: [ 300, 250 ]
sizes: [300, 250]
}
},
bids: [
Expand All @@ -74,7 +73,6 @@ Module that connects to Beachfront's demand sources
video: {
bidfloor: 0.01,
appId: '11bc5dd5-7421-4dd8-c926-40fa653bec76',
mimes: [ 'video/mp4', 'application/javascript' ]
},
banner: {
bidfloor: 0.01,
Expand All @@ -95,7 +93,8 @@ Module that connects to Beachfront's demand sources
mediaTypes: {
video: {
context: 'outstream',
playerSize: [ 640, 360 ]
playerSize: [ 640, 360 ],
mimes: ['video/mp4', 'application/javascript']
}
},
bids: [
Expand All @@ -104,8 +103,7 @@ Module that connects to Beachfront's demand sources
params: {
video: {
bidfloor: 0.01,
appId: '11bc5dd5-7421-4dd8-c926-40fa653bec76',
mimes: [ 'video/mp4', 'application/javascript' ]
appId: '11bc5dd5-7421-4dd8-c926-40fa653bec76'
},
player: {
progressColor: '#50A8FA',
Expand Down
5 changes: 4 additions & 1 deletion modules/betweenBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,10 @@ export const spec = {
creativeId: serverResponse.body[i].creativeid,
currency: serverResponse.body[i].currency || 'RUB',
netRevenue: serverResponse.body[i].netRevenue || true,
ad: serverResponse.body[i].ad
ad: serverResponse.body[i].ad,
meta: {
advertiserDomains: serverResponse.body[i].adomain ? serverResponse.body[i].adomain : []
}
};
bidResponses.push(bidResponse);
}
Expand Down
Loading

0 comments on commit 161e93c

Please sign in to comment.