@@ -20,16 +20,16 @@ There are two ways to configure application settings: database and file. This do
2020 the bid and log an operational warning.
2121- ` auction.events.enabled ` - enables events for account if true
2222- ` privacy.ccpa.enabled ` - enables gdpr verifications if true. Has higher priority than configuration in application.yaml.
23- - ` privacy.ccpa.integration -enabled.web ` - overrides ` ccpa.enforce ` property behaviour for web requests type.
24- - ` privacy.ccpa.integration -enabled.amp ` - overrides ` ccpa.enforce ` property behaviour for amp requests type.
25- - ` privacy.ccpa.integration -enabled.app ` - overrides ` ccpa.enforce ` property behaviour for app requests type.
26- - ` privacy.ccpa.integration -enabled.video ` - overrides ` ccpa.enforce ` property behaviour for video requests type.
23+ - ` privacy.ccpa.channel -enabled.web ` - overrides ` ccpa.enforce ` property behaviour for web requests type.
24+ - ` privacy.ccpa.channel -enabled.amp ` - overrides ` ccpa.enforce ` property behaviour for amp requests type.
25+ - ` privacy.ccpa.channel -enabled.app ` - overrides ` ccpa.enforce ` property behaviour for app requests type.
26+ - ` privacy.ccpa.channel -enabled.video ` - overrides ` ccpa.enforce ` property behaviour for video requests type.
2727- ` privacy.gdpr.enabled ` - enables gdpr verifications if true. Has higher priority than configuration in
2828 application.yaml.
29- - ` privacy.gdpr.integration -enabled.web ` - overrides ` privacy.gdpr.enabled ` property behaviour for web requests type.
30- - ` privacy.gdpr.integration -enabled.amp ` - overrides ` privacy.gdpr.enabled ` property behaviour for amp requests type.
31- - ` privacy.gdpr.integration -enabled.app ` - overrides ` privacy.gdpr.enabled ` property behaviour for app requests type.
32- - ` privacy.gdpr.integration -enabled.video ` - overrides ` privacy.gdpr.enabled ` property behaviour for video requests
29+ - ` privacy.gdpr.channel -enabled.web ` - overrides ` privacy.gdpr.enabled ` property behaviour for web requests type.
30+ - ` privacy.gdpr.channel -enabled.amp ` - overrides ` privacy.gdpr.enabled ` property behaviour for amp requests type.
31+ - ` privacy.gdpr.channel -enabled.app ` - overrides ` privacy.gdpr.enabled ` property behaviour for app requests type.
32+ - ` privacy.gdpr.channel -enabled.video ` - overrides ` privacy.gdpr.enabled ` property behaviour for video requests
3333 type.
3434- ` privacy.gdpr.purposes.[p1-p10].enforce-purpose ` - define type of enforcement confirmation: ` no ` /` basic ` /` full ` .
3535 Default ` full `
@@ -105,14 +105,14 @@ Here's an example YAML file containing account-specific settings:
105105 privacy :
106106 ccpa :
107107 enabled : true
108- integration -enabled :
108+ channel -enabled :
109109 video : true
110110 web : true
111111 app : true
112112 amp : true
113113 gdpr :
114114 enabled : true
115- integration -enabled :
115+ channel -enabled :
116116 video : true
117117 web : true
118118 app : true
@@ -438,30 +438,27 @@ ENGINE=InnoDB DEFAULT CHARSET=utf8'
438438The following Mysql SQL query could be used to construct a JSON document of required shape on the fly:
439439
440440``` mysql-sql
441- SELECT
442- JSON_MERGE_PATCH(config, JSON_OBJECT(
443- 'id', uuid,
444- 'status', status,
445- 'auction', JSON_OBJECT(
446- 'price-granularity', price_granularity,
447- 'banner-cache-ttl', banner_cache_ttl,
448- 'video-cache-ttl', video_cache_ttl,
449- 'truncate-target-attr', truncate_target_attr,
450- 'default-integration', default_integration,
451- 'bid-validations', bid_validations,
452- 'events', JSON_OBJECT(
453- 'enabled', NOT NOT(events_enabled)
454- )
455- ),
456- 'privacy', JSON_OBJECT(
457- 'ccpa', JSON_OBJECT(
458- 'enabled', NOT NOT(enforce_ccpa)
459- ),
460- 'gdpr', tcf_config
461- ),
462- 'analytics', analytics_config
463- )) as consolidated_config
464- FROM accounts_account
465- WHERE uuid = %ACCOUNT_ID%
466- LIMIT 1;
441+ SELECT JSON_MERGE_PATCH(
442+ JSON_OBJECT(
443+ 'id', uuid,
444+ 'status', status,
445+ 'auction', JSON_OBJECT(
446+ 'price-granularity', price_granularity,
447+ 'banner-cache-ttl', banner_cache_ttl,
448+ 'video-cache-ttl', video_cache_ttl,
449+ 'truncate-target-attr', truncate_target_attr,
450+ 'default-integration', default_integration,
451+ 'bid-validations', bid_validations,
452+ 'events', JSON_OBJECT('enabled', NOT NOT (events_enabled))
453+ ),
454+ 'privacy', JSON_OBJECT(
455+ 'ccpa', JSON_OBJECT('enabled', NOT NOT (enforce_ccpa)),
456+ 'gdpr', tcf_config
457+ ),
458+ 'analytics', analytics_config
459+ ),
460+ COALESCE(config, '{}')) as consolidated_config
461+ FROM accounts_account
462+ WHERE uuid = %ACCOUNT_ID%
463+ LIMIT 1
467464```
0 commit comments