setAdvertisingId

open fun setAdvertisingId(@NonNull @Size(min = 1, max = 255) adId: String, limitAdTrackingEnabled: Boolean): AssociatedIdentifiers.Editor

Sets the Android advertising ID and the limit ad tracking enabled value.

Return

The editor object.

Parameters

adId

The Android advertising ID.

limitAdTrackingEnabled

A boolean indicating whether the user has limit ad tracking enabled or not.