PublisherAdView height wrap_content not working

184 views
Skip to first unread message

fmt

unread,
Dec 26, 2014, 4:03:28 AM12/26/14
to google-adm...@googlegroups.com
Hi,
I have 320x50 and 320x100 ad sizes for same PublisherAdView.
Sometimes It is not displaying all content of ads.
I have setup height of adView to wrap_content but all content not displaying.


In brief, PublisherAdView's height wrap_content not working properly.
I have attached screen shoots, correct and wrong for same PublisherAdView.




correct_ad_wrap_content.png
wrong_ad_wrap_content.png

Amy Quispe (AdMob SDK Team)

unread,
Dec 26, 2014, 8:51:33 PM12/26/14
to google-adm...@googlegroups.com
Hi there,

Are you sure the problem is with wrap_content? Does the PublisherAdView consistently display correctly/incorrectly for one of the ad sizes?

Amy Quispe

fmt

unread,
Dec 29, 2014, 2:01:51 AM12/29/14
to google-adm...@googlegroups.com
Hi Amy,

Actually I have tried same Ad Unit on iOS for same ad sizes but its result is same.
It is not displaying correctly on iOS too.

If I request only for one ad size it works correctly.

I have researched on this group an I have found people suffers from  this issue.
I realized  that SDK's "adView:willChangeAdSizeTo:" method returns wrong ad sizes.
Some time this method returns 300x250 ad size but it loads and shows 320x50 ad size.

I have found below link about this issue:

And another reason may be DFP configuration for this ad unit.

I am using v6.12.2 SDK (last version).

Thanks.
Fatih



27 Aralık 2014 Cumartesi 03:51:33 UTC+2 tarihinde Amy Quispe (AdMob SDK Team) yazdı:

Amy Quispe (AdMob SDK Team)

unread,
Dec 30, 2014, 7:19:52 PM12/30/14
to google-adm...@googlegroups.com
Hi fmt,

It looks like it might be a problem with the DFP configuration. Is this the email address associated with your DFP account?

Amy Quispe
Message has been deleted

fmt

unread,
Dec 31, 2014, 3:03:13 AM12/31/14
to google-adm...@googlegroups.com
Hi Amy,
Yes, my email address associated with our DFP account.

31 Aralık 2014 Çarşamba 02:19:52 UTC+2 tarihinde Amy Quispe (AdMob SDK Team) yazdı:

Eric Leichtenschlag (Mobile Ads SDK Team)

unread,
Jan 6, 2015, 5:23:38 PM1/6/15
to google-adm...@googlegroups.com
Hi fmt,

This bug when using multiple ad size requests and mediation through DFP is still open. We should hopefully have a fix by the next release.

In the meantime, the workaround is to either revert to an SDK before 6.11.1, or to not use multiple ad sized requests and create a new GADBannerView if you need to show a different sized request.

Thanks,
Eric
Reply all
Reply to author
Forward
0 new messages