13 [Tooltip(
"Persistent banner advertising format.")]
19 [Tooltip(
"Fullscreen interstitial advertising format.")]
25 [Tooltip(
"Fullscreen rewarded advertising format.")]
28#if !LEVELPLAY_MOBILE_ADS
32 [Tooltip(
"Fullscreen app-open advertising format.")]
40 [Tooltip(
"Fullscreen rewarded-interstitial advertising format.")]
41 RewardedInterstitial = 4,
46 [Tooltip(
"Native overlay advertising format.")]
66#if !LEVELPLAY_MOBILE_ADS
70 AdType.RewardedInterstitial =>
true,
84#if !LEVELPLAY_MOBILE_ADS
static bool IsFullscreenAd(this AdType adType)
Determines whether an ad format displays fullscreen content.
static AutoMuteAdTypes ToAutoMuteAdType(this AdType adType)
Converts an ad format to its corresponding auto-mute flag.
Provides classification and conversion helpers for common ad formats. The helpers identify fullscreen...
AdType
Identifies the advertising format exposed by an ad unit.
@ Interstitial
Interstitial ad format.
@ Banner
Banner ad format.
@ Rewarded
Rewarded ad format.
@ AppOpen
App open ad format.
AutoMuteAdTypes
Specifies fullscreen ad formats that mute Unity audio while the ad is displayed.
@ None
No ad format is muted automatically.