Using Adaptive Banners in Unity

If you are using MAS 4.2 or above, the option to use adaptive banners in Unity is now available. By default the option is deactivated, but can easily be activated at the code level. Please follow the guide below for implementation.

Turning On Adaptive Banners

To activate adaptive banners, add the following code to the script you use to manage your ads:

Yodo1AdBuildConfig config = new Yodo1AdBuildConfig().enableAdaptiveBanner(true);


A Note On Adaptive Banners

Please note that presently, MAS Adaptive banners do not have sizing controls. As a result, if you choose to use them, please make sure your banner placements are well away from any controls or other UI elements. Failure to do so may lead to a ban from Google Play.

Updated on September 8, 2021

Was this article helpful?

Related Articles