GoogleAdManagerSettings.Builder

@AutoValue.Builder
public abstract class GoogleAdManagerSettings.Builder


A builder for generating GoogleAdManagerSettings objects.

Summary

Public constructors

Public methods

abstract GoogleAdManagerSettings

Build the GoogleAdManagerSettings.

abstract GoogleAdManagerSettings.Builder

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

abstract GoogleAdManagerSettings.Builder
disableLimitedAdsStorage(boolean toggle)

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

Public constructors

Builder

public Builder()

Public methods

build

public abstract GoogleAdManagerSettings build()

Build the GoogleAdManagerSettings.

disableFirstPartyIdentifiers

public abstract GoogleAdManagerSettings.Builder disableFirstPartyIdentifiers(boolean toggle)

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

public abstract GoogleAdManagerSettings.Builder disableLimitedAdsStorage(boolean toggle)

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.