Skip to content

AdSizeCons NullReferenceException #41

Description

@OMendozaG

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinghelp wantedExtra attention is needed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions