Hi,
I'm not sure if this is something expected due to changes in recent SDK versions or a linking error.
When creating a banner (BannerView), you have to assign the AdSizeCons property.
AdSizeCons = AdSizeCons.GetCurrentOrientationAnchoredAdaptiveBannerAdSize
works, but AdSizeCons.Banner, Fluid, FullBanner, LargeBanner, Leaderboard, MediumRectangle, Skyscraper, SmartBannerLandscape, and SmartBannerPortrait, which should be constants that work as banner sizes,
throw a NullReferenceException.
Hi,
I'm not sure if this is something expected due to changes in recent SDK versions or a linking error.
When creating a banner (BannerView), you have to assign the AdSizeCons property.
AdSizeCons = AdSizeCons.GetCurrentOrientationAnchoredAdaptiveBannerAdSize
works, but AdSizeCons.Banner, Fluid, FullBanner, LargeBanner, Leaderboard, MediumRectangle, Skyscraper, SmartBannerLandscape, and SmartBannerPortrait, which should be constants that work as banner sizes,
throw a NullReferenceException.