@highfivve/ad-tag 5.9.1 → 5.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/ads/modules/ad-reload/index.js +1 -0
- package/lib/ads/modules/adex/index.js +1 -0
- package/lib/ads/modules/blocklist-url/index.js +1 -0
- package/lib/ads/modules/cleanup/index.js +1 -0
- package/lib/ads/modules/confiant/index.js +1 -0
- package/lib/ads/modules/custom/index.js +1 -0
- package/lib/ads/modules/emetriq/index.js +1 -0
- package/lib/ads/modules/generic-skin/index.js +1 -0
- package/lib/ads/modules/geoedge/index.js +1 -0
- package/lib/ads/modules/identitylink/index.js +1 -0
- package/lib/ads/modules/interstitial/index.js +1 -0
- package/lib/ads/modules/lazy-load/index.js +1 -0
- package/lib/ads/modules/moli-analytics/index.js +1 -0
- package/lib/ads/modules/prebid-first-party-data/index.js +1 -0
- package/lib/ads/modules/pubstack/index.js +1 -0
- package/lib/ads/modules/sticky-footer-ad/index.js +1 -0
- package/lib/ads/modules/sticky-footer-ad-v2/index.js +1 -0
- package/lib/ads/modules/sticky-header-ad/index.js +1 -0
- package/lib/ads/modules/utiq/index.js +2 -1
- package/lib/ads/modules/yield-optimization/index.js +1 -0
- package/lib/ads/modules/zeotap/index.js +1 -0
- package/lib/ads/moli.js +3 -2
- package/lib/gen/packageJson.js +1 -1
- package/package.json +1 -1
|
@@ -178,6 +178,7 @@ export const createSkin = () => {
|
|
|
178
178
|
const prebidBidsBackHandler__ = () => bidsBackHandler;
|
|
179
179
|
return {
|
|
180
180
|
name,
|
|
181
|
+
configKey: 'skin',
|
|
181
182
|
description: 'Block other ad slots if a wallpaper has won the auction',
|
|
182
183
|
moduleType: 'prebid',
|
|
183
184
|
config__,
|
|
@@ -60,6 +60,7 @@ export const createIdentityLink = () => {
|
|
|
60
60
|
const prepareRequestAdsSteps__ = () => [];
|
|
61
61
|
return {
|
|
62
62
|
name,
|
|
63
|
+
configKey: 'identitylink',
|
|
63
64
|
description: "Provides LiveRamp's ATS (authenticated traffic solution) functionality to Moli.",
|
|
64
65
|
moduleType: 'identity',
|
|
65
66
|
config__,
|
|
@@ -102,6 +102,7 @@ export const createPrebidFirstPartyDataModule = () => {
|
|
|
102
102
|
const prepareRequestAdsSteps__ = () => [];
|
|
103
103
|
return {
|
|
104
104
|
name,
|
|
105
|
+
configKey: 'prebidFirstPartyData',
|
|
105
106
|
description: 'Module for passing first party data to prebid auctions',
|
|
106
107
|
moduleType: 'prebid',
|
|
107
108
|
config__,
|
|
@@ -30,7 +30,7 @@ export const createUtiq = () => {
|
|
|
30
30
|
if (!vendorId || !tcData.gdprApplies) {
|
|
31
31
|
return true;
|
|
32
32
|
}
|
|
33
|
-
return tcData.vendor.consents[vendorId];
|
|
33
|
+
return Boolean(tcData.vendor.consents[vendorId] || tcData.customVendorConsents?.[vendorId]);
|
|
34
34
|
};
|
|
35
35
|
const loadUtiq = (config, context) => {
|
|
36
36
|
if (context.env__ === 'test') {
|
|
@@ -97,6 +97,7 @@ export const createUtiq = () => {
|
|
|
97
97
|
};
|
|
98
98
|
return {
|
|
99
99
|
name: 'utiq',
|
|
100
|
+
configKey: 'utiq',
|
|
100
101
|
description: 'user module',
|
|
101
102
|
moduleType: 'identity',
|
|
102
103
|
config__() {
|
|
@@ -100,6 +100,7 @@ export const createZeotap = () => {
|
|
|
100
100
|
const prepareRequestAdsSteps__ = () => [];
|
|
101
101
|
return {
|
|
102
102
|
name,
|
|
103
|
+
configKey: 'zeotap',
|
|
103
104
|
description: 'Provides Zeotap functionality (data collection and identity plus) to Moli.',
|
|
104
105
|
moduleType: 'identity',
|
|
105
106
|
config__,
|
package/lib/ads/moli.js
CHANGED
|
@@ -247,7 +247,8 @@ export const createMoliTag = (window) => {
|
|
|
247
247
|
modules
|
|
248
248
|
.map(module => {
|
|
249
249
|
const moduleName = module.name;
|
|
250
|
-
const
|
|
250
|
+
const configKey = module.configKey;
|
|
251
|
+
const base = state.config?.modules?.[configKey];
|
|
251
252
|
if (!base) {
|
|
252
253
|
return null;
|
|
253
254
|
}
|
|
@@ -262,7 +263,7 @@ export const createMoliTag = (window) => {
|
|
|
262
263
|
}
|
|
263
264
|
const resolvedModulesConfig = {
|
|
264
265
|
...state.config?.modules,
|
|
265
|
-
[
|
|
266
|
+
[configKey]: effectiveConfig
|
|
266
267
|
};
|
|
267
268
|
return { module, resolvedModulesConfig };
|
|
268
269
|
})
|
package/lib/gen/packageJson.js
CHANGED