Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
GoogleAdManagerSettings
classpublic
Ustawienia PAL odpowiadające ustawieniom skonfigurowanym w usłudze Google Ad Manager.
Zespół
GoogleAdManagerSettings
new
GoogleAdManagerSettings()
Właściwości
disableFirstPartyIdentifiers
wartość logiczna
Określa, czy wyłączyć własne identyfikatory używane do wyboru reklam.
Jeśli w Ad Managerze w sekcji Administracja > Ustawienia globalne zaktualizowano ustawienie Własne pliki cookie na potrzeby wyświetlania reklam w internecie, ustaw tę wartość na „PRAWDA”, aby wyłączyć takie identyfikatory w PAL.
Pamiętaj, że to ustawienie nie dotyczy korzystania z plików cookie i pamięci lokalnej do wykrywania nieprawidłowego ruchu.
Jeśli w sekcji Administracja > Ustawienia globalne zaktualizowano ustawienie Automatyzacja ograniczonego wyświetlania reklam w usłudze Ad Manager, ustaw tę wartość na „PRAWDA”, aby wyłączyć takie przechowywanie w przypadku ograniczonych reklam w automatyzacji.
Pamiętaj, że to ustawienie nie dotyczy reklam bez ograniczeń.
[null,null,["Ostatnia aktualizacja: 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."]]