Hello and thanks for answering Erel
I do not use any real tablet because I do not have one, but I use the emulator.
The problem is not only that the above code does not shows the banners on tablets in landscape mode, is also that on phones happens the same problem (on real phones and emulates phones). That is, with the above code the banners is showed ok on phones and tablets but only in portrait mode.
The log that I received when the phone is in landscape mode is the next: "Ad request successful, but no ad returned due to lack of ad inventory."
To solve the problem with the phones, I used this code:
Dim height As Int
If (Activity.height > Activity.Width) Then 'Portrait Mode.
AdView1.Initialize2("Ad", "xxxxx", AdView1.SIZE_SMART_BANNER)
If GetDeviceLayoutValues.ApproximateScreenSize < 6 Then 'Phones
height = 50dip
Else 'Tablets
height = 90dip
End If
Activity.AddView(AdView1, 0dip, 100%y - height, 100%x, height)
Else 'Landscape Mode
AdView1.Initialize("Ad", "xxxxxx")
Activity.AddView(AdView1,50%x - 160dip,100%y-50dip,320dip,50dip)
End If
AdView1.LoadAd
As you can see, I used smart_banner only for portrait mode and I used the normal mode for landscape mode. This method works but only on phones. I tried anything to solve the problem with tablets but allways I received the same log error.
Grettings!