ProgrammaticAccessLibrary Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
PALGoogleAdManagerSettings
@interface PALGoogleAdManagerSettings : NSObject
PAL settings reflecting settings configured in Google Ad Manager.
-
Specifies whether to disable first-party identifiers used for ad selection.
If you updated the “First party identifiers for ads on apps” 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 storage for invalid traffic detection.
Declaration
Swift
var disableFirstPartyIdentifiers: Bool { get set }
Objective-C
@property (nonatomic) BOOL disableFirstPartyIdentifiers;
-
Specifies whether to disable invalid traffic detection-only 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.
Declaration
Swift
var disableLimitedAdsStorage: Bool { get set }
Objective-C
@property (nonatomic) BOOL disableLimitedAdsStorage;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-20 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-20 UTC."],[],[],null,["# ProgrammaticAccessLibrary Framework Reference\n\nPALGoogleAdManagerSettings\n==========================\n\n\n @interface PALGoogleAdManagerSettings : NSObject\n\nPAL settings reflecting settings configured in Google Ad Manager.\n- `\n ``\n ``\n `\n\n ### [disableFirstPartyIdentifiers](#/c:objc(cs)PALGoogleAdManagerSettings(py)disableFirstPartyIdentifiers)\n\n `\n ` \n Specifies whether to disable first-party identifiers used for ad selection.\n\n \u003cbr /\u003e\n\n If you updated the \"First party identifiers for ads on apps\" setting in Ad Manager within\n Admin \\\u003e Global settings, set this value to true to disable such identifiers in PAL.\n\n \u003cbr /\u003e\n\n Note that this setting does not apply to the use of storage for invalid traffic detection. \n\n #### Declaration\n\n Swift \n\n var disableFirstPartyIdentifiers: Bool { get set }\n\n Objective-C \n\n @property (nonatomic) BOOL disableFirstPartyIdentifiers;\n\n- `\n ``\n ``\n `\n\n ### [disableLimitedAdsStorage](#/c:objc(cs)PALGoogleAdManagerSettings(py)disableLimitedAdsStorage)\n\n `\n ` \n Specifies whether to disable invalid traffic detection-only storage used for [limited ads](https://support.google.com/admanager/answer/9882911).\n\n \u003cbr /\u003e\n\n If you updated the \"Programmatic limited ads\" setting in Ad Manager within Admin \\\u003e Global\n settings, set this value to true to disable such storage for limited ads in PAL.\n\n \u003cbr /\u003e\n\n Note that this setting does not apply to non-limited ads. \n\n #### Declaration\n\n Swift \n\n var disableLimitedAdsStorage: Bool { get set }\n\n Objective-C \n\n @property (nonatomic) BOOL disableLimitedAdsStorage;"]]