Class: GoogleAdManagerSettings

  • GoogleAdManagerSettings is a public class in PAL reflecting settings configured in Google Ad Manager.

  • It includes properties to disable first-party identifiers and limited ads storage based on Google Ad Manager configurations.

  • Disabling first-party identifiers affects ad selection but not invalid traffic detection cookies.

  • Disabling limited ads storage affects invalid traffic detection-only cookies for limited ads but not non-limited ads.

Constructor

GoogleAdManagerSettings

new GoogleAdManagerSettings()

Properties

disableFirstPartyIdentifiers

boolean

Whether to disable first-party identifiers used for ad selection.

If you updated the First party cookies for ads on web setting in Ad Manager within Admin > Global settings, set this value to true to disable such identifiers in PAL.

Note that this setting does not apply to the use of cookies and local storage for invalid traffic detection.

disableLimitedAdsStorage

boolean

Whether to disable invalid traffic detection-only cookies and local storage used for limited ads.

If you updated the Programmatic limited ads setting in Ad Manager within Admin > Global settings, set this value to true to disable such storage for limited ads in PAL.

Note that this setting does not apply to non-limited ads.