Skip to content

Commit

Permalink
removes referencing of digitrust library (prebid#5316)
Browse files Browse the repository at this point in the history
  • Loading branch information
susyt authored and Jimmy Tu committed Jun 12, 2020
1 parent f4b4390 commit 1938ceb
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions modules/gumgumBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ const storage = getStorageManager();
const BIDDER_CODE = 'gumgum'
const ALIAS_BIDDER_CODE = ['gg']
const BID_ENDPOINT = `https://g2.gumgum.com/hbid/imp`
const DT_CREDENTIALS = { member: 'YcXr87z2lpbB' }
const SUPPORTED_MEDIA_TYPES = [BANNER, VIDEO]
const TIME_TO_LIVE = 60

Expand Down Expand Up @@ -91,10 +90,6 @@ function _getTradeDeskIDParam(userId) {

function _getDigiTrustQueryParams(userId) {
let digiTrustId = userId.digitrustid && userId.digitrustid.data;
if (!digiTrustId) {
const digiTrustUser = (window.DigiTrust && window.DigiTrust.getUser) ? window.DigiTrust.getUser(DT_CREDENTIALS) : {};
digiTrustId = (digiTrustUser && digiTrustUser.success && digiTrustUser.identity) || '';
}
// Verify there is an ID and this user has not opted out
if (!digiTrustId || (digiTrustId.privacy && digiTrustId.privacy.optout)) {
return {};
Expand Down

0 comments on commit 1938ceb

Please sign in to comment.