what's the size of banner ad?

192 views
Skip to first unread message

Wang Changzhi

unread,
Sep 9, 2011, 3:59:25 AM9/9/11
to google-adm...@googlegroups.com
Hi guys,

What's the view size of banner mode adview?
Does it auto fill to the target size as I set in layout.xml?

I am using "
android:layout_width="320dip"
android:layout_height="52dip"  "

Is it ok?

Thanks in advance!

--
Changzhi

SPA Support

unread,
Sep 9, 2011, 9:54:30 AM9/9/11
to google-adm...@googlegroups.com
According to this:

http://helpcenter.admob.com/content/common-publisher-terms

The Term "Banner" adheres to MMA's standard of 300 x 50; but it's 320
x 50 which makes sense.

So, it looks like you might have a couple spare pixels in your height.
Generally, you can use "wrap_content" unless you need more control of
the space.

-Jim

--
Thanks,
SPA Support

rays

unread,
Nov 28, 2011, 1:34:14 AM11/28/11
to google-adm...@googlegroups.com
Hi,

I am using AdMob SDK 4.1.1 . I have set  adSize  to BANNER.

When i make a ad request to from my htc phone i am getting below message "No space to show ads required 480x75 but available 480x50" though 320x50 is the minimum space required to show ad. 

Thanks & Regards,
rays


Eric Leichtenschlag

unread,
Nov 28, 2011, 12:38:07 PM11/28/11
to google-adm...@googlegroups.com
Hello rays,

The "320x50" specification of BANNER is in density pixels (dp), not simply pixels.  Your htc phone is likely a high density device, meaning the 320x50dp size is really 480x75 on your phone.  Without seeing any code, my guess is that you have some margins or padding on your AdView or your base layout that is preventing the AdView from being able to stretch the entire screen.  Try removing any such padding and see if you have enough space.

Cheers,
Eric, Mobile Ads Developer Relations Team

Rahul R

unread,
Oct 24, 2013, 4:38:14 AM10/24/13
to google-adm...@googlegroups.com
integrated Ad mob SDK.in my application having a custom grid view and loading the ad in the 3rd position of the grid view if its normal ad ,if its large ad combined the 3 and 7 grid cell ad showing the ad.its work fine for me in 10 inch tablet but in case of the 7 or 8 inch tablet i am getting an error like Not enough space to show ad! Wants: <300, 250>, Has: <240, 201> i using the latest Admob SDK i tried to re size the adview but not working for me i need the ad size like (300,250)in large ad(and 300,600). please suggest a solution.




Thanks
Rahul R
Reply all
Reply to author
Forward
0 new messages