diff --git a/types/doubleclick-gpt/doubleclick-gpt-tests.ts b/types/doubleclick-gpt/doubleclick-gpt-tests.ts index 7f9d11363c..7a297e3012 100644 --- a/types/doubleclick-gpt/doubleclick-gpt-tests.ts +++ b/types/doubleclick-gpt/doubleclick-gpt-tests.ts @@ -478,3 +478,8 @@ googletag.pubads().display("/1234567/science/physics", [[300, 250], ["fluid"]], // Request non-personalized ads googletag.pubads().setRequestNonPersonalizedAds(1); + +// Set Privact Settings +googletag.pubads().setPrivacySettings({ + restrictDataProcessing: true, +}); diff --git a/types/doubleclick-gpt/index.d.ts b/types/doubleclick-gpt/index.d.ts index 353f5a3c17..3bf798396e 100644 --- a/types/doubleclick-gpt/index.d.ts +++ b/types/doubleclick-gpt/index.d.ts @@ -119,7 +119,6 @@ declare namespace googletag { setForceSafeFrame(forceSafeFrame: boolean): Slot; setSafeFrameConfig(config: SafeFrameConfig): Slot; setTargeting(key: string, value: string | string[]): Slot; - setPrivacySettings(settings: { restrictDataProcessing: boolean }): Slot; } interface PassbackSlot { @@ -168,6 +167,7 @@ declare namespace googletag { setTargeting(key: string, value: string | string[]): PubAdsService; setVideoContent(videoContentId: string, videoCmsId: string): void; updateCorrelator(): PubAdsService; + setPrivacySettings(settings: { restrictDataProcessing: boolean }): Slot; } interface SizeMappingBuilder {