Skip to content

Commit

Permalink
Permutive rtd module: update dev docs (#8736)
Browse files Browse the repository at this point in the history
* Pull upstream (#24)

* BidWatch Analytics Adapter: add new analytics adapter (#8302)

* New Analytics Adapter bidwatch

* test for bidwatch Analytics Adapter

* change maintainer address

* Update bidwatchAnalyticsAdapter.js

* Update bidwatchAnalyticsAdapter.js

* Update bidwatchAnalyticsAdapter.md

* Update bidwatchAnalyticsAdapter.md

* Native ads: change asset param (#8371)

* TPMN  Bidder Adapter: write id in first party domain; force syncs with various parties (#8341)

* add TPMN UserSync Bidder Adapter(Test Modify)
Updating the source code that was forked in the past.
make test case more.
- add pb7 bidderSettings option
- userSync fix.

* fix indentation from CircleCI error report

* fix indentation from CircleCI error report

* fix indentation from CircleCI error report

* fix user sync. static user sync without checking uuid.

* fix user sync. static user sync without checking uuid.

* fix user sync. static user sync without checking uuid.

* fix user sync. static user sync without checking uuid.

Co-authored-by: changjun <changjun@tpmn.io>

* Jixie Bid Adapter: send device info (#8397)

* Adapter does not seem capable of supporting advertiserDomains #6650
added response comment and some trivial code.

* removed a blank line at the end of file
added a space behind the // in comments

* in response to comment from reviewer. add the aspect of advertiserdomain in unit tests

* added the code to get the keywords from the meta tags if available.

* to support sending object of device info to backend.
yes the backend can handle it even though device was a string so far

* LKQD Bid Adapter: remove device ip bug (#8400)

* LKQD: remove device ip from request

* LKQD: remove device IP test

* cpex Id System: initial release (#8364)

* Adds cpexIdSystem

* Fixes cpexIdSystem tests

* Added markdown document

* Remove unnecessary storage config

* UserID module: graceful handling of exceptions from ID submodules (#8401)

* Do not error out when malformed JSON is set in cookies

* UserID module: graceful handling of exceptions from ID submodules

* removing floor field from bid request when not defined (#8398)

* passing floors signal to PBS (#8392)

* add adunit floor min price floors (#8396)

* AirGrid RTD  module: Support for xandr / appnexus auction level keywords. (#8388)

* chore: update docs page to match official docs

* feat: add support for appnexus / xandr auction level keywords

* Alkimi Bid Adapter: change maintainer email (#8405)

* Alkimi bid adapter

* Alkimi bid adapter

* Alkimi bid adapter

* alkimi adapter

* onBidWon change

* sign utils

* auction ID as bid request ID

* unit test fixes

* change maintainer info

Co-authored-by: Alexander Bogdanov <akascheev@asteriosoft.com>

* TheMediaGrid: support ortb2.site.content.data (#8404)

* PubMatic Bid Adapter : Remove GroupM as alias (#8386)

* Changed net revenue to True

* Removed groupm as alias

* Pasing the alternateBidder values to translator

Co-authored-by: Azhar <azhar@L1119.local>

* Intentiq module: adding dynamic ttl and rtt and storing data in localstorate (#8384)

* Intentiq module: adding dynamic ttl and data to LS

* Fixing Useless conditional alerts

Co-authored-by: Julian <julian.rassolov@gmail.com>

* Floc ID Module: remove call for floc (#8402)

* Update flocIdSystem.js

* Update flocIdSystem.js

* Multiple modules: replace all usage of `require` with `import` (#8379)

We had multiple reports of an elusive issue that seems to be related to use of `require` (https://github.com/prebid/Prebid.js/issues/8374).

Since mixed use of `require` and `import`s is not great anyway, this is a good opportunity to clean it up.

* Sirdata RTD Module: bug fixes & add new bidders (#8406)

* - bug fixes
- new bidders supported: yahoo, pubmatic, openx

* fix invalid indentation

* Revert "fix invalid indentation"

This reverts commit 6ed9f9116b86c484b1d3b895315a77e03651369d.

* manually update indentation

* AdagioBidAdapter: fix site information detection (use refererInfo) (#8407)

* Criteo : Add support of PAF response model (#8359)

* JwPlayer RTD Module: Set Ortb content to config (#8354)

* sets to config

* updates unit tests

* clears obsolete data

* typo

* replaces duplicate strings

* Audigent analytics adapter: add new analytics adapter (#8347)

* adding logic and tests for hadronAnalyticsAdapter

* increasing coverage

* typo in partnerId procedence

* Sspbc Bid Adapter: Gather language in payload; various formatting changes (#8395)

* Update tests for sspBC adapter

Update tests for sspBC adapter:
- change userSync test (due to tcf param appended in v4.6)
- add tests for onBidWon and onTimeout

* [sspbc-adapter] 5.3 updates: content-type for notifications

* [sspbc-adapter] pass CTA to native bid

* [sspbc-5.3] keep pbsize for detected adunits

* [sspbc-5.3] increment adaptor ver

* [sspbc-adapter] maintenance update to sspBCBidAdapter

* remove yarn.lock

* Delete package-lock.json

* remove package-lock.jsonfrom pull request

* [sspbc-adapter] send pageViewId in request

* [sspbc-adapter] update pageViewId test

* [sspbc-adapter] add viewabiility tracker to native ads

* [sspbc-adapter] add support for bid.admNative property

* [sspbc-adapter] ensure that placement id length is always 3 (improves matching response to request)

* [sspbc-adapter] read publisher id and custom ad label, then send them to banner creative

* [sspbc-adapter] adlabel and pubid are set as empty strings, if not present in bid response

* [sspbc-adapter] jstracker data fix

* [sspbc-adapter] jstracker data fix

* [sspbc-adapter] send tagid in notifications

* [sspbc-adapter] add gvlid to spec; prepare getUserSyncs for iframe + image sync

* [sspbc-adapter] fix notification payload

* [sspbc-adapter] fix notification payload, fix tests

* [sspbc-adapter] add userIds to ortb request

* [sspbc-adapter] update to 4.1, change request to be ortb 2.6 compliant

* [sspbc-adapter] update tests

* [ssbc-adapter] bid cache for video ads

* [sspbc-adapter] add PageView.id to banner ad; update tests

* [sspbc-adapter] fix window.gam not being added to banner html

* [sspbc-adapter] send device / content language

* [sspbc-adapter] send pageview and site ids to user sync frame

* [sspbc-adapter] add ES6 version of common ad library (for banner creatives)

* [sspbc-adapter] move content property

* [sspbc-adapter] reorganize notification payload creator

* [sspbc-adapter] store PLN price in meta; send in bidWon notification

* [sspbc-adapter] add playbackmethod to supporten video params; allow overridinbg video settngs via  bid.params.video

* [sspbc-adapter] update md

* [sspbc-adapter] fix error in mapVideo method (Object assign merror when mediaTypes do not contain video)

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

* Prebid 6.24.0 release

* Increment version to 6.25.0-pre

* fix(deps): declare required deps for webpack build (#8411)

When using Prebid.js as a NPM dependency and built with webpack, the
instructions are to use the babel configuration and plugins that are
provided by Prebid.

```
      {
        test: /.js$/,
        include: new RegExp(`\\${path.sep}prebid\\.js`),
        use: {
          loader: 'babel-loader',
          // presets and plugins for Prebid.js must be manually specified separate from your other babel rule.
          // this can be accomplished by requiring prebid's .babelrc.js file (requires Babel 7 and Node v8.9.0+)
          // as of Prebid 6, babelrc.js only targets modern browsers. One can change the targets and build for
          // older browsers if they prefer, but integration tests on ie11 were removed in Prebid.js 6.0
          options: require('prebid.js/.babelrc.js')
        }
      }
```

This seems to work just fine when using NPM or Yarn 1. However it is not
possible when using stricter settings or package managers that require
strict dependency declarations.

```
[webpack-cli] Failed to load '/Users/john.wright/Workspace/mung-app/webpack.config.js'
config [webpack-cli] Error: prebid.js tried to access
@babel/preset-env, but it isn't declared in its dependencies;
this makes the require call ambiguous and unsound.
```

* Multiple modules: automatically fill in PPID for DFP video URLs (#8365)

https://github.com/prebid/Prebid.js/issues/8151

* Prebid 6.24.1 release

* Increment version to 6.25.0-pre

* Invibes Bid Adapter: write id to first party from bid adapter (#8202)

* Invibes Bid Adapter: added support for LiD generation on Invibes servers

* Invibes Bid Adapter: replaced all cookies storing with local storage
removed cookie storing logic

* invibesBidAdapter: applied lint formatting  updated unit tests to reflect reading from localStorage

* Update invibesBidAdapter_spec.js

updated Invibes Bid Adapter unit tests to pass for when the default storage allowed will be changed.

* Weborama RTD submodule: specify list of bidders to share data (#8350)

* update .submodules.json to include weborama rtd

update .submodules.json to include weborama rtd submodule

* add support to pubmatic

* improve test format

* improve test format ~

* add support to appnexus/xandr bidder

* fix issue when split set target in two steps: site and user centric data

* add support to rubicon old style

* fix code, update docs

* add support to global and bid ortb2

* remove unused code

* refactor code

* update bidder list

* add global level parameters

* change error to warning

* update doc

* refactor

* add field accountId

* update example

* refactor js concat string

* refactor js concat string 2

* update jsdoc

* correct jsdoc

* add support to pubmatic

* improve test format

* improve test format ~

* add support to appnexus/xandr bidder

* fix issue when split set target in two steps: site and user centric data

* add support to rubicon old style

* fix code, update docs

* add support to global and bid ortb2

* remove unused code

* refactor code

* update bidder list

* add global level parameters

* change error to warning

* update doc

* refactor

* add field accountId

* update example

* refactor js concat string

* refactor js concat string 2

* update jsdoc

* correct jsdoc

* fix log

* update example

* remove todo

* refactor duplicated code in config normalization

* fix jsdoc

* add main feature

* update jstag

* improve callback

* improve doc

* improve doc about ortb2

* refactor code

* refactor tests to use one adunit

* fix unit tests

* prepare to add support to webo lite

* refactor code

* reorder code to handle bid data

* finish unit test

* improve copy of data

* improve unit test by checking callbacks that alter bid data

* format source

* fix doc

* specify webo lite as site-centric data

* add check for profile format

* update doc and code

* update sendToBidder callback signature

* fix doc

* fix doc 2

* fix js example

* update doc

* improve doc

* fix doc for LiTE

* update code and tests

* update doc

* update unit test

* improve doc

* fix sfbx lite code, add isDefault flag on metadata

* remove unused imports in tests

* refactor code using ?. operator

* improve deep clone usage

* keep code less dinamic

* refactor thinking in the prebid 7

* format source

* format tests

* suppress mention to lite

* Revert "suppress mention to lite"

This reverts commit 43fa65804446c4a6acf18dd48897f971c5d85683.

* small fix

* refactor init submodule functions

* add new constants

* update example

* simplify code

* rename function, rewrite callbacks into () => notation

* update sfbx lite name

* fix doc

* TrustP ID Module: Refactor acronyms handler (#8228)

* feature: Add trustpid user id module

* refactor: Update trustpidSystem module, comments and md file

* refactor: Update trustpidSystem file to handle domain setting regardless of message events

* refactor: Update trustpidSystem module and dependent tests and docs

* refactor: Update trustpid undefined checks and returns

* tests: Update trustpid tests

* docs: Update trustpid docs typo

* refactor: Update trustpid acronyms logic

* refactor: Remove unused import

* refactor: Trustpid documentation update

Co-authored-by: Tomasz Januszek <tomasz@teavaro.com>

* appnexus bid adapter - fix in psp keywords logic (#8382)

* UserID module: do not start initialization until `pbjs.processQueue()` has been called (#8408)

* Extract controllable promise into utils function

* Do not start init of userId until processQueue is called

* Add PGAM client side (#8418)

* IX Bid Adapter: Outstream Support Update (#8412)

* outstream player update

* documentation update

Co-authored-by: Love Sharma <love.sharma@indexexchange.com>

* Alkimi Bid Adapter: Markdown file example update (#8422)

* Alkimi bid adapter

* Alkimi bid adapter

* Alkimi bid adapter

* alkimi adapter

* onBidWon change

* sign utils

* auction ID as bid request ID

* unit test fixes

* change maintainer info

* Updated the ad unit params

Co-authored-by: Alexander <32703851+pro-nsk@users.noreply.github.com>
Co-authored-by: Alexander Bogdanov <akascheev@asteriosoft.com>
Co-authored-by: Alexander Bogdanov <abogdanov@asteriosoft.com>
Co-authored-by: motors <motors@live.ru>

* BeOp Bid Adapter: prefer canonical URL when present & prepend protocol (#8391)

* [BeOp] prefer canonical URL when present & prepend protocol

* [BeOp] get the right page url in tracking events too

* [BeOp] improve page url resolver

* BeOp Bid Adapter: 'top.location.protocol' can also throw

* feat: add detected page url to ixdiag [PB-978] (#8425)

Co-authored-by: shahin.rahbariasl <shahin.rahbariasl@indexexchange.com>

* LiveIntent Id Submodule: Update live-connect to 2.3.3; better consent processing (#8423)

* Update live-connect to 2.3.3

* Update package-lock.json

* Fix tests

* Adjust test cases

Co-authored-by: Viktor Dreiling <viktor@Viktors-MacBook-Pro.fritz.box>
Co-authored-by: Viktor Dreiling <viktor@Viktors-MBP.fritz.box>

* support cta and privacyLink (#8403)

* Kargo Bid Adapter: adding media type to bid response, supporting vastXml response (#8426)

* kargo adapter - adding mediaType to bid response, conditionally set vastXml field

* kargo adapter - updating tests

* Improve Digital adapter: adding Extend mode (#8399)

Co-authored-by: iosfaisal <100519197+iosfaisal@users.noreply.github.com>
Co-authored-by: Jozef Bartek <j.bartek@improvedigital.com>
Co-authored-by: Jozef Bartek <31618107+jbartek25@users.noreply.github.com>

Co-authored-by: Faisal Islam <93644923+faisalvs@users.noreply.github.com>
Co-authored-by: iosfaisal <100519197+iosfaisal@users.noreply.github.com>

* Update sync URLs (#8431)

We are updating sync URLs to our current partners.

* AdagioBidAdapter: remove useless data in bid request. (#8434)

* Prebid 6.25.0 release

* Increment version to 6.26.0-pre

* Ogury Bid Adapter: Add device infos with size in bidrequest (#8416)

* Add device infos with size in bidrequest

* trigger rebuild on CI to fix tests

* restore sinon stubbed methods after all tests

* restore stub correctly at end of tests

* trigger rebuild on CI to fix tests

* Video Heroes Bid Adapter: add new bid adapter (#8310)

* added Brave bidder adapter with test and docs 

Commit has standard bidder adapter 2 new files adapter js, adapter md

* added test spec file witch covered code least 80 %

* adding videoHeroes bidder adapter

* added videoHeroes test spec

* Update braveBidAdapter.js

* Update braveBidAdapter.js

* Update videoheroesBidAdapter.md

* upd import of utils lib to load only certain fnc

* cpex Id module: Remove window reference (#8440)

* Remove window reference

* Changed version to string

* Jixie Bid Adapter: add schain (#8439)

* Adapter does not seem capable of supporting advertiserDomains #6650
added response comment and some trivial code.

* removed a blank line at the end of file
added a space behind the // in comments

* in response to comment from reviewer. add the aspect of advertiserdomain in unit tests

* added the code to get the keywords from the meta tags if available.

* jixie sending schain info to jixie backend

* support of schain info sent to jixie endpoint, fixing some indentation complaints from auto build check

* Gravito User Id submodule: initial release (#8414)

* gravitompId user module for integrating gravito first party cookie with prebid js

* fixed eslint issues raised by circleci

* fixed trailing spaces error raised by circleci

* Rename id to aoneId from dacId (#8453)

* Akamai RTD: fixed bugs on rtd module and added the entropy values (#8284)

* Fixed bugs on rtd module and added the entropy values required by Akamai DAP

* Fixed the timeout issue in build browserstack tests

* Fixing review comments

* Fixing review comments - using storage manager for managing localStorage

* Fixing review comments - using loadExternalScript method to load the script

* Fixed unit test case

* Fixing review comments - Added consent handling

* Zeta global ssp bid adapter: add shortname param (#8454)

* zeta_global_sspBidAdapter shortname was added

* remove the trash

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

* Remove medianetRtdProvider tests (#8463)

* Revert "Akamai RTD: fixed bugs on rtd module and added the entropy values (#8284)" (#8464)

This reverts commit c4348892b5d3425d21373e1dcf4d67da04fed622.

* Prebid 6.26.0 release

* Increment version to 6.27.0-pre

* Update fintezaAnalyticsAdapter_spec.js (#8467)

* Hadron analytics adapter: fix cross-origin exception on init (#8472)

* Pulling the URL check out from the logic. Whatever the user passes will be used (#8473)

Co-authored-by: Jason Lydon <jason.lydon@flashtalking.com>

* Update conversant adapter to accept position from the AdUnit (#8477)

* NovatiqId User Module - Include IAB Vendor ID (#8479)

* Novatiq snowflake userId submodule

Novatiq snowflake userId submodule initial release

* change request updates

added novatiq info /modules/userId/userId.md
added novatiq info /modules/userId/eids.md
added novatiq eids /modules/userId/eids.js
added novatiq module in /modules/.submodules.json
removed unnecessary value from getId response

* Update novatiqIdSystem_spec.js

removed unnecessary srcid value

* Update novatiqIdSystem.md

Novatiq ID System: updated novatiq snowflake ID description

* use the sharedId if available and configured

* updated docs

* test changes

* defensive code not required

* Use the prebid storage manager instead of using native functions

* doc changes

* trailing spaces

* Allow configuration of the sync URL and to allow callbacks for specific custom partner integrations

* update documentation

* attempt to fix firefox test timeout

* include the AIB Vendor Id

Co-authored-by: novatiq <79258366+novatiq@users.noreply.github.com>

* Multiple modules: attempt to reduce test flakiness, improved logging for XHR mock race conditions (#8466)

* Datablocks bid adapter: do not send metrics during tests

* Log contents of XHR mock on test failure

* Disable ajax for analytics adapters during tests

* Do not assume that test setup did not fail

* Update to move floors logic after placement.sizes are defined (#8476)

* Adloox Analytics/RTD: prefer gpid over pbadslot (#8455)

* Adloox Analytics: use CSS.escape when possible

* Adloox Analytics/RTD: support GPID

* Akamai RTD: fixed bugs on rtd module and added the entropy values (#8470)

* Fixed bugs on rtd module and added the entropy values required by Akamai DAP

* Fixed the timeout issue in build browserstack tests

* Fixing review comments

* Fixing review comments - using storage manager for managing localStorage

* Fixing review comments - using loadExternalScript method to load the script

* Fixed unit test case

* Fixing review comments - Added consent handling

* SOVRN Bid Adapter: refactor old test code (#8430)

* feat: [EX-3265] format tests for prebid.js adapter

* feat: [EX-3265] add tests for video media type

* feat: [EX-3265] fix test for interpretResponse

* feat: [EX-3265] fix test for interpretResponse

* feat: [EX-3265] fix test for interpretResponse

Co-authored-by: Maxim Pakhomov <maxim_pakhomov@lineate.com>
Co-authored-by: Maxim Pakhomov <70204615+maximpakhomov@users.noreply.github.com>

* Tests: remove console.log (#8481)

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

* Kobler adapter: remove outdated parameters, simplify testing (#8445)

* Removed position parameter.

* Removed zip parameter.

* Removed placementId parameter and make sizes required instead.

* Updated price-related macros.

* Fixed error when params is not provided.

* Removed last occurrence of placementId.

* Read currency.adServerCurrency as publisherCurrency.

* Use DEV endpoint for testing.

* Use config.pageUrl when test is set to true.

* Added more details about page URL.

* `config.pageUrl`.

* Added a comment explaining why pageUrl is considered only when testing.

* Fixed double quotes in tests.

* NaveggId module: fixed regex used to get naveggId from LocalStorage (#8441)

* fixed regex used to get naveggId from LocalStorage

* added unit tests

Co-authored-by: Jose <jose.silva@navegg.com>

* Taboola bid adapter: initial release (#8483)

* create taboola adapter

* create taboola adapter md

* taboolaBidAdapter.js - small fixes
taboolaBidAdapter_spec.js - new UT

* taboolaBidAdapter.js - small fixes
taboolaBidAdapter_spec.js - new UT

* update the md

* update the Maintainer email

* * update MD page
* refactor code for better readability
* small fix in UT

* * add privacy to the request builder
* add relevant Ut
* small fixes in UT

* * code refactoring + add more accurate way to get page url and referer
* add relevant Ut
* small fixes in md

* * code refactoring + gte user id
* add relevant Ut
* small fixes

* * code refactoring + gte user id
* add relevant Ut
* small fixes

* * update end point url
* update UT
* Update banner End point structure

* small fixes + update epi url

* remove the destruction from the bidResponse property

* (update the unit tests) remove the destruction from the bidResponse property

* fix tests

* fix tests - run stubs on each test

* rerun because of another adapter flaky test

* rerun because of another adapter flaky test

* fix cors issue, switch between height, width position

* update badv, bcat to be based in the ortb2 to support prebid 7 new protocols + update Ut

* retry run circleci

* retry run circleci

* pull from upstream
update md (placement + pub )

* update badv, bcat UT

* rerun build

* rerun build

* support storageAllowed restriction on unit tests for prebid 7

* add it also to the aftereach

* add it also to the aftereach

* Prebid 6.27.0 release

* Increment version to 6.28.0-pre

* Ftrack Id Module: replace native appendChild with Prebid's loadExternalScript (#8432)

* JDB-533: replacing appendChild in the ftrack prebid module

* JDB-533: working on switching over to AJAX/CDN

* JDB-533: removing some commented out code

* JDB-533: removing redundant conditions

Co-authored-by: Jason Lydon <jason.lydon@flashtalking.com>

* IncrementX Bid Adapter: Initial Release (#8316)

* IncrementX Bid Adapter: vertoz adapter renamed to IncrementX

* IncrementX Bid Adapter: vertoz adapter renamed to IncrementX
- document updated

* IncrementX Bid Adapter: vertoz adapter renamed to IncrementX
- vertozBidAdapter.md removed

Co-authored-by: Mohit Patil <mohitpatil546@gmail.com>

* added tests for medianet rtd without loading js (#8485)

Co-authored-by: monis.q <monis.q@media.net>

* Adyoulike Bidder Adapter - schain support (#8486)

* add schain data to the bid request

* add unit test with schain data

* ZetaGlobalSsp BidAdapter: shortname to url (#8471)

* ZetaGlobalSsp bid adapter: shortname param into url param

* fix tests

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

* Akamai RTD Module: Fixed randomly failing test cases and updated the variable names (#8487)

* Fixed the randomly failing test cases and updated the variable names

* Improving code quality

* Adriver ID system: fix spurious test failure (#8489)

* Inskin bid adapter: use loadExternalScript utility instead of appendChild() to insert the ad tag (#8490)

* TheMediaGrid: support bid.ortb2.site.content.id (#8492)

* 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

* GridNM Bid Adapter: use absent in params data from mediaTypes

* GridNM Bid Adapter: fix md file + add advertiserDomains support

* TheMediaGrid and gridNM Bid Adapter: minor netRevenue fixes

* gridNM Bid Adapter updates after review

* TheMediaGrid Bid Adapter: fix keywords workflow

* fix testing and kick off lgtm again

* TheMediaGrid: added ext.bidder.grid.demandSource processing

* TheMediaGrid: added user.id from fpd cookie

* TheMediaGrid: control cookie setting via bidder config

* TheMediaGrid: use localStorage instead cookie

* TheMediaGridNM Bid Adapter: update adapter to use /hbjson endpoint

* TheMediaGridNM: fix unnecessary conditions

* TheMediaGrid: fix bug with nurl field in response

* TheMediaGrid: update test

* TheMediaGridNM: fix possible bug with nurl

* TheMediaGrid: added alias as playwire

* TheMediaGrid: added alias as adlivetech

* TheMediaGrid: fix sync url workflow

* TrustX: fix sync url worflow + remove old syncurl

* TheMediaGrid: added instl support

* TheMediaGrid: fix test for instl

* TheMediaGrid: update md file

* TheMediaGrid: reformat segments for permutive rtd module

* TrustX: send all ortb2.user.data in user.data

* TheMediaGrid: remove permutive segments reformating

* TrustX: remove permutive segments reformating

* TheMediaGrid & TrustX: fix typo

* TheMediaGrid: support bid.ortb2.site.content

* TheMediaGrid Bid Adapter: support bid.ortb2.site.content.id

Co-authored-by: Chris Huie <phoenixtechnerd@gmail.com>

* Fix for #8421 (#8493)

* Sending no decode whole url options to true, to avoid errors while decoding publisher url (#8497)

* Automatad Bid Adapter: changes to ajax request options for bid requests (#8444)

* changes for ajax request options for automatad bid request

* add test for isCredentials changes

* Various Magnite Adapters: GVL ID update (#8501)

* Magnite adapters still require legacy GVL IDs

* CTV update

* Adf adapter: avoid preflight request (#8498)

* Hadron RTD module: use internal methods (#8496)

* following prebid team's advise

* adding to adloader.js

* removing generic import

* using internal methods for loading external scripts in medianetRtdProvider (#8506)

Co-authored-by: monis.q <monis.q@media.net>

* Criteo - Update Publisher Tag version referenced by prebid adapter (#8491)

* Kargo Bid Adapter: onTimeout Support (#8449)

* Kargo Bid Adapter: Use currency from Bid Response

* Kargo Bid Adapter: Fix failed test

* Kargo Bid Adapter: adding media type to bid response, supporting vastXml response (#8426)

* kargo adapter - adding mediaType to bid response, conditionally set vastXml field

* kargo adapter - updating tests

* Kargo Bid Adapter: onTimeout Support (#6)

* Adding additional param

* Adding response time function

* Remove debug

* Updating response time log to be set by bid response

* Adding screen width/height to request

* Test fix

* Test fix

* Removing interpretResponse signaling

* Simplifying send data function

Co-authored-by: Wei Wong <wwong@kargo.com>
Co-authored-by: Andy Rusiecki <andy.rusiecki@gmail.com>

* Prebid 6.28.0 release

* Increment version to 6.29.0-pre

* CAPT-74: Pass ext section of each bid for prebid slot ID and GPID (#8509)

Co-authored-by: Timothy M. Ace <tace@imds.tv>

* Insticator Bid adapter: Adds Support for Video (#8452)

* feat: added support for video

* feat: added support for mimes

* feat: added mimes check to video validation

* Gdpr Enforcement module and sharedId/pubCommonId modules: vendor consent should not be enforced for first-party-id modules (#8448)

* Fixed issue with gdprEnforcement module and sharedId/pubCommonId modules: vendor consent should not be enforced for first-party-id modules

* addressed review comments

* addressed review comments

* added test to ensure device access is not allowed for vendorless modules in case purpose 1 consent isn't given

* fixed issue with missing moduleType param

Co-authored-by: Serhii Holdun <sholdun@magnite.com>

* PubMatic Analytics Adapter : Added support for logging multiple bids (#8517)

* Changed net revenue to True

* Removed groupm as alias

* Pasing the alternateBidder values to translator

* initial commit

* Added adId for differentiation of bids

* Fixed UT

* Added UT for GroupM

* Finding winning bid according to adId

* worked on LGTM comment

Co-authored-by: Azhar <azhar@L1119.local>

* AdOcean bid adapter: support for SupplyChain object  (#8518)

* AdOcean adapter - support for supply chain object

* AdOcean adapter - support for supply chain object - use older constructs

* AdOcean adapter - small fixes

* Taboola Bid Adapter: api support for https (#8520)

* create taboola adapter

* create taboola adapter md

* taboolaBidAdapter.js - small fixes
taboolaBidAdapter_spec.js - new UT

* taboolaBidAdapter.js - small fixes
taboolaBidAdapter_spec.js - new UT

* update the md

* update the Maintainer email

* * update MD page
* refactor code for better readability
* small fix in UT

* * add privacy to the request builder
* add relevant Ut
* small fixes in UT

* * code refactoring + add more accurate way to get page url and referer
* add relevant Ut
* small fixes in md

* * code refactoring + gte user id
* add relevant Ut
* small fixes

* * code refactoring + gte user id
* add relevant Ut
* small fixes

* * update end point url
* update UT
* Update banner End point structure

* small fixes + update epi url

* remove the destruction from the bidResponse property

* (update the unit tests) remove the destruction from the bidResponse property

* fix tests

* fix tests - run stubs on each test

* rerun because of another adapter flaky test

* rerun because of another adapter flaky test

* fix cors issue, switch between height, width position

* update badv, bcat to be based in the ortb2 to support prebid 7 new protocols + update Ut

* retry run circleci

* retry run circleci

* pull from upstream
update md (placement + pub )

* update badv, bcat UT

* rerun build

* rerun build

* support storageAllowed restriction on unit tests for prebid 7

* create taboola adapter

* create taboola adapter md

* taboolaBidAdapter.js - small fixes
taboolaBidAdapter_spec.js - new UT

* taboolaBidAdapter.js - small fixes
taboolaBidAdapter_spec.js - new UT

* update the md

* update the Maintainer email

* * update MD page
* refactor code for better readability
* small fix in UT

* * add privacy to the request builder
* add relevant Ut
* small fixes in UT

* * code refactoring + add more accurate way to get page url and referer
* add relevant Ut
* small fixes in md

* * code refactoring + gte user id
* add relevant Ut
* small fixes

* * code refactoring + gte user id
* add relevant Ut
* small fixes

* * update end point url
* update UT
* Update banner End point structure

* small fixes + update epi url

* remove the destruction from the bidResponse property

* (update the unit tests) remove the destruction from the bidResponse property

* fix tests

* fix tests - run stubs on each test

* rerun because of another adapter flaky test

* rerun because of another adapter flaky test

* fix cors issue, switch between height, width position

* update badv, bcat to be based in the ortb2 to support prebid 7 new protocols + update Ut

* retry run circleci

* retry run circleci

* pull from upstream
update md (placement + pub )

* update badv, bcat UT

* rerun build

* rerun build

* support storageAllowed restriction on unit tests for prebid 7

* support storageAllowed restriction on unit tests for prebid 7

* add it also to the aftereach

* add it also to the aftereach

* change the api endpoint https protocol

* ixBidAdapter: change to new endpoint and README (#8529)

* Vidazoo bid adapter: fix spurious test failure (#8515)

* Added support for IDs for multiple sources (#8499)

Co-authored-by: Nick Curry <nick.curry@4cite.com>

* Prebid 6.29.0 release

* Increment version to 7.0.0-pre

* Prebid 7 (#8530)

* Prebid 7: Delete userid targeting module (#8227)

* Delete userIdTargeting.js

* Delete userIdTargeting.md

* Delete shareUserIds_spec.js

* NextRoll ID: Remove NextRoll ID module (#8150)

* Remove Sortable Analytics Adapter (#8251)

* Prebid 7: Merge in changes from master (#8278)

* only map one slotrender to one adunit (#8211)

* DFP Ad Server Video: respect original url (#8168)

* original url components take precedence over defaults

uses object assignment

* tests that url is respected

* respects url size and cust params

* moves url cust param addition to fn

* tests that url params are respected

* Admaru adapter : add new bid adapter (#8149)

* init

* modified admaruBidAdapter.js, md, _spec.js

* modify for test

* Delete .project

* update

* update admarubidadapter.js

* Revert "Delete .project"

This reverts commit 0e1bdd4fcadd0a97fea87ba2a92cb502e5e3a19b.

* remove .project

* modified

* modified

* Delete .project

* modified

* Revert "Delete .project"

This reverts commit c4e7bd6096fe9521dd5e2fab2b3d5241149dc6ec.

* Delete .project

* modified

* modified

Co-authored-by: sung.chung <sung.chung@admaru.com>

* Missena Bid Adapter - allow custom endpoint. (#8222)

* Next Millenium Bid Adapter: Added new parameter group_id (#8200)

* changed name company

* changed name company in test

* Added processing of a new group_id parameter

* Added processing of a new group_id parameter

* changed check parameters

* fixed lint remarks

* added test

* fixed bug - lint

* changed test

* changed test - 2

* fixed bug - adapter

* add timeout value to timeout pixel (#8224)

* Outbrain bid adapter: added floor module and privacy link support (#8223)

* add floor support

* add additional validation for bid request format

* add privacy link support

* fixes

* set privacy in mapper

* fix test

* Improve Digital Bid adapter: use the oRTB server endpoint (#8138)

* Major refactoring to use new oRTB server endpoint

Co-authored-by: Faisal Islam <100519197+iosfaisal@users.noreply.github.com>
Co-authored-by: Jozef Bartek <31618107+jbartek25@users.noreply.github.com>

* fixed wrong merge

* Fixed issue related to site and app (#9)

* Fixed errors for test cases.

Co-authored-by: Faisal Islam <93644923+faisalvs@users.noreply.github.com>
Co-authored-by: Faisal Islam <100519197+iosfaisal@users.noreply.github.com>
Co-authored-by: Faisal Islam <faisal.islam@vivacomsolutions.com>

* NativoBidAdapter - Bid data mapping refactor and added QS params on request (#8196)

* 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.

* Added new QS param to send various adUnit data to adapter endpopint

* Updated unit test for new QS param

* Added qs param to keep track of ad unit refreshes

* Updated bidMap key default value

* Updated refresh increment logic

* Refactored spread operator for IE11 support

* Updated isBidRequestValid check

* Refactored Object.enties to use Object.keys to fix CircleCI testing errors

* Updated bid mapping key creation to prioritize ad unit code over placementId

* Added filtering by ad, advertiser and campaign.

* Merged master

* Added more robust bidDataMap with multiple key access

* Deduped filer values

* Rolled back package.json

* Duped upstream/master's package.lock file ... not sure how it got changed in the first place

* Small refactor of filterData length check. Removed comparison with 0 since a length value of 0 is already falsy.

Co-authored-by: Joshua Fledderjohn <jfledderjohn@nativo.com>

* Floor price : allow having a 0$ floor (#8239)

* Prebid 6.18.0 release

* Increment version to 6.19.0-pre

* IAS RTD Module: Custom key values (#8214)

* Mapping table initialization

A constant initialises a mapping table where each possible key used by IAS is mapped to itself.
The dataProviders config for the IAS RTD module accepts an optional new property: keyMappings. The init function reads this property and uses it to overwrite any key that is already in the pre-initialised mapping table with the new value provided.
In a future addition, the mapping table will be used to populate the key-values actually sent to the adserver.

* Rename Key Values

After merging the key-values for each ad unit, a renaming function is called to ensure that any custom key chosen by the client is used.

* Bugfix

Call the callback() function in getBidRequestData.

* Unit tests changed to include one renamed parameter.

* Unit tests corrected and adapted to cover the current features.

* Yieldlab Bid Adapter: Add Support for User Matching (#8148)

* Build system: add option to generate source maps for production builds (#8220)

* Gamoshi Bid Adapter: Handle gdpr applies correctly (#8245)

* Nobid Prebid Adapter commit (#4050)

* Nobid Prebid Adapter commit

* Fixed global replace and unit tests

* Fixed find function

* Added nobidBidAdapter.md

* Removed description and added "Bid Params" section.

* Added test siteId 2 for testing.

* Refactored the Adapter to remove most references to the nobid object. We still need the nobid object because we have a passback tag in DFP that makes reference to it.

* Fix concurrent responses on the page

* Cosmetic change to log an error in case of missing ad markup

* Keep nobid.bidResponses cross adapters.

* Added GDPR support in user sync and added test coverage.
gulp test-coverage
gulp view-coverage

* Padding issues

* Fix padding issues

* Fix padding

* update outstream prod url (#4104)

* support pubcid and uids (#4143)

* Fix misspelling and minor cleanup of schain docs (#4150)

* Prebid 2.31.0 Release

* Increment pre version

* Rubicon: tuning logged messages (#4157)

* Rubicon: tuning logged messages

* Update rubiconBidAdapter.js

* fixed indentation

* Rubicon Video COPPA fix (#4155)

* Rubicon Video COPPA fix

* Unit test for Rubicon Video COPPA fix

* Playground XYZ adapter - iframe usersync bug fix (#4141)

* corrected user sync type

* removed support for iframe usersync

* added unit tests for getUserSyncs

* update nvmrc file (#4162)

* update gulp-footer package (#4160)

* Datablocks bid/analytics adapter (#4128)

* add datablocks Analytics and Bidder Adapters

* remove preload param

* remove preloadid

* better coverage of tests

* better coverage

* IE doesn't support array.find

* lint test

* update example host

* native asset id should be integer

* update logic of ad_types field in appnexusBidAdapter (#4065)

* Shorten SomoAudience to just Somo (#4163)

* Shorten SomoAudience to just Somo

* Make package-lock return

* Quantcast: Fix for empty video parameters (#4145)

* Copy params from bid.params.video.

* Added test for missing video parameters.

* Include mimes from adunit.

* One Video adding Rewarded Video Feature (#4142)

* outstream changes

* removing global filtet

* reverting page

* message

* adapter change

* remove space

* testcases

* testpage

* spaces for test page

* renderer exist case

* reverting package-lock.json

* adding schain object

* adding tagid

* syntaxx error fix

* video.html

* space trailing

* space

* tagid

* inventoryId and placement

* rewarded video

* added unit test case

* Module to pass User Ids to DFP (#4140)

* first commit

* renamed

* minor doc change

* documentation

* small change

* EB

* removed unused imports

* minor changes

* reanmaed a const

* adding more methods to test shareUserIds module

* unit tets cases for shareUserIds

* indentation

* renamed DFP to GAM

* renamed shareUserIds to userIdTargeting

* Update userIdTargeting.md

* trying to restart CI

* digitrust userId case handled

* minor comment change

* using auctionEnd event instead of requestBids.before

* using events.on

* Buzzoola bid adapter (#4127)

* initial commit for buzzoola adapter

* leave only banners for now

* fix bid validation

* change endpoint url

* add video type

* restore renderer

* fix renderer

* add fixed player sizes

* switch bids

* convert dimentions to strings

* write tests

* 100% tests

* remove new DOM element creation in tests

* handle empty response from server

* change description

* E2e tests for Native and Outstream video Ad formats. (#4116)

* reorganize e2e/ tests into separate directories

* new test page for e2e-banner testing

* add test to check if Banner Ad is getting loaded

* change location of the spec files to reflect change in test/e2e directory structure

* add test case to check for generation of valid targeting keys

* create Native Ad test page

* add test case to check validity of the targeting keys and correct rendering of the Ad

* update old browser versions to new

* update browser version

* update title

* remove console.log statements

* add basic functional test for e2e outstream video ad format

* Update LockerDome adUnitId bid param (#4176)

This is not a breaking change

* fix several issues in appnexus video bids (#4154)

* S2s testing disable client side (#4123)

* Add microadBidAdapter

* Remove unnecessary encodeURIComponent from microadBidAdapter

* Submit Advangelists Prebid Adapter

* Submit Advangelists Prebid Adapter 1.1

* Correct procudtion endpoint for prebid

* analytics update with wrapper name

* reverted error merge

* New testServerOnly flag

* Tests and a bug fix

* Removed dead code

* Fixes requested in review

* Check each adUnit

* isTestingServerOnly changes per Eric

* Fixed IE 11 bug

* More tests

* improved test case names

* New option to Include deal KVPs when enableSendAllBids === false (#4136)

* new option to include KVPs which have deals when
enableSendAllBids === false

* updating tests to be more realistic

* Prebid 2.32.0 Release

* increment pre version

* Rubicon doc: changing video test zone (#4187)

* added schain support to sonobi adapter (#4173)

* if schain config is not defined then error should not be thrown (#4165)

* if schain config is not defiend then error should not be thrown

* relaxed mode nodes param not defined error handled

* added test cases for config validation

* a curly bracket was missing in the example

* Rubicon: updating test params (#4190)

* myTargetBidAdapter: support currency config (#4188)

* Update README.md (#4193)

* Update README.md

* Update README.md

* cedato bid adapter instream video support (#4153)

* Added adxpremium prebid analytics adapter (#4181)

* feat(OAFLO-186): added support for schain (#4194)

* Sonobi - send entire userid payload (#4196)

* added userid param to pass the entire userId payload to sonobis bid request endpoint

* removed console log
git p

* fixed lint

* OpenX Adapter fix: updating outdated video examples (#4198)

* userId - Add support for refreshing the cached user id (#4082)

* [userId] Added support for refreshing the cached user id: refreshInSeconds storage parameter, related tests and implementation in id5 module

* [userId] Added support for refreshing the cached user id: refreshInSeconds storage parameter, related tests and implementation in id5 module

* UserId - ID5 - Updated doc with new contact point for partners

* UserId - Merged getStoredValue and getStoredDate

* [UserId] - ID5 - Moved back ID5 in ./modules

* UserId - ID5 - Fixed incorrect GDPR condition

* [UserId] - Doc update and test cleanup

* Prebid 2.33.0 Release

* Increment pre version

* SupplyChainObject support and fires a pixel onTimeout (#4152)

* - Implemented the 'onTimeout' callback to fire a pixel when there's a timeout.
- Added the ability to serialize an schain object according to the description provided here: https://github.com/InteractiveAdvertisingBureau/openrtb/blob/master/supplychainobject.md

* some mods to the schain tag generation

* - added tests for schain param checking.

* - fixed a malformed url for timeouts

* - Removed a trailing ',' while generating a schain param.

* - Using the schain object from validBidRequest if present. Reverting to checking if params has it if not.

* - reverting changes to merge with master

* - Resolving merge issues

* Feature/add profile parameter (#4185)

* Add optional profile parameter

* EMXDigital Bid Adapter: Add video dimensions in request (#4174)

* addressed feedback from #3731 ticket

* removed commented code from emx test spec

* logging removed from spec

* flip h & w values from playerSize for video requests

* adding Outstream mediaType to EMX Digital

* adding device info. update to grab video param. styling changes.

* add video dimensions from playerSize

* fix test for video dimensions

* Added keywords parameter support in TrustX Bid Adapter (#4183)

* 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

* rubicon: avoid passing unknown position (#4207)

* rubicon: not passing pos if not specified

* added comment

* not sending pos for video when undefined

* cleaning up test

* fixed unit test

* correctly reference bidrequest and determine mediatype of bidresponse (#4204)

* GumGum: only send gdprConsent when found (#4205)

* adds digitrust module, mods gdpr from bool to int

* update unit test

* only send gdprconsent if present

* LKQD: Use refererInfo.referer as fallback pageurl (#4210)

* Refactored URL query parameter passthrough for additional values, changed SSP endpoint to v.lkqd.net, and updated associated unit tests

* Use refererInfo.referer as fallback pageurl

* Removed logs and testing values

* [UserId] - ID5 - Fixed case when consentData is undefined (No CMP) (#4215)

* create stubs for localStorage in widespaceBidAdapter test file (#4208)

* added adId property to adRenderFailed event (#4097)

When no bid (therefore no adUnitCode) is available in the adRenderFailed event it can be difficult to identify the erroring slot.But in almost all cases the given slot still has the adId targeting.

* OpenX Adapter: Forcing https requests and adding UserID module support for LiveRamp and TTD (#4182)

* OpenX Adapter: Updated requests to force https

* OpenX Adapter: Added support for TTD's UnifiedID and LiveRamp's IDL

* PubMatic to support userId sub-modules (#4191)

* added support for pubcommon, digitrust, id5id

* added support for IdentityLink

* changed the source for id5

* added unit test cases

* changed source param for identityLink

* TripleLift support for UnifiedId and IdentityLink (#4197)

* Add IdentityLink support and fix UnifiedId.

It appears we've been looking for UnifiedId userIds
on the bidderRequest object, when they are found on bidRequests.
This commit fixes that error, and adds support for IdentityLink.

* change maintainer email to group

* Added lemma adapter (#4126)

* 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.

* Adkernel adapter new alias (#4221)

* Force https scheme for Criteo Bidder (#4227)

* assign adapter version number

* Ensure that Criteo's bidder is always called through https

* Add Video Support for Datablocks Bid Adapter (#4195)

* add datablocks Analytics and Bidder Adapters

* remove preload param

* remove preloadid

* better coverage of tests

* better coverage

* IE doesn't support array.find

* lint test

* update example host

* native asset id should be integer

* add datablocks Video

* remove isInteger

* skip if empty

* update adUnit, bidRequest and bidResponse object (#4180)

* update adUnit, bidRequest and bidResponse object

* add test for mediaTypes object

* 3 display banner and video vast support for rads (#4209)

* add stv adapter

* remove comments from adapter file

* start rads adapter

* fix adapter and tests

* fixes

* fix adapter and doc

* fix adapter

* fix tests

* little fix

* add ip param

* fix dev url

* #3 radsBidAdapter.md

* #3 radsBidAdapter.md: cleanup

* fix code and doc

* UserId - Add SameSite and server-side pubcid support (#3869)

* Add SameSite and server-side pubcid support

* Fix emoteevBidAdapter unit test

* added schain to appnexus bid adapter (#4229)

* added schain to appnexus bid adapter

* semicolon

* update doubleclick url (#4179)

* Prebid 2.34.0 release

* increment pre version

* Rubi Analytics handles > 1 bidResponse per bidRequest (#4224)

* videoNow bid adapter (#4088)

* -- first commit

* -- cors and bidder's name fixed

* -- almost ready

* -- added docs

* -- added nurl tracking

* -- bid params

* -- tests added

* -- test fixed

* -- replace placeholder in the onBidWon pixel's url

* -- commit for restart tests

* -- change response data format for display ad

* -- tests updated

* -- 100% tests coverage

* -- a few clean the test's code

* -- custom urls from localStorage

* -- tests updated

* -- a few clean the test's code

* -- new init model

* -- spec for new init model

* -- fix for new init model

* -- code cleaned

* -- 100% tests coverage

* -- 100% tests coverage

* -- fixed test

* -- commit for restart tests

* djax new bidder adapter  (#4192)

* djax bidder adapter

* djax bidder adapter

* Update hello_world.html

* Added Turk Telekom Bid Adapter (#4203)

* Added Turk Telekom Bid Adapter

* Fix md file for Turk Telekom Bid Adapter

* MicroAd: Use HTTPS in all requests (#4220)

* Always use HTTPS endpoint in MicroAd

* Update code

* Fixed a broken test in MicroAd

* Schain: avoiding Object.values as it is breaking on IE11 (#4238)

* added support for pubcommon, digitrust, id5id

* added support for IdentityLink

* changed the source for id5

* added unit test cases

* changed source param for identityLink

* avoiding use of Object.values

* 3952 delay auction for ids (#4115)

* 3952 delay auction for user ids

* 3952 add integration example

* 3952 add tests

* 3952 fix html example

* add todos

* 3952 continue auction if ids received

* 3952 add tests for auction delay

* increase test coverage

* set config for test

* remove todo

* add a few more checks to tests

* add comment, force tests to rerun

* Feature: adUnitBidLimit  (#3906)

* added new feature to config to limit bids when sendallbids is enabled

* cleaned up code. removed extra spaces etc

* removed trailing spaces in config

* remove .flat() and replaced with spread operator

* removed flat function and instead pushing using spread operator

* updated to use sendBidsControl instead

* updated targeting_spec to test bidLimit

* removed trailing spaces from targeting_spec

* Update Rubicon Adapter netRevenue default (#4242)

* Add microadBidAdapter

* Remove unnecessary encodeURIComponent from microadBidAdapter

* Submit Advangelists Prebid Adapter

* Submit Advangelists Prebid Adapter 1.1

* Correct procudtion endpoint for prebid

* analytics update with wrapper name

* reverted error merge

* update changed default value of netRevenue to true

* Removed AdastaMadia from alias (#4255)

* Update appnexusBidAdapter.js (#4251)

* IdentityLink - change expiration time to 30 days (#4239)

* Add coppa support for AppNexus adapter (#4253)

* Add coppa support for AppNexus adapter

* test name

* add new longform e2e tests (#4206)

* Konduit module (#4184)

* Adding Konduit module

* Removed superfluous arguments passed to obtainVastUrl function

* Removed superfluous arguments passed to obtainVastUrl function.

* Build trigger (empty commit)

* Module documentation updated according to the comments

* Logic in obtainVastUrl function updated according to the review comment.

* Removed hook, enabled eslint

* Circle CI runs e2e tests on every push (#4200)

* run functional tests on circle ci on push to any remote branch

* remove extraneous key from config file

* add test.localhost as alias to 127.0.0.1

* check 0: execute circle-ci

* move /etc/config to a separate command

* change bid partner to rubicon

* test appnexus bid adapter in ci

* comment browserstack command

* remove console.log statement

* test1: circle-ci

* change reference dev -> prod while loading prebid

* add console.log statement

* check-2: circle-ci

* comment browserstack testing

* change bid adapter

* change bid adapter

* remove test case for checking targeting keys

* remove the ci flag

* uncomment test for checking correct generation of targeting keys

* swap AN -> Rubicon for testing targeting keys

* Outcon bid adapter. (#4161)

* Outcon bid adapter.

* Fix identation

* Fixes

* Fixes

* Fixes

* Spec fixes

* Fixes

* Fix urls

* Fix

* Fix parameters

* Fix space operators

* Fix bidder timeout

* Update

* Fix whitespace

* no message

* Outcon unit test

* no message

* no message

* no message

* no message

* Fixes

* Fixes

* Change url

* no message

* no message

* no message

* Added bidId

* no message

* no message

* no message

* no message

* Wrapping url with html

* no message

* no message

* no message

* Adding workflow to run end to end tests (#4230)

* Adding workflow to run end to end tests

* trying self branch

* Update to run at 12 every day

* cleanup config using aliases

* update branch and cron time

* add command

* update prebid path for e2e test pages (#4274)

* Prebid 2.35.0 release

* Increment pre version

* Add usersync to adpone adapter (#4245)

* add user sync to adpone adapter

* move adpone usersync to global variable

* added withcredentials to http request

* fix http request options

* fix http request options

* add withCredentials: true

* add withCredentials: true

* added test coverage to usersync

* update sync function

* add test coverage

* adpone adapter

* package lock

* add more testing

* add more testing

* testing for onBidWon fucntion

* test onbidwon function

* trigger build

* Revert GumGum Adapter 2.28 resizing changes (#4277)

* changed resizing unit tests to return the first size dimensions in the sizes array

* added some changes

* reverted adapter changes

* SpotX Bid Adapter: Support schain, ID5 object, Google consent object, and hide_skin (#4281)

* Add SpotXBidAdapter

* Minor updates

* Undo testing changes to shared files

* Fix relative imports

* Remove superfluous imports and write a few more tests

* Formatting, ID5 object, Google consent objects

  - Added ID5 object support
  - Added Google Consent object
  - Reformatted indentaiton on spec file

* Revert content_width and content_height changes in docs

  - not sure how these got moved, lets put them back

* Remove click_to_replay flag in example

  - no reason to use this one in the example

* Spotx adapter - Add schain support and update unit tests

* Update schain path in ORTB 2.3 request body

	- schain object is now added to ortb request body
	  at request.ext.source.ext.schain

* Add hide_skin to documentation

  - whoops, this got removed, let's add it back

* Update Rubicon Analytics Adapter `bidId` to match PBS (#4156)

* Add microadBidAdapter

* Remove unnecessary encodeURIComponent from microadBidAdapter

* Submit Advangelists Prebid Adapter

* Submit Advangelists Prebid Adapter 1.1

* Correct procudtion endpoint for prebid

* analytics update with wrapper name

* reverted error merge

* update for rubicon analytics to send seat[].bid.id for PBS video and banner

* fixed conditional for server and video or banner

* updated with optimized value test for bidid

* update changed default value of netRevenue to true

* remove var declaration for rightSlot to correct lgtm error for unused variable

* update defineSlot div id to match div id defined in html body

* update test ad unit test props

* revert lock to match remote master

* add seatBidId to bidObj in rpBidAdapter interpretResponse

* update setTargeting to execute in the bids back handler

* remove dev integration test page

* meaningless commit to get lgtm to re-run

* SmartRTB adapter update (#4246)

* modules: Implement SmartRTB adapter and spec.

* Fix for-loop syntax to support IE; refactor getDomain out of exported set.

* Remove debugs, update doc

* Update test for video support

* Handle missing syncs. Add video to media types in sample ad unit

* Add null response check, update primary endpoint

* Note smrtb video requires renderer

* Support Vast Track (#4276)

* Add microadBidAdapter

* Remove unnecessary encodeURIComponent from microadBidAdapter

* Submit Advangelists Prebid Adapter

* Submit Advangelists Prebid Adapter 1.1

* Correct procudtion endpoint for prebid

* analytics update with wrapper name

* reverted error merge

* update changed default value of netRevenue to true

* Add parameters if config.cache.vasttrack is true

* Use requestId instead of adId

* Test new vasttrack payload params

* Removed commented out code

* Relaxed conditional check per review

* Removed commented out line

* Added 1000x250 size (#4295)

* prepare vidazoo adapter for v3.0 (#4291)

* Improve Digital adapter: support schain (#4286)

* LiveIntent Identity Module. (#4178)

* LiveIntentIdSystem. Initial implementation.

* LiveIntentIdSystem. Removed whitespace.

* Fixed typo

* Renamed variables, cookiesm added md.

* Changed the default identity url.

* Composite id, with having more than just the lipbid passed around.

* Composite id.

* Merge conflict resolution.

* Changed docs and param description.

* Added typedoc & mentioned liveIntentIdSystem in submodule.json.

* Extracted the LiveIntentIdSystem under modules, removed it from default userId modules.

* Fixing the 204 + no body scenario.

* Added liveIntent to submodule.json

* Fixing docs indentation.

* Updated prebidServer & specs.

* Minor specs update.

* updating liveintent eids source (#4300)

* updating liveintent eids source

these are supposed to be domains

* updating unit test

* fix appnexusBidAdapter view-script regex (#4289)

* fix an view script regex

* minor syntax update

* 33Across adding bidder specific extension field (#4298)

* - add 33across specific ext field for statedAt

* - fix unit test for 33Across adapter

* PubMatic to support LiveIntent User Id sub-module (#4306)

* added support for pubcommon, digitrust, id5id

* added support for IdentityLink

* changed the source for id5

* added unit test cases

* changed source param for identityLink

* supporting LiveIntent Id in PubMatic adapter

* updated source for liveintent

* Finteza Analytics Adapter: fix cookies (#4292)

* fix reading and sending cookies

* fix lint errors

* clear comments

* add unit tests

* fix calling of setCookies for IE

* clear cookies after test

* use own setCookie method inside tests

* Update LockerDome adapter to support Prebid 3.0 (#4301)

* Returning the `IdResponse` type with an obj + callback. Fix for 4304 (#4305)

*  Returning the `IdResponse` type with an obj + callback.

* Renamed resp -> result.

* Removed whitespace.

* ShowHeroes adapter - expanded outstream support (#4222)

* add ShowHeroes Adapter

* ShowHeroes adapter - expanded outstream support

* Revert "ShowHeroes adapter - expanded outstream support"

This reverts commit bfcdb913b52012b5afbf95a84956b906518a4b51.

* ShowHeroes adapter - expanded outstream support

* ShowHeroes adapter - fixes (#4222)

* ShowHeroes adapter - banner and outstream fixes (#4222)

* ShowHeroes adapter - description and outstream changes (#4222)

* ShowHeroes adapter - increase test coverage and small fix

* [Orbidder-Adapter] Add bidRequestCount and remove bid.params.keyValues (#4264)

…
  • Loading branch information
Showing 1 changed file with 102 additions and 23 deletions.
125 changes: 102 additions & 23 deletions modules/permutiveRtdProvider.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# Permutive Real-time Data Submodule
## Prebid Config for Permutive RTD Module

This submodule reads cohorts from Permutive and attaches them as targeting keys to bid requests. Using this module will deliver best targeting results, leveraging Permutive's real-time segmentation and modelling capabilities.
This module reads cohorts from Permutive and attaches them as targeting keys to bid requests.

## Usage
### _Permutive Real-time Data Submodule_

#### Usage
Compile the Permutive RTD module into your Prebid build:

```
Expand Down Expand Up @@ -31,39 +32,117 @@ pbjs.setConfig({
})
```

## Supported Bidders
#### Parameters

The Permutive RTD module sets Audience Connector cohorts as bidder-specific `ortb2.user.data` first-party data, following the Prebid `ortb2` convention, for any bidder included in `acBidders`. The module also supports bidder-specific data locations per ad unit (custom parameters) for the below bidders:

| Bidder | ID | Custom Cohorts | Audience Connector |
| ------- | ---------- | -------------- | ------------------ |
| Xandr | `appnexus` | Yes | Yes |
| Magnite | `rubicon` | Yes | No |
| Ozone | `ozone` | No | Yes |

Key-values details for custom parameters:

- **Custom Cohorts:** When enabling the respective Activation for a cohort in Permutive, this module will automatically attach that cohort ID to the bid request. There is no need to enable individual bidders in the module configuration, it will automatically reflect which SSP integrations you have enabled in your Permutive dashboard. Permutive cohorts will be sent in the `permutive` key-value.

- **Audience Connector:** You'll need to define which bidders should receive Audience Connector cohorts. You need to include the `ID` of any bidder in the `acBidders` array. Audience Connector cohorts will be sent in the `p_standard` key-value.

## Parameters
The parameters below provide configurability for general behaviours of the RTD submodule,
as well as enabling settings for specific use cases mentioned above (e.g. acbidders).

| Name | Type | Description | Default |
| ---------------------- | -------- | --------------------------------------------------------------------------------------------- | ------- |
|------------------------|----------|-----------------------------------------------------------------------------------------------|---------|
| name | String | This should always be `permutive` | - |
| waitForIt | Boolean | Should be `true` if there's an `auctionDelay` defined (optional) | `false` |
| params | Object | | - |
| params.acBidders | String[] | An array of bidders which should receive AC cohorts. | `[]` |
| params.maxSegs | Integer | Maximum number of cohorts to be included in either the `permutive` or `p_standard` key-value. | `500` |
| params.transformations | Object[] | An array of configurations for ORTB2 user data transformations | |

### The `transformations` parameter
##### The `transformations` parameter

This array contains configurations for transformations we'll apply to the Permutive object in the ORTB2 `user.data` array. The results of these transformations will be appended to the `user.data` array that's attached to ORTB2 bid requests.

#### Supported transformations
##### Supported transformations

| Name | ID | Config structure | Description |
| -------------- | --- | ------------------------------------------------- | ------------------------------------------------------------------------------------ |
|----------------|-----|---------------------------------------------------|--------------------------------------------------------------------------------------|
| IAB taxonomies | iab | { segtax: number, iabIds: Object<number, number>} | Transform segment IDs from Permutive to IAB (note: alpha version, subject to change) |

#### Context

Permutive is not listed as a TCF vendor as all data collection is on behalf of the publisher and based on consent the publisher has received from the user.
Rather than through the TCF framework, this consent is provided to Permutive when the user gives the relevant permissions on the publisher website which allow the Permutive SDK to run.
This means that if GDPR enforcement is configured _and_ the user consent isn’t given for Permutive to fire, no cohorts will populate.
As Prebid utilizes TCF vendor consent, for the Permutive RTD module to load, Permutive needs to be labeled within the Vendor Exceptions

#### Instructions

1. Publisher enables GDPR rules within Prebid.
2. Label Permutive as an exception, as shown below.
```javascript
[
{
purpose: 'storage',
enforcePurpose: true,
enforceVendor: true,
vendorExceptions: ["permutive"]
},
{
purpose: 'basicAds',
enforcePurpose: true,
enforceVendor: true,
vendorExceptions: []
}
]
```

Before making any updates to this configuration, please ensure that this approach aligns with internal policies and current regulations regarding consent.

## Cohort Activation with Permutive RTD Module

### _Enabling Standard Cohorts_

**Note**: Publishers must be enabled on the above Permutive RTD Submodule to enable Standard Cohorts.

The acbidders config in the Permutive RTD module allows publishers to determine which demand partners (SSPs) will receive standard cohorts via the <u>user.data</u> ortb2 object. Cohorts will be sent in the `p_standard` key-value.

The Permutive RTD module sets standard cohort IDs as bidder-specific ortb2.user.data first-party data, following the Prebid ortb2 convention.

There are **two** ways to assign which demand partner bidders (e.g. SSPs) will receive Standard Cohort information via the Audience Connector (acbidders) config:

#### Option 1 - Automated

New demand partner bidders may be added to the acbidders config directly within the Permutive Platform.

**Permutive can do this on your behalf**. Simply contact your Permutive CSM with strategicpartnershipops@permutive.com on cc,
indicating which bidders you would like added.

Or, a publisher may do this themselves within the UI using the below instructions.

##### Create Integration

In order to update acbidders via the Permutive dashboard,
it is necessary to first enable the prebid integration in the integrations page (settings).

**Note on Revenue Insights:** The prebid integration includes a feature for revenue insights,
which is not required for the purpose of updating acbidders config.
Please see [this document](https://support.permutive.com/hc/en-us/articles/360019044079-Revenue-Insights) for more information about revenue insights.

##### Update acbidders

The input for the “Data Provider config” is currently a multi-input free text.
A valid “bidder code” needs to be entered in order to enable Standard Cohorts to be passed to the desired partner.
The [prebid Bidders page](https://docs.prebid.org/dev-docs/bidders.html) contains instructions and a link to a list of possible bidder codes.

Acbidders can be added or removed from the list using this feature, however, this will not impact any acbidders that have been applied using the manual method below.

#### Option 2 - Manual

As a secondary option, new demand partner bidders may be added manually.

To do so, a Publisher may define which bidders should receive Standard Cohorts by
including the _bidder code_ of any bidder in the `acBidders` array.

**Note:** If a Publisher ever needs to remove a manually-added bidder, the bidder will also need to be removed manually.

### _Enabling Custom Cohort IDs for Targeting_

Separately from Standard Cohorts - The Permutive RTD module also supports passing any of the **custom** cohorts created in the dashboard to some SSP partners for targeting
e.g. setting up publisher deals. For these activations, cohort IDs are set in bidder-specific locations per ad unit (custom parameters).

Currently, bidders with known support for custom cohort targeting are:

- Xandr
- Magnite

When enabling the respective Activation for a cohort in Permutive, this module will automatically attach that cohort ID to the bid request.
There is no need to enable individual bidders in the module configuration, it will automatically reflect which SSP integrations you have enabled in your Permutive dashboard.
Permutive cohorts will be sent in the permutive key-value.

0 comments on commit 4bdad20

Please sign in to comment.