c# - Admob Banner Ads not Showing after Size Adjustment -
initially using smart banners , display them. somehow size rather unpredictable tried fix custom size them. below doing now.
adsize adsize = new adsize(screen.width, mathf.floortoint(screen.height * 0.1f)); bannerview = new bannerview(adunitid, adsize, adposition.bottom);
in unity editor, received following debugging messages:
dummy .ctor dummy createbannerview dummy loadad
however when tried on android phone, banner ad wasn't displayed.
what have missed?
i don't want use smart banners.
the official link here.
Comments
Post a Comment