setGoogleAdvertisingId

abstract fun setGoogleAdvertisingId(googleAdvertisingId: String?, isLimitAdTrackingEnabled: Boolean)

Sets the Google Advertising ID and associated ad-tracking enabled field for this device. Note that the SDK does not automatically collect this data.

Parameters

googleAdvertisingId

The Google Advertising ID. Use a blank string or null to clear the existing ID.

isLimitAdTrackingEnabled

Whether ad-tracking is enabled for the Google Advertising ID.