Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
GoogleAdManagerSettings
classpublic
Setelan PAL yang mencerminkan setelan yang dikonfigurasi di Google Ad Manager.
Konstruktor
GoogleAdManagerSettings
new
GoogleAdManagerSettings()
Properti
disableFirstPartyIdentifiers
boolean
Apakah akan menonaktifkan ID pihak pertama yang digunakan untuk pemilihan iklan.
Jika Anda memperbarui setelan Cookie pihak pertama untuk iklan di web di Ad
Manager dalam Admin > Setelan global, tetapkan nilai ini ke benar untuk
menonaktifkan ID tersebut di PAL.
Perhatikan bahwa setelan ini tidak berlaku untuk penggunaan cookie dan penyimpanan lokal untuk deteksi traffic tidak valid.
disableLimitedAdsStorage
boolean
Apakah akan menonaktifkan cookie khusus deteksi traffic tidak valid dan penyimpanan lokal
yang digunakan untuk
iklan terbatas.
Jika Anda memperbarui setelan Iklan terbatas terprogram di Ad Manager
dalam Admin > Setelan global, tetapkan nilai ini ke benar untuk menonaktifkan
penyimpanan tersebut untuk iklan terbatas di PAL.
Perhatikan bahwa setelan ini tidak berlaku untuk iklan yang tidak dibatasi.
[null,null,["Terakhir diperbarui pada 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."]]