MobileAds.Settings

public static final class MobileAds.Settings extends Object

This class is deprecated.
This class is no longer used and has no replacement.

This class describes all optional initialization settings that impact the Google Mobile Ads SDK's behavior.

Public Constructor Summary

Public Method Summary

String
getTrackingId()
This method is deprecated. This method is no longer used and has no replacement.
boolean
isGoogleAnalyticsEnabled()
This method is deprecated. This method is no longer used and has no replacement.
MobileAds.Settings
setGoogleAnalyticsEnabled(boolean enable)
This method is deprecated. This method is no longer used and has no replacement.
MobileAds.Settings
setTrackingId(String trackingId)
This method is deprecated. This method is no longer used and has no replacement.

Inherited Method Summary

Public Constructors

public MobileAds.Settings ()

Public Methods

public String getTrackingId ()

This method is deprecated.
This method is no longer used and has no replacement.

Returns the tracking Id set by setTrackingId(String). Returns null if it is not set.

public boolean isGoogleAnalyticsEnabled ()

This method is deprecated.
This method is no longer used and has no replacement.

Returns true if Google Analytics is enabled.

public MobileAds.Settings setGoogleAnalyticsEnabled (boolean enable)

This method is deprecated.
This method is no longer used and has no replacement.

Sets whether or not to enable Google Analytics.

public MobileAds.Settings setTrackingId (String trackingId)

This method is deprecated.
This method is no longer used and has no replacement.

Sets a tracking Id provided by Google Analytics. The tracking Id should match the format UA-XXXXXXXX-X