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

Colossus adapter changes #4476

Merged
merged 14 commits into from
Dec 2, 2019
Merged

Conversation

HuddledMasses
Copy link
Contributor

Type of change

  • Build related changes

Description of change

Changes related to 3.0 update

@HuddledMasses
Copy link
Contributor Author

HuddledMasses commented Nov 18, 2019

Problem with browserstack package prevents project from passing circleci test

18 11 2019 15:53:44.241:ERROR [launcher]: Cannot load browser "bs_edge_17_windows_10"!
Error: Username is required.
at ApiClient.BaseClient (/home/circleci/Prebid.js/node_modules/browserstack/lib/client.js:18:9)
at ApiClient.ApiBaseClient (/home/circleci/Prebid.js/node_modules/browserstack/lib/api.js:9:13)
at new ApiClient (/home/circleci/Prebid.js/node_modules/browserstack/lib/api.js:162:17)
at Object.createClient (/home/circleci/Prebid.js/node_modules/browserstack/lib/api.js:278:10)
at createBrowserStackClient (/home/circleci/Prebid.js/node_modules/karma-browserstack-launcher/index.js:64:20)
at Array.invoke (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:75:15)
at Injector.get (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:48:43)
at Injector.get (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:54:19)
at get (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:54:19)
at /home/circleci/Prebid.js/node_modules/di/lib/injector.js:71:14
at Array.map ()
at invoke (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:70:31)
at Array.instantiate (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:59:20)
at Injector.get (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:48:43)
at module.(anonymous function) (/home/circleci/Prebid.js/node_modules/karma/lib/config.js:249:64)
at Array.invoke (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:75:15)
18 11 2019 15:53:44.242:ERROR [launcher]: Cannot load browser "bs_edge_16_windows_10"!
Error: Can not resolve circular dependency! (Resolving: browserStackClient -> browserStackClient)
at error (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:22:12)
at Injector.get (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:44:15)
at Injector.get (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:54:19)
at get (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:54:19)
at /home/circleci/Prebid.js/node_modules/di/lib/injector.js:71:14
at Array.map ()
at invoke (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:70:31)
at Array.instantiate (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:59:20)
at Injector.get (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:48:43)
at module.(anonymous function) (/home/circleci/Prebid.js/node_modules/karma/lib/config.js:249:64)
at Array.invoke (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:75:15)
at Injector.get (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:48:43)
at /home/circleci/Prebid.js/node_modules/karma/lib/launcher.js:62:72
at names.forEach (/home/circleci/Prebid.js/node_modules/karma/lib/launcher.js:102:71)
at Array.forEach ()
at Launcher.launch (/home/circleci/Prebid.js/node_modules/karma/lib/launcher.js:102:13)
18 11 2019 15:53:44.242:ERROR [launcher]: Cannot load browser "bs_ie_11_windows_10"!
Error: Username is required.
at ApiClient.BaseClient (/home/circleci/Prebid.js/node_modules/browserstack/lib/client.js:18:9)
at ApiClient.ApiBaseClient (/home/circleci/Prebid.js/node_modules/browserstack/lib/api.js:9:13)
at new ApiClient (/home/circleci/Prebid.js/node_modules/browserstack/lib/api.js:162:17)
at Object.createClient (/home/circleci/Prebid.js/node_modules/browserstack/lib/api.js:278:10)
at createBrowserStackClient (/home/circleci/Prebid.js/node_modules/karma-browserstack-launcher/index.js:64:20)
at Array.invoke (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:75:15)
at Injector.get (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:48:43)
at Injector.get (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:54:19)
at get (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:54:19)
at /home/circleci/Prebid.js/node_modules/di/lib/injector.js:71:14
at Array.map ()
at invoke (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:70:31)
at Array.instantiate (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:59:20)
at Injector.get (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:48:43)
at module.(anonymous function) (/home/circleci/Prebid.js/node_modules/karma/lib/config.js:249:64)
at Array.invoke (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:75:15)
18 11 2019 15:53:44.242:ERROR [launcher]: Cannot load browser "bs_chrome_74_windows_10"!
Error: Can not resolve circular dependency! (Resolving: browserStackClient -> browserStackClient)
at error (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:22:12)
at Injector.get (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:44:15)
at Injector.get (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:54:19)
at get (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:54:19)
at /home/circleci/Prebid.js/node_modules/di/lib/injector.js:71:14
at Array.map ()
at invoke (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:70:31)
at Array.instantiate (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:59:20)
at Injector.get (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:48:43)
at module.(anonymous function) (/home/circleci/Prebid.js/node_modules/karma/lib/config.js:249:64)
at Array.invoke (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:75:15)
at Injector.get (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:48:43)
at /home/circleci/Prebid.js/node_modules/karma/lib/launcher.js:62:72
at names.forEach (/home/circleci/Prebid.js/node_modules/karma/lib/launcher.js:102:71)
at Array.forEach ()
at Launcher.launch (/home/circleci/Prebid.js/node_modules/karma/lib/launcher.js:102:13)
18 11 2019 15:53:44.243:ERROR [launcher]: Cannot load browser "bs_chrome_75_windows_10"!
Error: Username is required.
at ApiClient.BaseClient (/home/circleci/Prebid.js/node_modules/browserstack/lib/client.js:18:9)
at ApiClient.ApiBaseClient (/home/circleci/Prebid.js/node_modules/browserstack/lib/api.js:9:13)
at new ApiClient (/home/circleci/Prebid.js/node_modules/browserstack/lib/api.js:162:17)
at Object.createClient (/home/circleci/Prebid.js/node_modules/browserstack/lib/api.js:278:10)
at createBrowserStackClient (/home/circleci/Prebid.js/node_modules/karma-browserstack-launcher/index.js:64:20)
at Array.invoke (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:75:15)
at Injector.get (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:48:43)
at Injector.get (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:54:19)
at get (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:54:19)
at /home/circleci/Prebid.js/node_modules/di/lib/injector.js:71:14
at Array.map ()
at invoke (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:70:31)
at Array.instantiate (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:59:20)
at Injector.get (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:48:43)
at module.(anonymous function) (/home/circleci/Prebid.js/node_modules/karma/lib/config.js:249:64)
at Array.invoke (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:75:15)
18 11 2019 15:53:44.243:ERROR [launcher]: Cannot load browser "bs_firefox_66_windows_10"!
Error: Can not resolve circular dependency! (Resolving: browserStackClient -> browserStackClient)
at error (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:22:12)
at Injector.get (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:44:15)
at Injector.get (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:54:19)
at get (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:54:19)
at /home/circleci/Prebid.js/node_modules/di/lib/injector.js:71:14
at Array.map ()
at invoke (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:70:31)
at Array.instantiate (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:59:20)
at Injector.get (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:48:43)
at module.(anonymous function) (/home/circleci/Prebid.js/node_modules/karma/lib/config.js:249:64)
at Array.invoke (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:75:15)
at Injector.get (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:48:43)
at /home/circleci/Prebid.js/node_modules/karma/lib/launcher.js:62:72
at names.forEach (/home/circleci/Prebid.js/node_modules/karma/lib/launcher.js:102:71)
at Array.forEach ()
at Launcher.launch (/home/circleci/Prebid.js/node_modules/karma/lib/launcher.js:102:13)
18 11 2019 15:53:44.243:ERROR [launcher]: Cannot load browser "bs_firefox_67_windows_10"!
Error: Username is required.
at ApiClient.BaseClient (/home/circleci/Prebid.js/node_modules/browserstack/lib/client.js:18:9)
at ApiClient.ApiBaseClient (/home/circleci/Prebid.js/node_modules/browserstack/lib/api.js:9:13)
at new ApiClient (/home/circleci/Prebid.js/node_modules/browserstack/lib/api.js:162:17)
at Object.createClient (/home/circleci/Prebid.js/node_modules/browserstack/lib/api.js:278:10)
at createBrowserStackClient (/home/circleci/Prebid.js/node_modules/karma-browserstack-launcher/index.js:64:20)
at Array.invoke (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:75:15)
at Injector.get (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:48:43)
at Injector.get (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:54:19)
at get (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:54:19)
at /home/circleci/Prebid.js/node_modules/di/lib/injector.js:71:14
at Array.map ()
at invoke (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:70:31)
at Array.instantiate (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:59:20)
at Injector.get (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:48:43)
at module.(anonymous function) (/home/circleci/Prebid.js/node_modules/karma/lib/config.js:249:64)
at Array.invoke (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:75:15)
18 11 2019 15:53:44.243:ERROR [launcher]: Cannot load browser "bs_safari_11_mac_high_sierra"!
Error: Can not resolve circular dependency! (Resolving: browserStackClient -> browserStackClient)
at error (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:22:12)
at Injector.get (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:44:15)
at Injector.get (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:54:19)
at get (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:54:19)
at /home/circleci/Prebid.js/node_modules/di/lib/injector.js:71:14
at Array.map ()
at invoke (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:70:31)
at Array.instantiate (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:59:20)
at Injector.get (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:48:43)
at module.(anonymous function) (/home/circleci/Prebid.js/node_modules/karma/lib/config.js:249:64)
at Array.invoke (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:75:15)
at Injector.get (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:48:43)
at /home/circleci/Prebid.js/node_modules/karma/lib/launcher.js:62:72
at names.forEach (/home/circleci/Prebid.js/node_modules/karma/lib/launcher.js:102:71)
at Array.forEach ()
at Launcher.launch (/home/circleci/Prebid.js/node_modules/karma/lib/launcher.js:102:13)
18 11 2019 15:53:44.244:ERROR [launcher]: Cannot load browser "bs_safari_12_mac_mojave"!
Error: Username is required.
at ApiClient.BaseClient (/home/circleci/Prebid.js/node_modules/browserstack/lib/client.js:18:9)
at ApiClient.ApiBaseClient (/home/circleci/Prebid.js/node_modules/browserstack/lib/api.js:9:13)
at new ApiClient (/home/circleci/Prebid.js/node_modules/browserstack/lib/api.js:162:17)
at Object.createClient (/home/circleci/Prebid.js/node_modules/browserstack/lib/api.js:278:10)
at createBrowserStackClient (/home/circleci/Prebid.js/node_modules/karma-browserstack-launcher/index.js:64:20)
at Array.invoke (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:75:15)
at Injector.get (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:48:43)
at Injector.get (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:54:19)
at get (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:54:19)
at /home/circleci/Prebid.js/node_modules/di/lib/injector.js:71:14
at Array.map ()
at invoke (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:70:31)
at Array.instantiate (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:59:20)
at Injector.get (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:48:43)
at module.(anonymous function) (/home/circleci/Prebid.js/node_modules/karma/lib/config.js:249:64)
at Array.invoke (/home/circleci/Prebid.js/node_modules/di/lib/injector.js:75:15)
18 11 2019 15:53:44.244:ERROR [karma-server]: Error: Found 9 load errors
at Server.webServer.listen (/home/circleci/Prebid.js/node_modules/karma/lib/server.js:182:27)
at Object.onceWrapper (events.js:313:30)
at emitNone (events.js:111:20)
at Server.emit (events.js:208:7)
at emitListeningNT (net.js:1378:10)
at _combinedTickCallback (internal/process/next_tick.js:135:11)
at process._tickDomainCallback (internal/process/next_tick.js:218:9)
[15:53:44] 'test' errored after 51 s
[15:53:44] Error: Karma tests failed with exit code 1
at /home/circleci/Prebid.js/gulpfile.js:261:12
at removeAllListeners (/home/circleci/Prebid.js/node_modules/karma/lib/server.js:354:9)
at webServer.close (/home/circleci/Prebid.js/node_modules/karma/lib/server.js:365:13)
at Server.close (net.js:1604:9)
at Object.onceWrapper (events.js:313:30)
at emitNone (events.js:111:20)
at Server.emit (events.js:208:7)
at emitCloseNT (net.js:1655:8)
at _combinedTickCallback (internal/process/next_tick.js:135:11)
at process._tickDomainCallback (internal/process/next_tick.js:218:9)
[15:53:44] 'test' errored after 1.37 min
Exited with code 1

Copy link
Collaborator

@jsnellbaker jsnellbaker left a comment

Choose a reason for hiding this comment

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

Hi @HuddledMasses

I took a look at the changes, and they largely seem good. There was one point regarding the endpoint URLs (please take a look at the in-line comment below).

As a semi-related note, when I tested the adapter with the bid params in the md file. I got a bid back successfully (over the non-secure domain), but the image URL failed to load (was a 404 error).

The URL that was loaded was:
https://supply.colossusssp.com/img/logo.png

The 404 error happened when I changed the protocol to http and tried to load it in a browser tab directly. Can you take a look?

const URL = '//colossusssp.com/?c=o&m=multi';
const URL_SYNC = '//colossusssp.com/?c=o&m=cookie';
const G_URL = '//colossusssp.com/?c=o&m=multi';
const G_URL_SYNC = '//colossusssp.com/?c=o&m=cookie';
Copy link
Collaborator

Choose a reason for hiding this comment

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

To clarify on the change here, was the variable name the only intended difference? Or was the protocol in these URLs also meant to be hard-coded to https (which is a part of the 3.0 changes)?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Variable names were changed due to collision with global javascript object name "URL"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Prefix G_ jut means "global"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

About 404 code for https://supply.colossusssp.com/img/logo.png. We have been using our log as test creative, but link have changed. I fixed those link

Copy link
Collaborator

Choose a reason for hiding this comment

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

Hi @HuddledMasses

Thanks for the clarification on the variable name and the image URL.

Are you going to also change the protocol for these URLs to ensure they're https for 3.0?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've added strict https, to leave adapter in future major release. In a week we will optimize our
HW resources to handle more https traffic

Copy link
Collaborator

Choose a reason for hiding this comment

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

@HuddledMasses Thank you making the update. It seems there are two test cases that need to be updated in lieu of the protocol change. They're at lines 44 & 119 in the spec file. Can you make those changes please?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh yes, I've added them

Copy link
Collaborator

Choose a reason for hiding this comment

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

@mkendall07 and I agree that HTTPS is a hard requirement for 3.0.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@bretg We made https strict earlier in this pool request

@jsnellbaker
Copy link
Collaborator

I forgot to comment, the browserstack errors you encountered happen because the job here was ran on your own local circleci project rather than Prebid's. This has happened in the past and we haven't really found a good workaround for the automated jobs. I'll run the browserstack tests locally for this PR as it gets updated and will let you know if there's an issue on that front.

Copy link
Collaborator

@jsnellbaker jsnellbaker left a comment

Choose a reason for hiding this comment

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

Hi @HuddledMasses
Thanks for making all the requested changes. I re-reviewed everything and it all looks good.

@jsnellbaker jsnellbaker merged commit 2d94094 into prebid:master Dec 2, 2019
afewcc pushed a commit to criteo-forks/Prebid.js that referenced this pull request Dec 10, 2019
* 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
jsnellbaker pushed a commit that referenced this pull request Dec 16, 2019
* use own package instead of npm dependencies

* remove eval call, use utils.insertElement instead

* use own package instead of npm dependencies

* remove eval call, use utils.insertElement instead

* fixed some merge issues after rebasing

* switched rsa validation package to criteo's official one

* increment adapter version

* removed unused querystringify references (probably here after a merge error)

* updated package-lock.json

* Staq Adapter: update with meta envelope (#4372)

* initial dev

* fix staq adapter name

* fix hello world staq call

* get hello world working again

* add user agent collection

* fix some unite tests

* Add STAQ Analytics Adapter doc

* clean up hello world

* fix tests to play nice with browserstack

* fix around issues with browserstack and deep equals of objects

* dump variable env testing since we can't mod user agent stuff in browserstack

* Update STAQ adapter to stop using deprecated utils for referrer

* remove package-lock.json changes via master rebase

* improve call frequency for ref util

* change ajax content type

* adjust ajax request to not expect whitelisting

* remove superflous commented-out code

* update event package to use meta information in envelope rather than per event basis

* fix formatting

* more formatting fixes

* more formatting!

* Rhythmone Adapter - schain support (#4414)

Circle CI failing tests are not related to this PR.

* Media.net Adapter: Support Prebid 3.0 (#4378)

* Media.net Adapter: Support Prebid 3.0

* Media.net Adapter: add tests to increase code coverage

* Vi Adapter: Passes additional param in the bid request (#4134)

* Add focus check

(cherry picked from commit 9d6d6dfb83580d6a5ffed8faa5762db48f8fd44d)

* Pass focus as numeric value

(cherry picked from commit 9fae56a637f87b0d39cc1d24eeb1f9ff9df88f64)

* Add unit test

(cherry picked from commit 946710f2e9960b3839613d4bdf730e57ba38a964)

* Sovrn adapter updates: schain, digitrust, pixel syncing, and 3.0 upgrades (#4385)

* schain and digitrust

* pixel beacons

* unit tests and fixes from testing

* Prebid 3.0 updates

* review fix

* use backwards compatible flatMap impl

* update pixel tests

* unit test fix

* update one more url to ssl

* fixed test

* review updates

* TheMediaGrid Bid Adapter update (#4447)

* Added Grid Bid Adapter

* remove priceType from TheMediaGrid Bid Adapter

* Add video support in Grid Bid Adapter

* Added test parameter for video slot

* update Grid Bid Adapter to set size in response bid

* Update Grid Bid Adapter to support identical uids in parameters

* Fix typo in test file for Grid Bid Adapter

* Update The Grid Media Bidder Adapter to send refererInfo.referer as 'u' parameter in ad request

* Hotfix for referrer in Grid Bid Adapter

* Grid Bid Adapter: added wrapperType and wrappweVersion to the ad request

* TheMediaGrid Bid Adapter: added sync url

* TheMediaGrid Bid Adapter: added GDPR params to sync url

* TheMediaGrid Bid Adapter: added tests for getUserSyncs function

* Conversant Bid Adapter adds support for extended ids (#4462)

* Adkernel 3.0 compatibility (#4477)

* Rubicon Adapter pchain support (#4480)

* rubicon pchain support

* removed describe.only

* Implemented changes required to provide support for video in the IX bidding adapter for Instream and Outstream contexts. (#4424)

* Default size filter & KVP support (#4452)

* adding DMX

test @97%, two files added one updated

* Update districtm_spec.js

* Update districtmDMX.js

* adding all districtm needed file

* remove legacy file

* remove typo || 0 in the test method

* force default to return a valid width and height

* update unit test code for failing test

* changed class for an object

* remove package-lock.json

* change file name for dmx adapter

* renamed files

* restaure package-lock.json

* update to last package-lock state

* update gdpr user consent

* fix sizes issue

* Documentation updates

Adding the readme.md info

* update file name and update unit testing import file location

* current machine state

* lint correction

* remove variable assigment duplicate

* adding logic upto5

* adding support for removing and shuffle sizes

* adding array split test

* re-assign none standard size to the request

* resolve duplicate format inside format array

* update .md and adaptor file for KVP support

* remove array helper includes

* inforce two digit after decimal

* RUn error check nothing on my side but error form another adapter

* add id5id to prebid server bid adapter (#4468)

* Added _pbjsGlobals for tracking renames. Resolves #4254 (#4419)

* Feature/smart video (#4367)

* Adding outstream video support.

* Fixing unit test.

* Adding video instream support.

* Handling video startDelay parameter.

* Improving unit tests.

* Fixing indent.

* Handling the request when videoMediaType context is not supported.

* Changing maintainer mail address.

* Remove video outstream specific code.

* Unit test updated.

* do not select element that gets removed after dfp render (#4423)

* add smms adapter (#4439)

* add smms adapter

* re-run ci, why adigo adapter failed??

* review comments fix, remove deprecated functions, fix unit test

* Prebid 2.41.0 release

* Increment pre version

* adds schain param (#4442)

* Create newborntownWeb adapter (#4455)

* Create newborntownWeb adapter

* only https protocol

* Provide criteoId to server by user.ext.eids (#4478)

*  ucfunnel adapter fix error message in debug mode (#4338)

* 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

* explicitly check undefined to allow falsey values in getConfig (#4486)

* Conversant Bid Adapter handles vast xml (#4492)

* [feature] Add a config list of submodules that require refreshing the stored ID after each bid request (#4325)

* add a feature to always refresh stored id on each bid request for submodules that require that

* update test comments

* Prebid 2.42.0 Release

* Increment pre version

* Make adhese adapter prebid 3.0 compatible (#4507)

* Added 'adhese' attribute to bid that contains meta data - Jira AD-2642

* added DALE to adhese determination

* extra config option: no format, but use size array as format string

* Read sizes from mediaTypes.banner.sizes + Apply Eslint suggestions

* Use map and join, add originData to response

* properly use originData obj

* Remove duplicated ids

* Update tests

* BugFix: Site id missing (#4467)

* 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

* adding site id

* adding placement and siteis

* site id param test case

* removing deprecated functions

* correcting test cases

* indentation

* test cases fix

* Invisibly analytics adapter (#4470)

* PUBA-5273:initial commit with analytics adapter, spec & md file

* PUBA-5273: updated adapter definition

* PUBA-5273: added support contact info

* PUBA-5273: adding clearInterval on AUCTION_END

* PUBA-5273: reverted last commit as CircleCI job failed

* Reverted changes to fix CircleCI build error

* Re-commiting invocation of clearInterval on Auction_end

* Colossus adapter changes for Prebid 3.0 (#4476)

* 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

* New alias for adkernel adapter (#4512)

* adagioAnalyticsAdapter: fix inconsistent tests (#4417)

* PubMatic adapter avoiding deprecated utils APIs (#4521)

* added support for pubcommon, digitrust, id5id

* added support for IdentityLink

* changed the source for id5

* added unit test cases

* changed source param for identityLink

* stoped using getTopWindowUrl

* removed extra white space

* Vuble Adapter adaptations for Prebid 3.0 (#4499)

* Mod: always use https

* Handle mediaType.video.playerSize

* Use bidder request to get referer info

* quantcastBidAdapter update for 3.0 (#4451)

* Updated quantcastBidAdapter to always send secure requests.

* Ignore deprecated banner format.

* Orbidder Bid Adapter adds withCredentials=true header for bid and win requests (#4464)

* orbidder adapter: add withCredentials:true header to BidRequest and onBidWon Requests

* add blank in order to trigger build again

* remove blank to trigger build ... again

* adding extra line to trigger build ... again

* InvibesBidAdapter - kw support (#4488)

* InvibesBidAdapter - kw support

* InvibesBidAdapter - fixed & added tests for coverage

* InvibesBidAdapter - lint fix

* logError for missing s2s adapter (#4498)

* logError for missing s2s adapter

* changed error message

* Update adapterManager.js

* Change protocol to https (#4513)

* 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

* Fix mediaTypes

* no message

* Update outconBidAdapter_spec.js

* Adding VAS response

* no message

* no message

* no message

* Fix

* Changed ttl

* no message

* supportedMediaTypes

* no message

* no message

* Change protocol to https

* no message

* adxcgBidAdapter prebid 3.0 requirements compatibility (#4514)

* adxcgBidAdapter prebid 3.0 requirements compatibility

* Restarting CI test

* Add schain support for LockerDome adapter (#4360)

* adxcgAnalyticsAdapter.js prebid 3.0 requirements compatibility (#4515)

* adxcgAnalyticsAdapter.js prebid 3.0 requirements compatibility

* CI restart

* CI restart

* Updated docs

* Add britepool userid submodule (#4314)

* * Added BritePool User ID Submodule

* * Refactor getId() and allow it to return a sync value from getter()

* * Pull only primaryBPID key out of hardened API response

* add check for decoded primaryBPID value and update readme

* * Added BritePool User ID Submodule

* * Refactor getId() and allow it to return a sync value from getter()

* * Pull only primaryBPID key out of hardened API response

* add check for decoded primaryBPID value and update readme

* update userId_spec.js tests

* update userId_spec.js tests and add britepoolIdSystem to submodules.json

* moved our module specific tests to own spec file

* * Update to use getId() with callback key
* Add test for our getId() returning value or callback

* * Revert comment to "Use existing cookie"

* add support for prebid server

* add comma back to submodules.json

* updating markdown for email address

* * Allow the britepool call without parameters (identifiers)

* fixed merging error of double ||

* * Fix the immediate value response to be in id key

* * Fixed test which was expecting id key

* * Touch

* * Update doc

* * Suggested changes to move britepoolIdSystem out of userId default

* * Change weird backticks to single quotes

* * Added functional identifiers

* PrebidServerBidAdapter CCPA (USP) Support (#4501)

* PrebidServerBidAdapter CCPA Support

* making us privacy (ccpa) consent available to user syncs

* code cleanup

* fixed usp param name

* cedato adapter added additional req info (#4508)

* RubiconBidAdapter: CCPA (USP) Support (#4530)

* 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 support for CCPA to Rubicon Bid Adapter

* Update test names

* Encode us_privacy string on GET requests

* Update adxcgBidAdapter.md - moved sizes to mediaType.sizes (#4526)

* CCPA additions (#4502)

* CCPA additions

* Change config value from CCPA to USP and USP timer

* Require use of consentAPIs array

* Change requests

* Consistent naming

* Removed test for scenario we won't use for USP

* Removed non-iframe workflows and typo fix

* Reverting original modules to break out UPS

* USPAPI to there own files

* Seperate files for USPAPI CCPA

* Cleaning up comments

* CCPA consent added to adapterManager

* updated config treatment, fixed problems

* handling undefined gdpr config

* Fixed broken tests

* Removed lingering describe.only()

* Tests for new consent manager config structure

* Changed file import case from USP to Usp for CI

* Test new consent manager config

* url encoding usp privacy string

* improved tests

* remove usp url encoding from core

* JustPremium: Disable 'btm' requests (#4511)

* PubMatic to support Britepool User ID (#4532)

* added support for pubcommon, digitrust, id5id

* added support for IdentityLink

* changed the source for id5

* added unit test cases

* changed source param for identityLink

* PubMatic to support Britepool UID

* adding ccpa support for appnexus bid adapter (#4531)

* Prebid 2.43.0 release

* increment pre version

* ucfunnelAnalyticsAdapter (#4432)

* 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

* Create ucfunnelAnalyticsAdapter.js

* [Dev Fix]add id

* Update ucfunnelAnalyticsAdapter.js

* Update ucfunnelAnalyticsAdapter.md

* add test

* Bug Fix and test passed

* ucfunnel adapter add bidfloor parameter (#4495)

* 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

* Added AstraOne adapter (#4475)

* Added AstraOne adapter

* Fixed an argument in function createRenderer

* Added unit tests. Added example with GPT in the documentation. Removed bid renderer.

* Fixed a small typo

* PubMatic bid adapter to support CCPA/USP (#4533)

* added support for pubcommon, digitrust, id5id

* added support for IdentityLink

* changed the source for id5

* added unit test cases

* changed source param for identityLink

* added CCPA/USP support in PubMatic adapter

* Update adxcgBidAdapter.js  - native fix (#4534)

* Update adxcgBidAdapter.js  - native fix

* trigger CI

* trigger CI

* Code reformat and adding ending semicolons. No other changes

Reformatted the code in separate commit before real changes

* update adxcgBidAdapter_spec

general cleanup - removed duplicated jsons
added native size check
added many url querystring http call parameter checks

* trigger CI

* Added US Privacy support in TrustX Bid Adapter (#4529)

* 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

* Trion interactive query param additions (#4522)

* Adding files associated with the trion adapter update to the newest prebid version(1.0).

* Updating pull request with safer checks for user sync and general clean up/consistency of tests.

* removing a call to bidder code for pull request review.  also removing the test that requires it

* there were some changes to the bid factory after our initial release that we didn't account for.  Changing adapter to account for response body and required params.

* Revert "there were some changes to the bid factory after our initial release that we didn't account for.  Changing adapter to account for response body and required params."

This reverts commit 324d157.

* there were some changes to the bid factory after our initial release that we didn't account for.  Changing adapter to account for response body and required params.

* adding safety checks to Trion adapter

* Sending up to trion endpoint if there is bot traffic or the browser tab is not visible.

* sending the wrong param in the test.

* Trion test cleanup.  returning document and window states to their original form after tests.

* Trion test cleanup.  using before and after to alter window and document objects in tests.

* ShowHeroes Adapter - naming convention issue (#4525)

* add ShowHeroes Adapter

* ShowHeroes adapter - expanded outstream support

* Revert "ShowHeroes adapter - expanded outstream support"

This reverts commit bfcdb91.

* 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

* ShowHeroes Adapter - naming convention issue

* Adkernel: tmax support (#4548)

* move uspDataHandler out of gdprDataHandler (#4562)

* move uspDataHandler out of gdprDataHandler

* add missing semi-colon

* Rubicon bid adapter: fix netRev (#4552)

* fix netRev

* adding comments and more tests

* RichAudience: Support userIDs + Prebid 3.0 (#4504)

* Support userIDs + Prebid 3.0

* Fix bug in richAudienceBidAddapter_spec.js

* Fix bug pubCommonId

* Fix bug RichaudienceAdapter

* Fix UserID5

* Fix bug ID5 change Source for Value

* Fix bug richaudienceAdapter && Add userSync pixelEnabled

* Fix bug richaudienceAdapter

* CCPA and Schain support (#4537)

* 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

* Add support for CCPA consent in Criteo adapter

* Fix merge issues

* Fix New Line
sa1omon pushed a commit to CleanMediaNet/Prebid.js that referenced this pull request Dec 19, 2019
* use own package instead of npm dependencies

* remove eval call, use utils.insertElement instead

* use own package instead of npm dependencies

* remove eval call, use utils.insertElement instead

* fixed some merge issues after rebasing

* switched rsa validation package to criteo's official one

* increment adapter version

* removed unused querystringify references (probably here after a merge error)

* updated package-lock.json

* Staq Adapter: update with meta envelope (prebid#4372)

* initial dev

* fix staq adapter name

* fix hello world staq call

* get hello world working again

* add user agent collection

* fix some unite tests

* Add STAQ Analytics Adapter doc

* clean up hello world

* fix tests to play nice with browserstack

* fix around issues with browserstack and deep equals of objects

* dump variable env testing since we can't mod user agent stuff in browserstack

* Update STAQ adapter to stop using deprecated utils for referrer

* remove package-lock.json changes via master rebase

* improve call frequency for ref util

* change ajax content type

* adjust ajax request to not expect whitelisting

* remove superflous commented-out code

* update event package to use meta information in envelope rather than per event basis

* fix formatting

* more formatting fixes

* more formatting!

* Rhythmone Adapter - schain support (prebid#4414)

Circle CI failing tests are not related to this PR.

* Media.net Adapter: Support Prebid 3.0 (prebid#4378)

* Media.net Adapter: Support Prebid 3.0

* Media.net Adapter: add tests to increase code coverage

* Vi Adapter: Passes additional param in the bid request (prebid#4134)

* Add focus check

(cherry picked from commit 9d6d6dfb83580d6a5ffed8faa5762db48f8fd44d)

* Pass focus as numeric value

(cherry picked from commit 9fae56a637f87b0d39cc1d24eeb1f9ff9df88f64)

* Add unit test

(cherry picked from commit 946710f2e9960b3839613d4bdf730e57ba38a964)

* Sovrn adapter updates: schain, digitrust, pixel syncing, and 3.0 upgrades (prebid#4385)

* schain and digitrust

* pixel beacons

* unit tests and fixes from testing

* Prebid 3.0 updates

* review fix

* use backwards compatible flatMap impl

* update pixel tests

* unit test fix

* update one more url to ssl

* fixed test

* review updates

* TheMediaGrid Bid Adapter update (prebid#4447)

* Added Grid Bid Adapter

* remove priceType from TheMediaGrid Bid Adapter

* Add video support in Grid Bid Adapter

* Added test parameter for video slot

* update Grid Bid Adapter to set size in response bid

* Update Grid Bid Adapter to support identical uids in parameters

* Fix typo in test file for Grid Bid Adapter

* Update The Grid Media Bidder Adapter to send refererInfo.referer as 'u' parameter in ad request

* Hotfix for referrer in Grid Bid Adapter

* Grid Bid Adapter: added wrapperType and wrappweVersion to the ad request

* TheMediaGrid Bid Adapter: added sync url

* TheMediaGrid Bid Adapter: added GDPR params to sync url

* TheMediaGrid Bid Adapter: added tests for getUserSyncs function

* Conversant Bid Adapter adds support for extended ids (prebid#4462)

* Adkernel 3.0 compatibility (prebid#4477)

* Rubicon Adapter pchain support (prebid#4480)

* rubicon pchain support

* removed describe.only

* Implemented changes required to provide support for video in the IX bidding adapter for Instream and Outstream contexts. (prebid#4424)

* Default size filter & KVP support (prebid#4452)

* adding DMX

test @97%, two files added one updated

* Update districtm_spec.js

* Update districtmDMX.js

* adding all districtm needed file

* remove legacy file

* remove typo || 0 in the test method

* force default to return a valid width and height

* update unit test code for failing test

* changed class for an object

* remove package-lock.json

* change file name for dmx adapter

* renamed files

* restaure package-lock.json

* update to last package-lock state

* update gdpr user consent

* fix sizes issue

* Documentation updates

Adding the readme.md info

* update file name and update unit testing import file location

* current machine state

* lint correction

* remove variable assigment duplicate

* adding logic upto5

* adding support for removing and shuffle sizes

* adding array split test

* re-assign none standard size to the request

* resolve duplicate format inside format array

* update .md and adaptor file for KVP support

* remove array helper includes

* inforce two digit after decimal

* RUn error check nothing on my side but error form another adapter

* add id5id to prebid server bid adapter (prebid#4468)

* Added _pbjsGlobals for tracking renames. Resolves prebid#4254 (prebid#4419)

* Feature/smart video (prebid#4367)

* Adding outstream video support.

* Fixing unit test.

* Adding video instream support.

* Handling video startDelay parameter.

* Improving unit tests.

* Fixing indent.

* Handling the request when videoMediaType context is not supported.

* Changing maintainer mail address.

* Remove video outstream specific code.

* Unit test updated.

* do not select element that gets removed after dfp render (prebid#4423)

* add smms adapter (prebid#4439)

* add smms adapter

* re-run ci, why adigo adapter failed??

* review comments fix, remove deprecated functions, fix unit test

* Prebid 2.41.0 release

* Increment pre version

* adds schain param (prebid#4442)

* Create newborntownWeb adapter (prebid#4455)

* Create newborntownWeb adapter

* only https protocol

* Provide criteoId to server by user.ext.eids (prebid#4478)

*  ucfunnel adapter fix error message in debug mode (prebid#4338)

* 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

* explicitly check undefined to allow falsey values in getConfig (prebid#4486)

* Conversant Bid Adapter handles vast xml (prebid#4492)

* [feature] Add a config list of submodules that require refreshing the stored ID after each bid request (prebid#4325)

* add a feature to always refresh stored id on each bid request for submodules that require that

* update test comments

* Prebid 2.42.0 Release

* Increment pre version

* Make adhese adapter prebid 3.0 compatible (prebid#4507)

* Added 'adhese' attribute to bid that contains meta data - Jira AD-2642

* added DALE to adhese determination

* extra config option: no format, but use size array as format string

* Read sizes from mediaTypes.banner.sizes + Apply Eslint suggestions

* Use map and join, add originData to response

* properly use originData obj

* Remove duplicated ids

* Update tests

* BugFix: Site id missing (prebid#4467)

* 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

* adding site id

* adding placement and siteis

* site id param test case

* removing deprecated functions

* correcting test cases

* indentation

* test cases fix

* Invisibly analytics adapter (prebid#4470)

* PUBA-5273:initial commit with analytics adapter, spec & md file

* PUBA-5273: updated adapter definition

* PUBA-5273: added support contact info

* PUBA-5273: adding clearInterval on AUCTION_END

* PUBA-5273: reverted last commit as CircleCI job failed

* Reverted changes to fix CircleCI build error

* Re-commiting invocation of clearInterval on Auction_end

* Colossus adapter changes for Prebid 3.0 (prebid#4476)

* add video&native traffic colossus ssp

* Native obj validation

* Native obj validation prebid#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

* New alias for adkernel adapter (prebid#4512)

* adagioAnalyticsAdapter: fix inconsistent tests (prebid#4417)

* PubMatic adapter avoiding deprecated utils APIs (prebid#4521)

* added support for pubcommon, digitrust, id5id

* added support for IdentityLink

* changed the source for id5

* added unit test cases

* changed source param for identityLink

* stoped using getTopWindowUrl

* removed extra white space

* Vuble Adapter adaptations for Prebid 3.0 (prebid#4499)

* Mod: always use https

* Handle mediaType.video.playerSize

* Use bidder request to get referer info

* quantcastBidAdapter update for 3.0 (prebid#4451)

* Updated quantcastBidAdapter to always send secure requests.

* Ignore deprecated banner format.

* Orbidder Bid Adapter adds withCredentials=true header for bid and win requests (prebid#4464)

* orbidder adapter: add withCredentials:true header to BidRequest and onBidWon Requests

* add blank in order to trigger build again

* remove blank to trigger build ... again

* adding extra line to trigger build ... again

* InvibesBidAdapter - kw support (prebid#4488)

* InvibesBidAdapter - kw support

* InvibesBidAdapter - fixed & added tests for coverage

* InvibesBidAdapter - lint fix

* logError for missing s2s adapter (prebid#4498)

* logError for missing s2s adapter

* changed error message

* Update adapterManager.js

* Change protocol to https (prebid#4513)

* 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

* Fix mediaTypes

* no message

* Update outconBidAdapter_spec.js

* Adding VAS response

* no message

* no message

* no message

* Fix

* Changed ttl

* no message

* supportedMediaTypes

* no message

* no message

* Change protocol to https

* no message

* adxcgBidAdapter prebid 3.0 requirements compatibility (prebid#4514)

* adxcgBidAdapter prebid 3.0 requirements compatibility

* Restarting CI test

* Add schain support for LockerDome adapter (prebid#4360)

* adxcgAnalyticsAdapter.js prebid 3.0 requirements compatibility (prebid#4515)

* adxcgAnalyticsAdapter.js prebid 3.0 requirements compatibility

* CI restart

* CI restart

* Updated docs

* Add britepool userid submodule (prebid#4314)

* * Added BritePool User ID Submodule

* * Refactor getId() and allow it to return a sync value from getter()

* * Pull only primaryBPID key out of hardened API response

* add check for decoded primaryBPID value and update readme

* * Added BritePool User ID Submodule

* * Refactor getId() and allow it to return a sync value from getter()

* * Pull only primaryBPID key out of hardened API response

* add check for decoded primaryBPID value and update readme

* update userId_spec.js tests

* update userId_spec.js tests and add britepoolIdSystem to submodules.json

* moved our module specific tests to own spec file

* * Update to use getId() with callback key
* Add test for our getId() returning value or callback

* * Revert comment to "Use existing cookie"

* add support for prebid server

* add comma back to submodules.json

* updating markdown for email address

* * Allow the britepool call without parameters (identifiers)

* fixed merging error of double ||

* * Fix the immediate value response to be in id key

* * Fixed test which was expecting id key

* * Touch

* * Update doc

* * Suggested changes to move britepoolIdSystem out of userId default

* * Change weird backticks to single quotes

* * Added functional identifiers

* PrebidServerBidAdapter CCPA (USP) Support (prebid#4501)

* PrebidServerBidAdapter CCPA Support

* making us privacy (ccpa) consent available to user syncs

* code cleanup

* fixed usp param name

* cedato adapter added additional req info (prebid#4508)

* RubiconBidAdapter: CCPA (USP) Support (prebid#4530)

* 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 support for CCPA to Rubicon Bid Adapter

* Update test names

* Encode us_privacy string on GET requests

* Update adxcgBidAdapter.md - moved sizes to mediaType.sizes (prebid#4526)

* CCPA additions (prebid#4502)

* CCPA additions

* Change config value from CCPA to USP and USP timer

* Require use of consentAPIs array

* Change requests

* Consistent naming

* Removed test for scenario we won't use for USP

* Removed non-iframe workflows and typo fix

* Reverting original modules to break out UPS

* USPAPI to there own files

* Seperate files for USPAPI CCPA

* Cleaning up comments

* CCPA consent added to adapterManager

* updated config treatment, fixed problems

* handling undefined gdpr config

* Fixed broken tests

* Removed lingering describe.only()

* Tests for new consent manager config structure

* Changed file import case from USP to Usp for CI

* Test new consent manager config

* url encoding usp privacy string

* improved tests

* remove usp url encoding from core

* JustPremium: Disable 'btm' requests (prebid#4511)

* PubMatic to support Britepool User ID (prebid#4532)

* added support for pubcommon, digitrust, id5id

* added support for IdentityLink

* changed the source for id5

* added unit test cases

* changed source param for identityLink

* PubMatic to support Britepool UID

* adding ccpa support for appnexus bid adapter (prebid#4531)

* Prebid 2.43.0 release

* increment pre version

* ucfunnelAnalyticsAdapter (prebid#4432)

* 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

* Create ucfunnelAnalyticsAdapter.js

* [Dev Fix]add id

* Update ucfunnelAnalyticsAdapter.js

* Update ucfunnelAnalyticsAdapter.md

* add test

* Bug Fix and test passed

* ucfunnel adapter add bidfloor parameter (prebid#4495)

* 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

* Added AstraOne adapter (prebid#4475)

* Added AstraOne adapter

* Fixed an argument in function createRenderer

* Added unit tests. Added example with GPT in the documentation. Removed bid renderer.

* Fixed a small typo

* PubMatic bid adapter to support CCPA/USP (prebid#4533)

* added support for pubcommon, digitrust, id5id

* added support for IdentityLink

* changed the source for id5

* added unit test cases

* changed source param for identityLink

* added CCPA/USP support in PubMatic adapter

* Update adxcgBidAdapter.js  - native fix (prebid#4534)

* Update adxcgBidAdapter.js  - native fix

* trigger CI

* trigger CI

* Code reformat and adding ending semicolons. No other changes

Reformatted the code in separate commit before real changes

* update adxcgBidAdapter_spec

general cleanup - removed duplicated jsons
added native size check
added many url querystring http call parameter checks

* trigger CI

* Added US Privacy support in TrustX Bid Adapter (prebid#4529)

* 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

* Trion interactive query param additions (prebid#4522)

* Adding files associated with the trion adapter update to the newest prebid version(1.0).

* Updating pull request with safer checks for user sync and general clean up/consistency of tests.

* removing a call to bidder code for pull request review.  also removing the test that requires it

* there were some changes to the bid factory after our initial release that we didn't account for.  Changing adapter to account for response body and required params.

* Revert "there were some changes to the bid factory after our initial release that we didn't account for.  Changing adapter to account for response body and required params."

This reverts commit 324d157.

* there were some changes to the bid factory after our initial release that we didn't account for.  Changing adapter to account for response body and required params.

* adding safety checks to Trion adapter

* Sending up to trion endpoint if there is bot traffic or the browser tab is not visible.

* sending the wrong param in the test.

* Trion test cleanup.  returning document and window states to their original form after tests.

* Trion test cleanup.  using before and after to alter window and document objects in tests.

* ShowHeroes Adapter - naming convention issue (prebid#4525)

* add ShowHeroes Adapter

* ShowHeroes adapter - expanded outstream support

* Revert "ShowHeroes adapter - expanded outstream support"

This reverts commit bfcdb91.

* ShowHeroes adapter - expanded outstream support

* ShowHeroes adapter - fixes (prebid#4222)

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

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

* ShowHeroes adapter - increase test coverage and small fix

* ShowHeroes Adapter - naming convention issue

* Adkernel: tmax support (prebid#4548)

* move uspDataHandler out of gdprDataHandler (prebid#4562)

* move uspDataHandler out of gdprDataHandler

* add missing semi-colon

* Rubicon bid adapter: fix netRev (prebid#4552)

* fix netRev

* adding comments and more tests

* RichAudience: Support userIDs + Prebid 3.0 (prebid#4504)

* Support userIDs + Prebid 3.0

* Fix bug in richAudienceBidAddapter_spec.js

* Fix bug pubCommonId

* Fix bug RichaudienceAdapter

* Fix UserID5

* Fix bug ID5 change Source for Value

* Fix bug richaudienceAdapter && Add userSync pixelEnabled

* Fix bug richaudienceAdapter

* CCPA and Schain support (prebid#4537)

* add video&native traffic colossus ssp

* Native obj validation

* Native obj validation prebid#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

* Add support for CCPA consent in Criteo adapter

* Fix merge issues

* Fix New Line
robertrmartinez pushed a commit that referenced this pull request Dec 19, 2019
…#4602)

* Update adaptor code to meet Prebid.js v3.0 constraints

* Refactor and remove unused properties from bid response.
Fix tests to meet the changes.

* Remove curly brackets from string to fix test

* Criteo decrease bid adapter size (#4518)

* use own package instead of npm dependencies

* remove eval call, use utils.insertElement instead

* use own package instead of npm dependencies

* remove eval call, use utils.insertElement instead

* fixed some merge issues after rebasing

* switched rsa validation package to criteo's official one

* increment adapter version

* removed unused querystringify references (probably here after a merge error)

* updated package-lock.json

* Support for CCPA consent in Criteo adapter (#4604)

* use own package instead of npm dependencies

* remove eval call, use utils.insertElement instead

* use own package instead of npm dependencies

* remove eval call, use utils.insertElement instead

* fixed some merge issues after rebasing

* switched rsa validation package to criteo's official one

* increment adapter version

* removed unused querystringify references (probably here after a merge error)

* updated package-lock.json

* Staq Adapter: update with meta envelope (#4372)

* initial dev

* fix staq adapter name

* fix hello world staq call

* get hello world working again

* add user agent collection

* fix some unite tests

* Add STAQ Analytics Adapter doc

* clean up hello world

* fix tests to play nice with browserstack

* fix around issues with browserstack and deep equals of objects

* dump variable env testing since we can't mod user agent stuff in browserstack

* Update STAQ adapter to stop using deprecated utils for referrer

* remove package-lock.json changes via master rebase

* improve call frequency for ref util

* change ajax content type

* adjust ajax request to not expect whitelisting

* remove superflous commented-out code

* update event package to use meta information in envelope rather than per event basis

* fix formatting

* more formatting fixes

* more formatting!

* Rhythmone Adapter - schain support (#4414)

Circle CI failing tests are not related to this PR.

* Media.net Adapter: Support Prebid 3.0 (#4378)

* Media.net Adapter: Support Prebid 3.0

* Media.net Adapter: add tests to increase code coverage

* Vi Adapter: Passes additional param in the bid request (#4134)

* Add focus check

(cherry picked from commit 9d6d6dfb83580d6a5ffed8faa5762db48f8fd44d)

* Pass focus as numeric value

(cherry picked from commit 9fae56a637f87b0d39cc1d24eeb1f9ff9df88f64)

* Add unit test

(cherry picked from commit 946710f2e9960b3839613d4bdf730e57ba38a964)

* Sovrn adapter updates: schain, digitrust, pixel syncing, and 3.0 upgrades (#4385)

* schain and digitrust

* pixel beacons

* unit tests and fixes from testing

* Prebid 3.0 updates

* review fix

* use backwards compatible flatMap impl

* update pixel tests

* unit test fix

* update one more url to ssl

* fixed test

* review updates

* TheMediaGrid Bid Adapter update (#4447)

* Added Grid Bid Adapter

* remove priceType from TheMediaGrid Bid Adapter

* Add video support in Grid Bid Adapter

* Added test parameter for video slot

* update Grid Bid Adapter to set size in response bid

* Update Grid Bid Adapter to support identical uids in parameters

* Fix typo in test file for Grid Bid Adapter

* Update The Grid Media Bidder Adapter to send refererInfo.referer as 'u' parameter in ad request

* Hotfix for referrer in Grid Bid Adapter

* Grid Bid Adapter: added wrapperType and wrappweVersion to the ad request

* TheMediaGrid Bid Adapter: added sync url

* TheMediaGrid Bid Adapter: added GDPR params to sync url

* TheMediaGrid Bid Adapter: added tests for getUserSyncs function

* Conversant Bid Adapter adds support for extended ids (#4462)

* Adkernel 3.0 compatibility (#4477)

* Rubicon Adapter pchain support (#4480)

* rubicon pchain support

* removed describe.only

* Implemented changes required to provide support for video in the IX bidding adapter for Instream and Outstream contexts. (#4424)

* Default size filter & KVP support (#4452)

* adding DMX

test @97%, two files added one updated

* Update districtm_spec.js

* Update districtmDMX.js

* adding all districtm needed file

* remove legacy file

* remove typo || 0 in the test method

* force default to return a valid width and height

* update unit test code for failing test

* changed class for an object

* remove package-lock.json

* change file name for dmx adapter

* renamed files

* restaure package-lock.json

* update to last package-lock state

* update gdpr user consent

* fix sizes issue

* Documentation updates

Adding the readme.md info

* update file name and update unit testing import file location

* current machine state

* lint correction

* remove variable assigment duplicate

* adding logic upto5

* adding support for removing and shuffle sizes

* adding array split test

* re-assign none standard size to the request

* resolve duplicate format inside format array

* update .md and adaptor file for KVP support

* remove array helper includes

* inforce two digit after decimal

* RUn error check nothing on my side but error form another adapter

* add id5id to prebid server bid adapter (#4468)

* Added _pbjsGlobals for tracking renames. Resolves #4254 (#4419)

* Feature/smart video (#4367)

* Adding outstream video support.

* Fixing unit test.

* Adding video instream support.

* Handling video startDelay parameter.

* Improving unit tests.

* Fixing indent.

* Handling the request when videoMediaType context is not supported.

* Changing maintainer mail address.

* Remove video outstream specific code.

* Unit test updated.

* do not select element that gets removed after dfp render (#4423)

* add smms adapter (#4439)

* add smms adapter

* re-run ci, why adigo adapter failed??

* review comments fix, remove deprecated functions, fix unit test

* Prebid 2.41.0 release

* Increment pre version

* adds schain param (#4442)

* Create newborntownWeb adapter (#4455)

* Create newborntownWeb adapter

* only https protocol

* Provide criteoId to server by user.ext.eids (#4478)

*  ucfunnel adapter fix error message in debug mode (#4338)

* 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

* explicitly check undefined to allow falsey values in getConfig (#4486)

* Conversant Bid Adapter handles vast xml (#4492)

* [feature] Add a config list of submodules that require refreshing the stored ID after each bid request (#4325)

* add a feature to always refresh stored id on each bid request for submodules that require that

* update test comments

* Prebid 2.42.0 Release

* Increment pre version

* Make adhese adapter prebid 3.0 compatible (#4507)

* Added 'adhese' attribute to bid that contains meta data - Jira AD-2642

* added DALE to adhese determination

* extra config option: no format, but use size array as format string

* Read sizes from mediaTypes.banner.sizes + Apply Eslint suggestions

* Use map and join, add originData to response

* properly use originData obj

* Remove duplicated ids

* Update tests

* BugFix: Site id missing (#4467)

* 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

* adding site id

* adding placement and siteis

* site id param test case

* removing deprecated functions

* correcting test cases

* indentation

* test cases fix

* Invisibly analytics adapter (#4470)

* PUBA-5273:initial commit with analytics adapter, spec & md file

* PUBA-5273: updated adapter definition

* PUBA-5273: added support contact info

* PUBA-5273: adding clearInterval on AUCTION_END

* PUBA-5273: reverted last commit as CircleCI job failed

* Reverted changes to fix CircleCI build error

* Re-commiting invocation of clearInterval on Auction_end

* Colossus adapter changes for Prebid 3.0 (#4476)

* 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

* New alias for adkernel adapter (#4512)

* adagioAnalyticsAdapter: fix inconsistent tests (#4417)

* PubMatic adapter avoiding deprecated utils APIs (#4521)

* added support for pubcommon, digitrust, id5id

* added support for IdentityLink

* changed the source for id5

* added unit test cases

* changed source param for identityLink

* stoped using getTopWindowUrl

* removed extra white space

* Vuble Adapter adaptations for Prebid 3.0 (#4499)

* Mod: always use https

* Handle mediaType.video.playerSize

* Use bidder request to get referer info

* quantcastBidAdapter update for 3.0 (#4451)

* Updated quantcastBidAdapter to always send secure requests.

* Ignore deprecated banner format.

* Orbidder Bid Adapter adds withCredentials=true header for bid and win requests (#4464)

* orbidder adapter: add withCredentials:true header to BidRequest and onBidWon Requests

* add blank in order to trigger build again

* remove blank to trigger build ... again

* adding extra line to trigger build ... again

* InvibesBidAdapter - kw support (#4488)

* InvibesBidAdapter - kw support

* InvibesBidAdapter - fixed & added tests for coverage

* InvibesBidAdapter - lint fix

* logError for missing s2s adapter (#4498)

* logError for missing s2s adapter

* changed error message

* Update adapterManager.js

* Change protocol to https (#4513)

* 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

* Fix mediaTypes

* no message

* Update outconBidAdapter_spec.js

* Adding VAS response

* no message

* no message

* no message

* Fix

* Changed ttl

* no message

* supportedMediaTypes

* no message

* no message

* Change protocol to https

* no message

* adxcgBidAdapter prebid 3.0 requirements compatibility (#4514)

* adxcgBidAdapter prebid 3.0 requirements compatibility

* Restarting CI test

* Add schain support for LockerDome adapter (#4360)

* adxcgAnalyticsAdapter.js prebid 3.0 requirements compatibility (#4515)

* adxcgAnalyticsAdapter.js prebid 3.0 requirements compatibility

* CI restart

* CI restart

* Updated docs

* Add britepool userid submodule (#4314)

* * Added BritePool User ID Submodule

* * Refactor getId() and allow it to return a sync value from getter()

* * Pull only primaryBPID key out of hardened API response

* add check for decoded primaryBPID value and update readme

* * Added BritePool User ID Submodule

* * Refactor getId() and allow it to return a sync value from getter()

* * Pull only primaryBPID key out of hardened API response

* add check for decoded primaryBPID value and update readme

* update userId_spec.js tests

* update userId_spec.js tests and add britepoolIdSystem to submodules.json

* moved our module specific tests to own spec file

* * Update to use getId() with callback key
* Add test for our getId() returning value or callback

* * Revert comment to "Use existing cookie"

* add support for prebid server

* add comma back to submodules.json

* updating markdown for email address

* * Allow the britepool call without parameters (identifiers)

* fixed merging error of double ||

* * Fix the immediate value response to be in id key

* * Fixed test which was expecting id key

* * Touch

* * Update doc

* * Suggested changes to move britepoolIdSystem out of userId default

* * Change weird backticks to single quotes

* * Added functional identifiers

* PrebidServerBidAdapter CCPA (USP) Support (#4501)

* PrebidServerBidAdapter CCPA Support

* making us privacy (ccpa) consent available to user syncs

* code cleanup

* fixed usp param name

* cedato adapter added additional req info (#4508)

* RubiconBidAdapter: CCPA (USP) Support (#4530)

* 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 support for CCPA to Rubicon Bid Adapter

* Update test names

* Encode us_privacy string on GET requests

* Update adxcgBidAdapter.md - moved sizes to mediaType.sizes (#4526)

* CCPA additions (#4502)

* CCPA additions

* Change config value from CCPA to USP and USP timer

* Require use of consentAPIs array

* Change requests

* Consistent naming

* Removed test for scenario we won't use for USP

* Removed non-iframe workflows and typo fix

* Reverting original modules to break out UPS

* USPAPI to there own files

* Seperate files for USPAPI CCPA

* Cleaning up comments

* CCPA consent added to adapterManager

* updated config treatment, fixed problems

* handling undefined gdpr config

* Fixed broken tests

* Removed lingering describe.only()

* Tests for new consent manager config structure

* Changed file import case from USP to Usp for CI

* Test new consent manager config

* url encoding usp privacy string

* improved tests

* remove usp url encoding from core

* JustPremium: Disable 'btm' requests (#4511)

* PubMatic to support Britepool User ID (#4532)

* added support for pubcommon, digitrust, id5id

* added support for IdentityLink

* changed the source for id5

* added unit test cases

* changed source param for identityLink

* PubMatic to support Britepool UID

* adding ccpa support for appnexus bid adapter (#4531)

* Prebid 2.43.0 release

* increment pre version

* ucfunnelAnalyticsAdapter (#4432)

* 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

* Create ucfunnelAnalyticsAdapter.js

* [Dev Fix]add id

* Update ucfunnelAnalyticsAdapter.js

* Update ucfunnelAnalyticsAdapter.md

* add test

* Bug Fix and test passed

* ucfunnel adapter add bidfloor parameter (#4495)

* 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

* Added AstraOne adapter (#4475)

* Added AstraOne adapter

* Fixed an argument in function createRenderer

* Added unit tests. Added example with GPT in the documentation. Removed bid renderer.

* Fixed a small typo

* PubMatic bid adapter to support CCPA/USP (#4533)

* added support for pubcommon, digitrust, id5id

* added support for IdentityLink

* changed the source for id5

* added unit test cases

* changed source param for identityLink

* added CCPA/USP support in PubMatic adapter

* Update adxcgBidAdapter.js  - native fix (#4534)

* Update adxcgBidAdapter.js  - native fix

* trigger CI

* trigger CI

* Code reformat and adding ending semicolons. No other changes

Reformatted the code in separate commit before real changes

* update adxcgBidAdapter_spec

general cleanup - removed duplicated jsons
added native size check
added many url querystring http call parameter checks

* trigger CI

* Added US Privacy support in TrustX Bid Adapter (#4529)

* 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

* Trion interactive query param additions (#4522)

* Adding files associated with the trion adapter update to the newest prebid version(1.0).

* Updating pull request with safer checks for user sync and general clean up/consistency of tests.

* removing a call to bidder code for pull request review.  also removing the test that requires it

* there were some changes to the bid factory after our initial release that we didn't account for.  Changing adapter to account for response body and required params.

* Revert "there were some changes to the bid factory after our initial release that we didn't account for.  Changing adapter to account for response body and required params."

This reverts commit 324d15785fb61c92db9c0a37f1001f47721e3a25.

* there were some changes to the bid factory after our initial release that we didn't account for.  Changing adapter to account for response body and required params.

* adding safety checks to Trion adapter

* Sending up to trion endpoint if there is bot traffic or the browser tab is not visible.

* sending the wrong param in the test.

* Trion test cleanup.  returning document and window states to their original form after tests.

* Trion test cleanup.  using before and after to alter window and document objects in tests.

* ShowHeroes Adapter - naming convention issue (#4525)

* 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

* ShowHeroes Adapter - naming convention issue

* Adkernel: tmax support (#4548)

* move uspDataHandler out of gdprDataHandler (#4562)

* move uspDataHandler out of gdprDataHandler

* add missing semi-colon

* Rubicon bid adapter: fix netRev (#4552)

* fix netRev

* adding comments and more tests

* RichAudience: Support userIDs + Prebid 3.0 (#4504)

* Support userIDs + Prebid 3.0

* Fix bug in richAudienceBidAddapter_spec.js

* Fix bug pubCommonId

* Fix bug RichaudienceAdapter

* Fix UserID5

* Fix bug ID5 change Source for Value

* Fix bug richaudienceAdapter && Add userSync pixelEnabled

* Fix bug richaudienceAdapter

* CCPA and Schain support (#4537)

* 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

* Add support for CCPA consent in Criteo adapter

* Fix merge issues

* Fix New Line

* Feat/rtbsolutions (#4556)

* rtbsolutions

* typos

* cleanup

* use ajax

* update several tests to let them work in ie11 (#4594)

* update several tests to let them work in ie11

* disable certain tests that were seen to be flaky

* disable one more test check

* some minor test fixes (#4611)

* Medianet: CCPA support added (#4573)

* Yieldmo prebid3.0 compliance, gdpr upadtes. remove openxoutstream bidder (#4485)

* update maintainer email

* add stringified schain

* Revert "add stringified schain"

This reverts commit 4fd8634f12133945ac44e9b550237321e71fc549.

* pass along gdpr consent string and gdpr applies through get

* use paramter gdprConsent

* add stringified schain

* don't change other files

* change parameter namves

* updates bidder module to be 3.0 compliant, and tests

* deletes openxoutstream adapter

* fix broken yieldmo test

* remove log

* remove utils functions that will be depricated in 3.0 and use new referer object in bidderRequest

* use prebids gettopwindow util functions. update markdown with 3.0 compliant ad units object

* Pass along us_privacy string

* add stringified schain

* add stringified schain

* Revert "add stringified schain"

This reverts commit 4fd8634f12133945ac44e9b550237321e71fc549.

* pass along gdpr consent string and gdpr applies through get

* use paramter gdprConsent

* don't change other files

* change parameter namves

* updates bidder module to be 3.0 compliant, and tests

* deletes openxoutstream adapter

* fix broken yieldmo test

* remove log

* remove utils functions that will be depricated in 3.0 and use new referer object in bidderRequest

* use prebids gettopwindow util functions. update markdown with 3.0 compliant ad units object

* Pass along us_privacy string

* Add CCPA support to Undertone adapter (#4576)

* Added user sync support for undertone bid adapter (new pull request)

* Added user sync support for undertone bid adapter

* undertone adapter
- send ccpa data on bid request, and on user syncs

* small edits to fix undertone tests (#4616)

* PubMatic: sending transactionId in source.tid (#4588)

* added support for pubcommon, digitrust, id5id

* added support for IdentityLink

* changed the source for id5

* added unit test cases

* changed source param for identityLink

* using utils.deepSetvalue

* passing transactionId in source.tid

* Introduce Dailyhunt Bid Adapter (#4517)

* add dailyhunt adapter

* add md file for dailyhunt adapter

* add partnerId to default DH if not present

* make test case for dailyhunt

* make test coverage 92%

* done internal review changes

* Added the obvious param values to be hardcoded in the adapter

* fix string issues from eslint

* edit dailyhunt md file

* update dailyhunt bid adapter

* change md

* add checklist link in md file

* fix reviewers changes

* add cid in dailyhuntBidAdapter.md

* remove cid from md file

* fix reviewer chnages

* change adunit and config in md

* AstraOne: Fixed example in the documentation (#4590)

* Added AstraOne adapter

* Fixed an argument in function createRenderer

* Added unit tests. Added example with GPT in the documentation. Removed bid renderer.

* Fixed a small typo

* Fixed example in the documentation

* added CCPA support to sonobi bidder adapter (#4617)

* Fixes for Prebid 3.0 (#4587)

* 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

* Re-Add Readpeak adapter (#4593)

* Re-add ReadPeak adapter

* Fix Readpeak adapter + re-add test for it

* Trion bid adapter re-submit to comply with v3 (#4609)

* Adding files associated with the trion adapter update to the newest prebid version(1.0).

* Updating pull request with safer checks for user sync and general clean up/consistency of tests.

* removing a call to bidder code for pull request review.  also removing the test that requires it

* there were some changes to the bid factory after our initial release that we didn't account for.  Changing adapter to account for response body and required params.

* Revert "there were some changes to the bid factory after our initial release that we didn't account for.  Changing adapter to account for response body and required params."

This reverts commit 324d15785fb61c92db9c0a37f1001f47721e3a25.

* there were some changes to the bid factory after our initial release that we didn't account for.  Changing adapter to account for response body and required params.

* adding safety checks to Trion adapter

* Sending up to trion endpoint if there is bot traffic or the browser tab is not visible.

* sending the wrong param in the test.

* Trion test cleanup.  returning document and window states to their original form after tests.

* Trion test cleanup.  using before and after to alter window and document objects in tests.

* re-adding trion adapter to prebid project to stop using deprecated function for page url for 3.0 release

* minor formatting change

* accept size array from media types banner over the sizes array from pubs.

* Sovrn ccpa support (#4592)

* sovrn ccpa support

* use array map/join instead of object.entries

* fix a bug when the iframe locator is not present on page (#4621)

* fix a bug when the iframe locator is not present on page

* clean up

* Added US Privacy support for TheMediaGrid Bid Adapter (#4606)

* Added Grid Bid Adapter

* remove priceType from TheMediaGrid Bid Adapter

* Add video support in Grid Bid Adapter

* Added test parameter for video slot

* update Grid Bid Adapter to set size in response bid

* Update Grid Bid Adapter to support identical uids in parameters

* Fix typo in test file for Grid Bid Adapter

* Update The Grid Media Bidder Adapter to send refererInfo.referer as 'u' parameter in ad request

* Hotfix for referrer in Grid Bid Adapter

* Grid Bid Adapter: added wrapperType and wrappweVersion to the ad request

* TheMediaGrid Bid Adapter: added sync url

* TheMediaGrid Bid Adapter: added GDPR params to sync url

* TheMediaGrid Bid Adapter: added tests for getUserSyncs function

* Added CCPA support in TheMediaGrid Bid Adapter

* Districtm DMX adapter support for CCPA (#4560)

* adding DMX

test @97%, two files added one updated

* Update districtm_spec.js

* Update districtmDMX.js

* adding all districtm needed file

* remove legacy file

* remove typo || 0 in the test method

* force default to return a valid width and height

* update unit test code for failing test

* changed class for an object

* remove package-lock.json

* change file name for dmx adapter

* renamed files

* restaure package-lock.json

* update to last package-lock state

* update gdpr user consent

* fix sizes issue

* Documentation updates

Adding the readme.md info

* update file name and update unit testing import file location

* current machine state

* lint correction

* remove variable assigment duplicate

* adding CCPA support for DMX

* adding test for ccpa and gdpr

* TripleLift: CCPA support (#4628)

* 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

* TripleLift: Sending schain (#1)

* Sending schain

* null -> undefined

* Hardcode sync endpoint protocol

* Switch to EB2 sync endpoint

* Add support for image based user syncing

* Rename endpoint variable

* Add assertion

* Add CCPA query param

* Simplify check for usPrivacy argument

* Consumable Bid Adapter: Add CCPA support (#4618)

* Rubicon Analytics Adapter: convert to 3.0 (#4625)

* 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

* Re-add rubicon analytics without deprecated getTopWindowUrl util

* Cache referrer on auction_init instead of bid_requested

* sovrn analytics adapter with 3.0 updates (#4620)

* Gamoshi: Fix adaptor code to comply for Prebid.js v3.0 (#4601)

* Improve Digital adapter: adding bid floor, referrer, more native fields (#4103)

* Bid floor, https, native ad update

* Update the ad server protocol module

* Adding referrer

* YIELDONE adapter - change urls to adapt https (#4139)

* update: change urls to adapt https

* fix test code

* Added SupplyChain Object support and an onTimeout Callback (#4137)

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

* Revert "Added SupplyChain Object support and an onTimeout Callback (#4137)"

This reverts commit e61b246b45bd2c2390350eaeca693f208b1a3a24.

This commit doesn't use the schain module added in #4084

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

* initial orbidder version in personal github repo

* use adUnits from orbidder_example.html

* replace obsolete functions

* forgot to commit the test

* check if bidderRequest object is available

* try to fix weird safari/ie issue

* ebayK: add more params

* update orbidderBidAdapter.md

* use spec.<function> instead of this.<function> for consistency reasons

* add bidfloor parameter to params object

* fix gdpr object handling

* default to consentRequired: false when not explicitly given

* wip - use onSetTargeting callback

* add tests for onSetTargeting callback

* fix params and respective tests

* remove not used bid.params.keyValues

* add bidRequestCount to orbidder.otto.de/bid Post request

* add bidRequestCount to test object defaultBidRequest

* PulsePoint: remove usage of deprecated utils method / prep for 3.0 (#4257)

* ET-1691: Pulsepoint Analytics adapter for Prebid. (#1)

* ET-1691: Adding pulsepoint analytics and tests for pulsepoint adapter

* ET-1691: Adding pulsepoint analytics and tests for pulsepoint adapter

* ET-1691: cleanup

* ET-1691: minor

* ET-1691: revert package.json change

* Adding bidRequest to bidFactory.createBid method as per https://github.com/prebid/Prebid.js/issues/509

* ET-1765: Adding support for additional params in PulsePoint adapter (#2)

* ET-1850: Fixing https://github.com/prebid/Prebid.js/issues/866

* Minor fix

* Adding mandatory parameters to Bid

* Removing usage of deprecated utils method

* minor refactor

* Use isArray method (#4288)

* Add Parrable ID submodule (#4266)

* add parrable id submodule

* fix integration test config

* fix var name

* always refresh sotredId for parrable

* add submodulesThatAlwaysRefresh concept

* remove comment

* add parrable url as one string

* add parrable prod endpoint

* use .indexOf instead of .includes

* add params to test config

* comment failing test

* uncomment failing assertion

* add parrable ID to prebid server adapter

* add parrableIdSystem to .submodules.json

* extract parrableId unit tests from userId spec

* remove breakline between imports

* remove unused param

* remove userId generic feature from parrableId module

* remove trailing space

* fix failing test due to none merged conflict

* Prebid 2.36.0 Release

* Increment pre version

* Support schain module and send bidfloor param in Sharethrough adapter (#4271)

* Add support for supply chain object module

Story: [#168742394](https://www.pivotaltracker.com/story/show/168742394)

Co-authored-by: Josh Becker <jbecker@sharethrough.com>

* Add bidfloor parameter to bid request sent to STX

Story: [#168742573](https://www.pivotaltracker.com/story/show/168742573)

* Platform One Analytics Adapter (#4233)

* Added Y1 Analytics Adapter

* rename y1AnalyticsAdapter in yieldoneAnalyticsAdapter

* Yieldone Bid Adapter: fixes from lint check

* Yieldone Analytics Adapter: fix endpoint protocol

* Added spec file for yieldone Analytics Adapter

* Fix parrable id integration example (#4317)

* fix parrableId integration example

* add parentheses

* Improve Digital adapter: support for video (#4318)

* Bid floor, https, native ad update

* Update the ad server protocol module

* Adding referrer

* Improve Digital support for video

* Improve Digital adapter: video

* adapter version -> 6.0.0

* Gamoshi: Update aliases list. Add support for userSync. (#4319)

* Add support for multi-format ad units. Add favoredMediaType property to params.

* Add tests for gdpr consent.

* Add adId to outbids

* Modify media type resolving

* Refactor multi-format ad units handler.

* Modify the way of sending GDPR data.
Update aliases.

* Add new consent fields. Add unit test.

* Add new consent fields. Add unit test.

* Add support for id5 and unified id cookie sync.

* Add support for id5 and unified id cookie sync.

* Add restricted check for gdpr consent.

* fix for userSync endpoint getting called with bidder alias names, instead of actual bidder names (#4265)

* modify ixBidAdapater to always use the secure endpoint (#4323)

* PubMatic to support Parrable User Id sub-module (#4324)

* added support for pubcommon, digitrust, id5id

* added support for IdentityLink

* changed the source for id5

* added unit test cases

* changed source param for identityLink

* PubMatic to support parrable id

* VISX: currency validation & fix double escape of referer (#4299)

* PubMatic to support coppa (#4336)

* added support for pubcommon, digitrust, id5id

* added support for IdentityLink

* changed the source for id5

* added unit test cases

* changed source param for identityLink

* added coppa compliance

* vuble: outstream has fullscreen option (#4320)

* Mod: vuble oustream has fullscreen option

* Add: vuble test for outstream scenario

* EMXDigital: hotfix to resolve URIError from decodeURIComponent (#4333)

* hotfix to resolve URIError from decodeURIComponent

* added unit for decoding adm

* Specify second parameter for parseInt for pubmaticBidAdapter (#4347)

* Remove usage of getTopWindowUrl in Prebid Adapter (#4341)

* Conversant Bid Adapter update for 3.0 (#4284)

* Add cpmDistribution function for Google Analytics adapter (#4240)

* Add cpmDistribution function for Google Analytics adapter

* Add test for the cpmDistribution function

* Remove half written comment

* fixing SRA p_pos (#4337)

* In Sonobi Adapter, only read sizes from bid.mediaTypes (#4311)

* Fix mediaTypes (#4332)

* 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

…
@zandree-owneriq zandree-owneriq mentioned this pull request Sep 16, 2020
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants