hi.
application stopped serving ads.
I don't know how to fix it.
I am using this code. no problem in other applications that use the same code.
thanks..
application stopped serving ads.
I don't know how to fix it.
I am using this code. no problem in other applications that use the same code.
B4X:
BannerAd.Initialize2("BannerAd", "ca-app-pub-xxxx/yyyy", BannerAd.SIZE_SMART_BANNER)
Dim height As Int
If GetDeviceLayoutValues.ApproximateScreenSize < 6 Then
'phones
If 100%x > 100%y Then height = 32dip Else height = 50dip
Else
'tablets
height = 90dip
End If
Activity.AddView(BannerAd, 0dip, 100%y - height, 100%x, height)
BannerAd.LoadAd
IAd.Initialize("iad", "ca-app-pub-xxxx/yyyy")
IAd.LoadAd
thanks..