i added the MaxSdk.SetBannerExtraParameter(bannerAdUnitId, "adaptive_banner", "false");
in the banner initialisation function but it keeps serving adaptive banners
Expected Behavior
Adaptive banners not served
How to Reproduce
i followed the max unity documentation and used this function
`#if UNITY_IOS
string bannerAdUnitId = "YOUR_IOS_BANNER_AD_UNIT_ID"; // Retrieve the ID from your account
else // UNITY_ANDROID
string bannerAdUnitId = "YOUR_ANDROID_BANNER_AD_UNIT_ID"; // Retrieve the ID from your account
endif
public void InitializeBannerAds()
{
MaxSdk.CreateBanner(bannerAdUnitId, MaxSdkBase.BannerPosition.BottomCenter);
MaxSdk.SetBannerExtraParameter(bannerAdUnitId, "adaptive_banner", "false");
// Set background or background color for banners to be fully functional
MaxSdk.SetBannerBackgroundColor(bannerAdUnitId, <YOUR_BANNER_BACKGROUND_COLOR>);
MAX Plugin Version
6.3.0
Unity Version
2020.3.48f1
Device/Platform Info
Android
Current Behavior
i added the
MaxSdk.SetBannerExtraParameter(bannerAdUnitId, "adaptive_banner", "false");
in the banner initialisation function but it keeps serving adaptive bannersExpected Behavior
Adaptive banners not served
How to Reproduce
i followed the max unity documentation and used this function `#if UNITY_IOS string bannerAdUnitId = "YOUR_IOS_BANNER_AD_UNIT_ID"; // Retrieve the ID from your account
else // UNITY_ANDROID
string bannerAdUnitId = "YOUR_ANDROID_BANNER_AD_UNIT_ID"; // Retrieve the ID from your account
endif
public void InitializeBannerAds() { MaxSdk.CreateBanner(bannerAdUnitId, MaxSdkBase.BannerPosition.BottomCenter); MaxSdk.SetBannerExtraParameter(bannerAdUnitId, "adaptive_banner", "false");
}`
Additional Info