Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(prebid6): sync with official repo #46

Merged
merged 280 commits into from
May 23, 2022

Conversation

EugeneVigonny
Copy link

No description provided.

hendrikiseke1979 and others added 30 commits February 22, 2022 10:45
Co-authored-by: Surovenko Alexey <surovenko.alexey@gmail.com>
…rebid#8104)

* Update 33acrossBidAdapter.js

* Update smaatoBidAdapter.js

* Update sharethroughBidAdapter.js

* Update oneVideoBidAdapter.js
* Update rhythmoneBidAdapter.js

* Update unrulyBidAdapter.js
* Change publisherId to zoneId
Add gdpr
Add supply chain
Add video media type

* Remove comments

* Fix unit test coverage

* fix request id bug
add vastXml to video response

* Remove bid response default sizes

* Change endpoint url

* Add unit test for vastXml

* Change end point

* Remove trailing-space

* Add onBidWon function

* New adapter - videofy

* Marsmedia & Videofy - Add onTimeout onSetTargeting

* Create sendbeacon function

* - add viewability

* remove unnecessary utils.getWindowTop()

* Remove bidderCode from response for alias use

* Remove unuse that var
* Update privacy link and icon for NextRoll BidAdapter

* update adapter spec
Co-authored-by: Bernhard Pickenbrock <bernhard.pickenbrock@smaato.com>
Co-authored-by: Vladimir Fedoseev <vladimir.fedoseev@yoc.com>
* initial commit

* adriver id submodule add

* add id system tests, fix adriver bid adapter tests

* add new lines at the end of files
…ettings.storageAllowed` (prebid#7992)

* Prebid core: bidder-specific control over storage access via `bidderSettings.allowStorage`

prebid#7280

* Refactor signature of getStorageManager

* Refactor calls to getStorageManager from bid adapters

* Use bidderCode for StorageManager enforcement of bidderSettings.storageAllowed

* Update adriver adapter to use new getStorageManager signature
* add Rise adapter

* fixes

* change param isOrg to org

* Rise adapter

* change email for rise

* fix circle failed

* bump

* bump

* bump

* remove space

* Upgrade Rise adapter to 5.0

* starting to combine adUnits to a single request. Added banner media type

* improved logic

* handle multiple response bids. Updated sent params from buildRequests

* removed the old build request function

* fixed testMode logic

* setting different params by the mediaType, if they're available

* updated media format for adUnits (vastXml / html)

* updated response structure and some request params

* updated request and response structure and logic

* fixed netRevenue param

* syntax and naming fix

* adapter syntax fix and tests partial update according to adapter's new logic

* more tests updated. Small adapter tweaks

* updated tests to match new request and response structures

* fixed config on one of the tests

* improved logic

* separated query for video and banner keys

* added nurl tests

* added display tests

* updated requests structure and tests video/display together

* removed TODO

* changes bids object params to camelCase

* moved tmax to general params instead of bids. Updated params names in spec file

* sending playbackMethod as a single int

* sending playbackMethod as a single int

* support gpid

* changed the playbackMethodValue signal to let

* changed vars signal order

* moved placement_id key to bids object

* changed placementId to camelCase

* fixed issue where placementId tried to access wrong object

* fixed floorPrice bug

* moved currency and netRevenue keys to each bid object

* cr

* updated placementId value. Added condition to currency and netRevenue

* Delete package-lock.json

* added package-lock.json back

* removed line from package.json

* updated some self tests logic

* empty commit

Co-authored-by: Noam Tzuberi <noam.tzuberi@ironsrc.com>
Co-authored-by: noamtzu <noamtzu@gmail.com>
Co-authored-by: Noam Tzuberi <noamtzu@users.noreply.github.com>
Co-authored-by: Laslo Chechur <laslo.chechur@ironsrc.com>
* add video&native traffic colossus ssp

* Native obj validation

* Native obj validation #2

* Added size field in requests

* fixed test

* fix merge conflicts

* move to 3.0

* move to 3.0

* fix IE11 new URL issue

* fix IE11 new URL issue

* fix IE11 new URL issue

* https for 3.0

* add https test

* add ccp and schain features

* fix test

* sync with upstream, fix conflicts

* Update colossussspBidAdapter.js

remove commented code

* Update colossussspBidAdapter.js

lint fix

* identity extensions

* identity extensions

* fix

* fix

* fix

* fix

* fix

* add tests for user ids

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* add gdpr support

* add gdpr support

* id5id support

* Update colossussspBidAdapter.js

add bidfloor parameter

* Update colossussspBidAdapter.js

check bidfloor

* Update colossussspBidAdapter.js

* Update colossussspBidAdapter.js

* Update colossussspBidAdapter.js

* Update colossussspBidAdapter_spec.js

* use floor module

* Revert "use floor module"

This reverts commit f0c5c24.

* use floor module

* update to 5v

* fix

* add uid2 and bidFloor support

* fix

* add pbadslot support

* fix conflicts

* add onBidWon

* refactor

* add test for onBidWon()

* fix

* add group_id

* Trigger circleci

* fix

* update user sync

Co-authored-by: Vladislav Isaiko <vladis@smartyads.com>
Co-authored-by: Aiholkin <artem.iholkin@smartyads.com>
Co-authored-by: Mykhailo Yaremchuk <m.yaremchuk@smartyads.com>
* Feature Prebid First Party Data (#2)

* HBT-166: Added PageCategory and Genre to request object from First-Party-Data

* HBT-166: Added PageCategory and Genre to request object from First-Party-Data and Rewrite Test Cases

* Update improvedigitalBidAdapter.js

Version increased

* Improve Digital COPPA support

* Feature/razr integration (#3)

Integrated RAZR rich creative renderer

* Use renderer interface for Razr

Co-authored-by: Faisal Islam <93644923+faisalvs@users.noreply.github.com>
Co-authored-by: Samiul Amin Shanto <93644987+samiul-shanto@users.noreply.github.com>
Co-authored-by: Faisal Islam <faisal.islam@vivacomsolutions.com>
…b2.site (prebid#8041)

* TheMediaGrid: added support genre and cat from config ortb2.site

* TheMediaGrid: fix bug with possible undefined cat or pagecat
* Kargo Bid Adapter: Use currency from Bid Response

* Kargo Bid Adapter: Fix failed test

Co-authored-by: Jeremy Sadwith <jeremy@kargo.com>
* add Rise adapter

* fixes

* change param isOrg to org

* Rise adapter

* change email for rise

* fix circle failed

* bump

* bump

* bump

* remove space

* Upgrade Rise adapter to 5.0

* minutemedia adapter

* change adresses and mails

* mm endpoints

* add gvlid

* fix

* fix tests

Co-authored-by: Noam Tzuberi <noam.tzuberi@ironsrc.com>
Co-authored-by: Laslo Chechur <laslo.chechur@ironsrc.com>
…id#8084)

* Convert sizeMappingV1 to work on adUnits (and not bid requests)

* Convert sizemappingV2 to work on adUnits (and not bidRequests)

* Warn about unsupported bidder-level sizeMapping configuration in PBS adapter
* Kargo Bid Adapter: Use currency from Bid Response

* Kargo Bid Adapter: Fix failed test

* Removing legacy partner code

Co-authored-by: Wei Wong <wwong@kargo.com>
wojciech-bialy-wpm and others added 25 commits May 12, 2022 12:49
…nges (prebid#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>
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.
```
…#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.
…#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 43fa658.

* 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
* 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>
…` has been called (prebid#8408)

* Extract controllable promise into utils function

* Do not start init of userId until processQueue is called
* outstream player update

* documentation update

Co-authored-by: Love Sharma <love.sharma@indexexchange.com>
* 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>
prebid#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
Co-authored-by: shahin.rahbariasl <shahin.rahbariasl@indexexchange.com>
… processing (prebid#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>
…Xml response (prebid#8426)

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

* kargo adapter - updating tests
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>
We are updating sync URLs to our current partners.
@EugeneVigonny EugeneVigonny merged commit 1ea2e79 into prebid6 May 23, 2022
@EugeneVigonny EugeneVigonny deleted the feat/prebid6-sync-with-official-repo branch May 23, 2022 06:44
@EugeneVigonny EugeneVigonny restored the feat/prebid6-sync-with-official-repo branch May 23, 2022 06:45
EugeneVigonny added a commit that referenced this pull request May 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment