Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Настройки GoogleAdManager
Класснаяпублика
Настройки PAL отражают настройки, настроенные в Google Ad Manager.
Конструктор
Настройки GoogleAdManager
новые настройки GoogleAdManager()
Характеристики
отключитьFirstPartyIdentifiers
логическое значение
Отключить ли собственные идентификаторы, используемые для выбора объявлений.
Если вы обновили настройки собственных файлов cookie для рекламы в Интернете в Менеджере рекламы в разделе «Администрирование» > «Глобальные настройки» , установите для этого значения значение true, чтобы отключить такие идентификаторы в PAL.
Обратите внимание, что этот параметр не применяется к использованию файлов cookie и локального хранилища для обнаружения недействительного трафика.
отключитьLimitedAdsStorage
логическое значение
Отключить ли файлы cookie, предназначенные только для обнаружения недействительного трафика, и локальное хранилище, используемое для ограниченной рекламы .
Если вы обновили настройку ограниченного алгоритмического размещения рекламы в Менеджере рекламы в разделе «Администратор» > «Глобальные настройки» , установите для этого значения значение true, чтобы отключить такое хранилище для ограниченной рекламы в PAL.
Обратите внимание, что этот параметр не применяется к неограниченной рекламе.
[null,null,["Последнее обновление: 2025-08-21 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."]]