다음을 통해 공유


CustomAudience.ActivationTime Property

Definition

On creation of the CustomAudience object, an optional activation time may be set in the future, in order to serve a delayed activation.

public Java.Time.Instant? ActivationTime { [Android.Runtime.Register("getActivationTime", "()Ljava/time/Instant;", "", ApiSince=34)] get; }
[<get: Android.Runtime.Register("getActivationTime", "()Ljava/time/Instant;", "", ApiSince=34)>]
member this.ActivationTime : Java.Time.Instant

Property Value

the timestamp Instant, truncated to milliseconds, after which the custom audience is active

Attributes

Remarks

On creation of the CustomAudience object, an optional activation time may be set in the future, in order to serve a delayed activation. If the field is not set, the CustomAudience will be activated at the time of joining.

For example, a custom audience for lapsed users may not activate until a threshold of inactivity is reached, at which point the custom audience's ads will participate in the ad selection process, potentially redirecting lapsed users to the original owner application.

The maximum delay in activation is 60 days from initial creation.

If specified, the activation time must be an earlier instant than the expiration time.

Java documentation for android.adservices.customaudience.CustomAudience.getActivationTime().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to