Skip to content

Commit

Permalink
Prebid 9: gptPreAuction: use GPID by default (prebid#11551)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgirardi committed May 23, 2024
1 parent df599a5 commit bca27f4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion modules/ceeIdSystem.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const ceeIdSubmodule = {
* performs action to obtain id and return a value
* @function
* @returns {(IdResponse|undefined)}
*/
*/
getId() {
const ceeIdToken = readId();

Expand Down
2 changes: 1 addition & 1 deletion modules/gptPreAuction.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ const handleSetGptConfig = moduleConfig => {
typeof customGptSlotMatching === 'function' && customGptSlotMatching,
'customPbAdSlot', customPbAdSlot => typeof customPbAdSlot === 'function' && customPbAdSlot,
'customPreAuction', customPreAuction => typeof customPreAuction === 'function' && customPreAuction,
'useDefaultPreAuction', useDefaultPreAuction => useDefaultPreAuction === true,
'useDefaultPreAuction', useDefaultPreAuction => useDefaultPreAuction ?? true,
]);

if (_currentConfig.enabled) {
Expand Down
2 changes: 1 addition & 1 deletion test/spec/modules/gptPreAuction_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ describe('GPT pre-auction module', () => {
customGptSlotMatching: false,
customPbAdSlot: false,
customPreAuction: false,
useDefaultPreAuction: false
useDefaultPreAuction: true
});
});
});
Expand Down

0 comments on commit bca27f4

Please sign in to comment.