I got an email from google today that there is a problem with one of my applications
and I need to check Policy center.
This is my Policy centre:
I am using basic code for ad placement.
I haven't changed my code for months and it's not clear to me what they are saying:
Modified ad code: Resizing Ad Frames?
Did anyone have any similar problems and know what the problem is exactly and how to solve it?
Thank you
and I need to check Policy center.
This is my Policy centre:
I am using basic code for ad placement.
B4X:
Adview1.Initialize2("Ad", "xxxxxxxx", AdView1.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(AdView1, 0dip, 100%y - height, 100%x, height)
I haven't changed my code for months and it's not clear to me what they are saying:
Modified ad code: Resizing Ad Frames?
Did anyone have any similar problems and know what the problem is exactly and how to solve it?
Thank you