Re: Admob ad sometimes appears squished in the left corner while using AdMob Mediation

256 views
Skip to first unread message

Rajkumar Parameswaran

unread,
Jul 13, 2012, 8:53:02 PM7/13/12
to google-adm...@googlegroups.com
Hey Brent,

I dont think its your placement code because the ad creative still looks like its taking up the full allotted space meaning your ad frame is probably ok. It might be bad creatives but I haven't seen these before.

Do you perhaps have a small sample project that you can send me offline that has this issue happening?

On Fri, Jul 13, 2012 at 12:12 AM, Brent Winters <fun2go...@gmail.com> wrote:
Hi!

We develop an app, in which we included AdMob mediation. We have iAd,AdMob and AdFonic networks supported right now.

We display ads in several places of the app, sometimes from the top, sometimes from the bottom. So we have custom code, which defines a frame of the ad, when it's displayed. To know real adSize, we use adView.mediatedAdView.frame.size property.

Almost every time all ads appear normally from all three networks, however sometimes AdMob ad appears squished in the left corner(although sometimes it appears normally). We checked it's frame on screen when it's bugging and it is ok.({{0, 0}, {768, 66}} to be precise). Are there any known issues with this, or probably we are missing something?

Here are the screenshot with correct and wrong behaviour: 

And here's out custom code to calculate frame, in which the ad should show:

    CGSize adSize = self.adView.mediatedAdView.frame.size;    

    showFrame = [self.viewController frameForShowingAd]; //here controller returns frame in which it would like an ad to be displayed, in our case - (0,0; 768,90)

    CGRect frame;

    frame.origin.x = (showFrame.size.width - adSize.width)/2; // here we center ad on screen

    frame.size.width = adSize.width;

    frame.size.height = adSize.height;

    showFrame = frame; 

And then 
         [UIView animateWithDuration:0.7

                         animations:     ^{                 self.adView.frame = showFrame;             } 

adView is our GADBannerView object.


Rajkumar Parameswaran

unread,
Jul 18, 2012, 5:20:26 PM7/18/12
to google-adm...@googlegroups.com
Hey Brent,

The second issue you're talking about (the band issue) sounds like expected behavior when you pass in a size that's similar to Smart Banners (look at the documentation about how the image will be centered and a filler will be placed here).

Is the ad that's squished always the same Battle Nations ad creative or does it differ? It may just be bad creatives that you're seeing. Can you grab a couple more screenshots of the squished ad and send it to me if they are different ads. That way I can try to track down those creatives on my 

I've ran the test app a couple of times but can't seem to get the squished ads to show. Are you seeing this issue with the ad that you get on the device as well as the simulator?

Raj

On Tue, Jul 17, 2012 at 4:35 AM, Brent Winters <fun2go...@gmail.com> wrote:
Update.
When i change requested ad size to use 768*90, like this:

 adView = [[GADBannerView alloc] initWithAdSize:GADAdSizeFromCGSize(CGSizeMake(768, 90))]; 

squished ad issue seems to disappear. However, there's textured band added in the left and right of the AdMob ads to compensate it's width. It is seen, when real width of the ad is not 768 but 728. 

What solution can be found here? Both behaviours do not seem right.


суббота, 14 июля 2012 г., 3:53:02 UTC+3 пользователь Raj Parameswaran написал:

Brent Winters

unread,
Jul 19, 2012, 2:49:26 AM7/19/12
to google-adm...@googlegroups.com
Raj,
It seems to be always Battle Nations ad due to another issue I reported yesterday... We always get an ad only from one provider on the iPad, i believe that is another issue that was found yesterday. We get squished ads both on the iPad, as well as the simulator, however simulator gets ads rarely, it often gets following error:

failed to receive ad with reason: Error Domain=com.google.ads Code=9 "Request Error: No ad to show from all configured ad networks."

And by the way simulator also seems to receive ads only from one provider.

Basically, band on the borders does look OK, we'll possibly leave it that way, however receiving ads from one provider only is a serious issue. Can you give some advice, what may be causing this problem? 

We don't have any filters set up for ads, network mediation is set up for Ad Size: Leaderboard - Typically 728x90 . 

Thank you in advance

четверг, 19 июля 2012 г., 0:20:26 UTC+3 пользователь Raj Parameswaran написал:
Hey Brent,

Rajkumar Parameswaran

unread,
Jul 19, 2012, 1:42:07 PM7/19/12
to google-adm...@googlegroups.com
I'm looking into the Battle Nations creative on our end to see if there's an issue with the actual creative. I'll ping this thread with anything we find.

For the issue of only seeing ads from one provider, how many networks are you mediating with? This sounds like it just may be an issue of inventory. Were you getting different leaderboard ads before?

--
 
 
 

Message has been deleted
Message has been deleted

Brent Winters

unread,
Jul 20, 2012, 2:31:37 AM7/20/12
to google-adm...@googlegroups.com
We are mediating with iAd, AdMob and AdFonic. No, we never received ads from other creatives on the iPad. It is ok with iAd, since it's testing mode is always on before App Store and probably OK with AdFonic - they have small number of ads. However AdMob should definitely have more then one. Maybe there's a way to contact you providing our mediation ID or publisher ID so you can check this issue?

четверг, 19 июля 2012 г., 20:42:07 UTC+3 пользователь Raj Parameswaran написал:

Rajkumar Parameswaran

unread,
Jul 20, 2012, 3:02:19 PM7/20/12
to google-adm...@googlegroups.com
Can you try the latest version of the SDK we released yesterday (6.1.1/2) and see if you're seeing the same issue?

--
 
 
 

Brent Winters

unread,
Jul 23, 2012, 6:27:35 AM7/23/12
to google-adm...@googlegroups.com
Raj,

I tried SDK 6.1.1, but unfortunately it didn't help. 

пятница, 20 июля 2012 г., 22:02:19 UTC+3 пользователь Raj Parameswaran написал:

Brent Winters

unread,
Jul 26, 2012, 3:33:44 AM7/26/12
to google-adm...@googlegroups.com
I created a new topic with this issue here, since it is not connected to squished ad problem 

Can you please close/delete current topic? The problem is solved for now.


понедельник, 23 июля 2012 г., 13:27:35 UTC+3 пользователь Brent Winters написал:
Reply all
Reply to author
Forward
0 new messages