docs.unity3d.com
    Show / Hide Table of Contents

    Namespace UnityEngine.Advertisements

    Classes

    Advertisement

    The wrapper class used to interact with the Unity Ads SDK.

    Advertisement.Banner

    A static class for implementing banner ads.

    BannerLoadOptions

    Pass these options back to the SDK to notify it of events when loading the banner.

    BannerOptions

    Pass these options back to the SDK to notify it of events when displaying the banner.

    MetaData

    A class for sending various metadata to UnityAds.

    ShowOptions

    A collection of options that you can pass to Advertisement.Show, to modify ad behaviour.

    Interfaces

    IUnityAdsInitializationListener

    IUnityAdsLoadListener

    An interface for executing logic when an ad either loads or fails to load.

    IUnityAdsShowListener

    An interface for executing logic when an ad either shows or fails to show.

    Enums

    BannerPosition

    An enum representing the on-screen anchor position of the banner ad.

    ShowResult

    An enum passed to ShowOptions.resultCallback after the ad has finished, indicating the result.

    UnityAdsCompletionState

    UnityAdsInitializationError

    UnityAdsLoadError

    The enumerated causes of an ad failing to load.

    UnityAdsShowCompletionState

    UnityAdsShowError

    The enumerated causes of an ad failing to show.

    Delegates

    BannerLoadOptions.ErrorCallback

    BannerLoadOptions.LoadCallback

    BannerOptions.BannerCallback

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023