AdsManager
AdsManager uses Unity Ads Legacy 4.16.4 as its default provider for interstitial,
rewarded, and banner ads. com.unity.ads is an AchEngine 1.3.2 dependency, so Unity's
Package Manager resolves it with the package. AchManagerInstaller registers AdsManager.
Live ads require the Android/iOS game IDs and ad-unit IDs from Unity Dashboard. The Editor
uses the Android game ID; configure it as well. Keep testMode enabled only during development.
Quick setup
Configure the manager once before initialization in your bootstrap. With VContainer, apply the
same calls to an injected AdsManager.
If Android and iOS use different ad-unit IDs, create the appropriate AdsConfiguration in each
platform bootstrap. Configure() can only run before initialization begins.
Interstitial and rewarded ads
Load an ad before showing it, then reload every fullscreen ad after a show attempt. Grant a
reward only when ShouldGrantReward is true; skipped or failed rewarded ads must grant nothing.
Banner ads
The Unity Ads provider shows banners at bottom center. A successful ShowBannerAsync() means
the request reached the SDK, not that it produced an impression.
Mediation
The default provider is a small Unity Ads Legacy integration. For new live operations and competition among multiple networks, use one of these mediation products:
Adapter availability, bidding support, minimum Android/iOS SDK versions, and privacy/ATT requirements change frequently. Before integrating, confirm the selected mediator's current Unity Ads adapter and platform requirements.
IAdsProvider contains only initialization, load/show, and banner-hide operations. The adapter
must map its callbacks to AdsLoadResult/AdsShowResult and return Completed only after a
rewarded ad finishes. Do not initialize a Legacy Unity Ads provider and LevelPlay together in
the same app session.