GoogleAdManagerSettings.Builder

@AutoValue.Builder
abstract class GoogleAdManagerSettings.Builder


A builder for generating GoogleAdManagerSettings objects.

Summary

Public constructors

Public functions

abstract GoogleAdManagerSettings!

Build the GoogleAdManagerSettings.

abstract GoogleAdManagerSettings.Builder!

Sets whether to disable first-party identifiers used for ad selection.

abstract GoogleAdManagerSettings.Builder!

Sets whether to disable invalid traffic detection-only storage used for limited ads.

Public constructors

Builder

Builder()

Public functions

build

abstract fun build(): GoogleAdManagerSettings!

Build the GoogleAdManagerSettings.

disableFirstPartyIdentifiers

abstract fun disableFirstPartyIdentifiers(toggle: Boolean): GoogleAdManagerSettings.Builder!

Sets 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.

disableLimitedAdsStorage

abstract fun disableLimitedAdsStorage(toggle: Boolean): GoogleAdManagerSettings.Builder!

Sets 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.