Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
GoogleAdManagerSettings
classpublic
Chế độ cài đặt PAL phản ánh chế độ cài đặt được định cấu hình trong Google Ad Manager.
Hàm dựng
GoogleAdManagerSettings
new
GoogleAdManagerSettings()
Thuộc tính
disableFirstPartyIdentifiers
boolean
Liệu có tắt giá trị nhận dạng của bên thứ nhất dùng để lựa chọn quảng cáo hay không.
Nếu bạn đã cập nhật chế độ cài đặt Cookie của bên thứ nhất cho quảng cáo trên web trong Ad Manager trong phần Quản trị > Cài đặt chung, hãy đặt giá trị này thành true để tắt các giá trị nhận dạng đó trong PAL.
Xin lưu ý rằng chế độ cài đặt này không áp dụng cho việc sử dụng cookie và bộ nhớ cục bộ để phát hiện lưu lượng truy cập không hợp lệ.
disableLimitedAdsStorage
boolean
Liệu có tắt cookie chỉ dùng để phát hiện lưu lượng truy cập không hợp lệ và bộ nhớ cục bộ được dùng cho
quảng cáo bị hạn chế hay không.
Nếu bạn đã cập nhật chế độ cài đặt Quảng cáo bị hạn chế có lập trình trong Ad Manager
trong phần Quản trị > Cài đặt chung, hãy đặt giá trị này thành true để tắt
bộ nhớ đó cho quảng cáo bị hạn chế trong PAL.
Xin lưu ý rằng chế độ cài đặt này không áp dụng cho quảng cáo không bị hạn chế.
[null,null,["Cập nhật lần gần đây nhất: 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."]]