Share via


CustomAudience.ExpirationTime Property

Definition

Once the expiration time has passed, a custom audience is no longer eligible for daily ad/bidding data updates or participation in the ad selection process.

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

Property Value

the timestamp Instant, truncated to milliseconds, after which the custom audience should be removed

Attributes

Remarks

Once the expiration time has passed, a custom audience is no longer eligible for daily ad/bidding data updates or participation in the ad selection process. The custom audience will then be deleted from memory by the next daily update.

If no expiration time is provided on creation of the CustomAudience, expiry will default to 60 days from activation.

The maximum expiry is 60 days from initial activation.

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

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