Skip to content

Commit d63c627

Browse files
SkitelmanantoinfiveBrettBlox
authored
ConcertBidAdapter: Add browserLanguage to request meta object (prebid#10356)
* collect EIDs for bid request * add ad slot positioning to payload * RPO-2012: Update local storage name-spacing for c_uid (#8) * Updates c_uid namespacing to be more specific for concert * fixes unit tests * remove console.log * RPO-2012: Add check for shared id (#9) * Adds check for sharedId * Updates cookie name * remove trailing comma * [RPO-3152] Enable Support for GPP Consent (#12) * Adds gpp consent integration to concert bid adapter * Update tests to check for gpp consent string param * removes user sync endpoint and tests * updates comment * cleans up consentAllowsPpid function * comment fix * rename variables for clarity * fixes conditional logic for consent allows function (#13) * [RPO-3262] Update getUid function to check for pubcid and sharedid (#14) * Update getUid function to check for pubcid and sharedid * updates adapter version * [RPO-3405] Add browserLanguage to request meta object --------- Co-authored-by: antoin <[email protected]> Co-authored-by: Antoin <[email protected]> Co-authored-by: Brett Bloxom <[email protected]>
1 parent a4218f1 commit d63c627

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

modules/concertBidAdapter.js

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ export const spec = {
4141
prebidVersion: '$prebid.version$',
4242
pageUrl: bidderRequest.refererInfo.page,
4343
screen: [window.screen.width, window.screen.height].join('x'),
44+
browserLanguage: window.navigator.language,
4445
debug: debugTurnedOn(),
4546
uid: getUid(bidderRequest, validBidRequests),
4647
optedOut: hasOptedOutOfPersonalization(),

test/spec/modules/concertBidAdapter_spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ describe('ConcertAdapter', function () {
116116
expect(payload).to.have.property('meta');
117117
expect(payload).to.have.property('slots');
118118

119-
const metaRequiredFields = ['prebidVersion', 'pageUrl', 'screen', 'debug', 'uid', 'optedOut', 'adapterVersion', 'uspConsent', 'gdprConsent', 'gppConsent'];
119+
const metaRequiredFields = ['prebidVersion', 'pageUrl', 'screen', 'debug', 'uid', 'optedOut', 'adapterVersion', 'uspConsent', 'gdprConsent', 'gppConsent', 'browserLanguage'];
120120
const slotsRequiredFields = ['name', 'bidId', 'transactionId', 'sizes', 'partnerId', 'slotType'];
121121

122122
metaRequiredFields.forEach(function(field) {

0 commit comments

Comments
 (0)