Skip to content

Commit

Permalink
Update default ad storage name
Browse files Browse the repository at this point in the history
  • Loading branch information
alexs-mparticle committed Sep 24, 2024
1 parent 5216101 commit 5605bf3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/BingAdsEventForwarder.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ var MessageType = {
var bingConsentValues = { Denied: 'denied', Granted: 'granted' };
var bingConsentProperties = ['ad_storage'];
var bingToMpConsentSettingsMapping = {
ad_storage: 'defaultAdStorageConsentSDK',
ad_storage: 'defaultAdStorageConsentWeb',
};

var constructor = function() {
Expand Down
8 changes: 4 additions & 4 deletions test/src/tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ describe('Bing Ads Event Forwarder', function() {
{
tagId: 'tagId',
consentMapingWeb: JSON.stringify(consentMap),
defaultAdStorageConsentSDK: 'Denied', // Should be overridden by user consent state
defaultAdStorageConsentWeb: 'Denied', // Should be overridden by user consent state
},
reportService.cb,
false // Disable testMode so we can test init
Expand Down Expand Up @@ -358,7 +358,7 @@ describe('Bing Ads Event Forwarder', function() {
{
tagId: 'tagId',
consentMapingWeb: JSON.stringify(consentMap),
defaultAdStorageConsentSDK: 'Unspecified', // Should be overridden by user consent state
defaultAdStorageConsentWeb: 'Unspecified', // Should be overridden by user consent state
},
reportService.cb,
false // Disable testMode so we can test init
Expand Down Expand Up @@ -460,7 +460,7 @@ describe('Bing Ads Event Forwarder', function() {
{
tagId: 'tagId',
consentMapingWeb: JSON.stringify(consentMap),
defaultAdStorageConsentSDK: 'Denied',
defaultAdStorageConsentWeb: 'Denied',
},
reportService.cb,
false // Disable testMode so we can test init
Expand Down Expand Up @@ -679,7 +679,7 @@ describe('Bing Ads Event Forwarder', function() {
mParticle.forwarder.init(
{
tagId: 'tagId',
defaultAdStorageConsentSDK: 'Denied',
defaultAdStorageConsentWeb: 'Denied',
},
reportService.cb,
false // Disable testMode so we can test init
Expand Down

0 comments on commit 5605bf3

Please sign in to comment.