Namespace Unity.Services.Mediation
Classes
BannerAd
Class to be instantiated in order to show a Banner Ad.
BannerAdPredefinedSizeExtension
Extension for the BannerAdPredefinedSize enumeration to provide banner Ad sizes.
BannerAdSize
Specifies a size for a Banner Ad.
ImpressionData
Impression Data associated with an Impression Event.
ImpressionEventArgs
Event args fired with impression events from the ImpressionEventPublisher.
InitializationOptionsExtensions
Utilities to simplify setting options related to this SDK through code.
InitializeFailedException
The exception returned when Mediation initialization fails.
InterstitialAd
Class to be instantiated in order to show an Interstitial Ad.
InterstitialAdShowOptions
Contains optional parameters for showing an interstitial ad.
LoadErrorEventArgs
LoadError Event Arguments.
LoadFailedException
The exception returned when Mediation load fails.
MediationService
Mediation API for the Unity Mediation SDK.
RewardEventArgs
Reward Event Arguments.
RewardedAd
Class to be instantiated in order to show a Rewarded Ad.
RewardedAdShowOptions
Contains optional parameters for showing a rewarded ad.
ShowErrorEventArgs
ShowError Event Arguments.
ShowFailedException
The exception returned when Mediation show fails.
Structs
S2SRedeemData
Contains the Server to Server redeem callback data. Make sure the rewarded ad is properly configured for server to server redeem callback authentication and a server URL is set in the dashboard.
Interfaces
IBannerAd
Interface of an Banner Ad.
IDataPrivacy
DataPrivacy is an interface that is used to register the user's consent status.
IImpressionEventPublisher
An interface that can pass on events when impression events are fired from ad objects.
IInterstitialAd
Interface of an Interstitial Ad.
IMediationService
The interface for Mediation features.
IRewardedAd
Interface of a Rewarded Ad.
Enums
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
BannerAdAnchor
Banner anchors
BannerAdPredefinedSize
Predefined size for a Banner Ad.
ConsentStatus
The list of possible consent status.
DataPrivacyLaw
The list of currently supported data privacy laws.
InitializationState
InitializationState enum denoting the initialization status of Unity Mediation.
There are two initialization flows that can happen. Successful Initialization : Uninitialized -> Initializing -> Initialized
Failed Initialization : Uninitialized -> Initializing -> Uninitialized
LoadError
Enum for Mediation SDK load error codes to be surfaced to the developer.
NoFill: Error that occurs when the sdk fails to load an ad for an entire waterfall.
NetworkError: Error that occurs when the Mediation SDK InstantiationService call fails.
Unknown: This occurs if a non-network error happens during instantiation service load.
SdkInitializationError
Enum for initialization error codes. Used for the mediation sdk initialization.
ShowError
Enum for show error codes.