AppLovin / AppLovin-MAX-Unity-Plugin

110 stars 31 forks source link

Adaptive Banner set to false keeps filling adaptive banners #345

Open AmirQG opened 2 months ago

AmirQG commented 2 months ago

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 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>);

}`

Additional Info

image
JonathanLiuApp commented 2 months ago

Hi @AmirQG, could you enable verbose logging and share the full logs with us?