Skip to content

Commit

Permalink
Bliink Bid Adapter: Add support gdprApplies when consent string does …
Browse files Browse the repository at this point in the history
…not exist (#7860)

* feat(adapter): Add bliink bid adapter

* feat(tests): Add tests unit file

* refactor: code optimisation and fix cookie sync

* fix(bliinkAdapter): get meta value

* update: Update documentation bliinkBidAdapter.md

* update: Fix sizes in buildBid function

* fix: step build

* Revert "fix: step build"

This reverts commit 9a746f5a175190ddd209f6f51bd71946a5575fe7.

* fix: step build

* fix: step build

* fix: step build

* fix: tests units

* fix: js doc

* fix: tests units

* fix: Fix build Circle CI

* fix: Fix build Circle CI

* fix: Fix build Circle CI

* fix: Fix build Circle CI

* fix: Fix build Circle CI

* fix: Fix build Circle CI

* fix: Fix build Circle CI

* fix: fix path when import registerBidder module

* Update bliinkBidAdapter.js

* fix: gdprApplies and consentString update

* fix: test units gdprApplies and consentString

Co-authored-by: Jonathan <jonathan@bliink.io>
Co-authored-by: samuel.kerboeuf <samuel@bliink.io>
  • Loading branch information
3 people authored Dec 20, 2021
1 parent c6af188 commit ca76b67
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/bliinkBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// eslint-disable-next-line prebid/validate-imports
// eslint-disable-next-line prebid/validate-imports
import {registerBidder} from '../src/adapters/bidderFactory.js'

export const BIDDER_CODE = 'bliink'
export const BLIINK_ENDPOINT_ENGINE = 'https://engine.bliink.io/delivery'
export const BLIINK_ENDPOINT_ENGINE_VAST = 'https://engine.bliink.io/vast'
Expand Down Expand Up @@ -174,6 +173,8 @@ export const buildRequests = (_, bidderRequest) => {
pageUrl: bidderRequest.refererInfo.referer,
pageDescription: getMetaValue(META_DESCRIPTION),
keywords: getKeywords().join(','),
gdpr: false,
gdpr_consent: '',
pageTitle: document.title,
}

Expand Down
2 changes: 2 additions & 0 deletions test/spec/modules/bliinkBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,8 @@ const testsBuildRequests = [
refererInfo: getConfigBuildRequest('banner').refererInfo
},
data: {
gdpr: false,
gdpr_consent: '',
height: 250,
width: 300,
keywords: '',
Expand Down

0 comments on commit ca76b67

Please sign in to comment.