In this code
which is the ID that need insert into AD UNIT ID?
A or B
and if A, must to be insert char "~" o "/"?
Thanks
B4X:
Sub LoadAd
BannerAd.Initialize2("BannerAd", "ca-app-pub-9301XXXXXXXX5507~3463805004", 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
End Sub
which is the ID that need insert into AD UNIT ID?
A or B
and if A, must to be insert char "~" o "/"?
Thanks
Last edited: