Stay organized with collections
Save and categorize content based on your preferences.
GoogleAdManagerSettings
classpublic
PAL settings reflecting settings configured in Google Ad Manager.
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.
[null,null,["Last updated 2025-08-20 UTC."],[[["\u003cp\u003eThis class outlines Google Ad Manager settings within the PAL framework, allowing configuration synchronization.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003edisableFirstPartyIdentifiers\u003c/code\u003e property controls the usage of first-party identifiers for ad selection, based on Ad Manager's global settings for first-party cookies.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003edisableLimitedAdsStorage\u003c/code\u003e property manages the use of cookies and local storage for invalid traffic detection in limited ads, reflecting Ad Manager's programmatic limited ads setting.\u003c/p\u003e\n"]]],[],null,["# Class: GoogleAdManagerSettings\n\nGoogleAdManagerSettings\n=======================\n\nclass public\n\nPAL settings reflecting settings configured in Google Ad Manager.\n\nConstructor\n-----------\n\n### GoogleAdManagerSettings\n\nnew\nGoogleAdManagerSettings()\n\nProperties\n----------\n\n### disableFirstPartyIdentifiers\n\nboolean\n\nWhether to disable first-party identifiers used for ad selection.\n\nIf you updated the **First party cookies for ads on web** setting in Ad\nManager within **Admin \\\u003e Global settings**, set this value to true to\ndisable such identifiers in PAL.\n\nNote that this setting does not apply to the use of cookies and local\nstorage for invalid traffic detection.\n\n### disableLimitedAdsStorage\n\nboolean\n\nWhether to disable invalid traffic detection-only cookies and local storage\nused for [limited ads](https://support.google.com/admanager/answer/9882911).\n\nIf you updated the **Programmatic limited ads** setting in Ad Manager\nwithin **Admin \\\u003e Global settings**, set this value to true to disable\nsuch storage for limited ads in PAL.\n\nNote that this setting does not apply to non-limited ads."]]