The wrapper class used to interact with the Unity Ads SDK.
A static class for implementing banner ads.
Pass these options back to the SDK to notify it of events when loading the banner.
Pass these options back to the SDK to notify it of events when displaying the banner.
A class for sending various metadata to UnityAds.
A collection of options that you can pass to
Advertisement.Show, to modify ad behaviour. Use
ShowOptions.resultCallback to pass a ShowResult enum back to
Show when the ad finishes.
An interface for handling various states of an ad. Implement this listener in your script to define logic for rewarded ads.
OnUnityAdsReady method handles logic for ad content being ready to display through a specified Placement.
OnUnityAdsDidError method handles logic for ad content failing to display because of an error.
OnUnityAdsDidStart method handles logic for the player triggering an ad to play.
OnUnityAdsDidFinish method handles logic for an ad finishing. Define conditional behavior for different finish states by accessing the
ShowResult result from the listener. For more information, view documentation on implementing rewarded ads.
An enum representing the on-screen anchor position of the banner ad.
The enumerated states of a Unity Ads Placement.
An enum passed to ShowOptions.resultCallback after the ad has finished, indicating the result.