mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
Update setPrivacySettings place in interface (#40534)
* Update setPrivacySettings place in interface I placed this in the wrong spot in the git editor. My bad. * Adding a test for the functionality * newline at end of file
This commit is contained in:
committed by
Sheetal Nandi
parent
e8eab36fda
commit
daa264d814
@@ -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,
|
||||
});
|
||||
|
||||
Vendored
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user