docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum AdState

    The current state of an Interstitial or rewarded Ad. The current state of an Ad load or show.

    Unloaded: Indicates that an ad unit is ready to be loaded. AdUnits that are Unloaded cannot be showed.

    Set when Ad is instanced, Ad has closed or failed on show, Ad has failed to Load.

    Loading: Indicates that an ad unit is in the process of loading ad data. AdUnits that are Loading cannot be loaded again until a subsequent load has failed or show has completed/failed.

    Set when Ad load is called.

    Loaded: Indicates that an ad unit has loaded ad data and is ready to show. AdUnits that are Loaded cannot be loaded again until a subsequent show has completed/failed.

    Set when a line item has loaded (Ad load has succeeded).

    Showing: Indicates that an ad unit is in the process of showing. AdUnits that are Showing cannot be loaded or showed again until playback has completed/failed.

    Set when Ad show is called.

    Potential State Transitions: Unloaded to Loading to Loaded to Showing to Unloaded Unloaded to Loading to Unloaded

    Namespace: Unity.Services.Mediation
    Assembly: Unity.Mediation.dll
    Syntax
    public enum AdState

    Fields

    Name Description
    Loaded

    Indicates that an ad unit has loaded ad data and is ready to show. AdUnits that are Loaded cannot be loaded again until a subsequent show has completed/failed.

    Loading

    Indicates that an ad unit is in the process of loading ad data. AdUnits that are Loading cannot be loaded again until a subsequent load has failed or show has completed/failed.

    Showing

    Indicates that an ad unit is in the process of showing. AdUnits that are Showing cannot be loaded or showed again until playback has completed/failed.

    Unloaded

    Indicates that an ad unit is ready to be loaded. AdUnits that are Unloaded cannot be showed.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)