Multiple Ads Showing At Once

22 views
Skip to first unread message

DeadStarCGS

unread,
Apr 23, 2014, 12:39:00 PM4/23/14
to google-adm...@googlegroups.com

I've been searching on and off for this one for weeks and can't find it anywhere.

I've create a game on both iOS and Android using the AdMob for Unity3D Plugin, but on the iOS version at random occassions I'll suddenly have 2 ads appear on the screen at once.

This happens whether I'm using the demo script or a custom script. I'm using Unity 4.3.4, Xcode 5.1.1 and the 6.8.0 version of the Admob iOS SDK.

I've been trying different fixes constantly to get it to work properly, but I just can't stop it from creating the second ad. The only idea I've got left is the deprecated ADBannerContentSizeIdentifier320x50 error Xcode is giving me. Can anyone confirm if this is on the right track or give me any clue as to what is causing this?

DeadStarCGS

unread,
Apr 24, 2014, 1:12:46 PM4/24/14
to google-adm...@googlegroups.com
So foolish me finally took a closer look at my Xcode debug and it appears that since I had the Ad script attached to an object on my first scene (which is my main menu), every time I'd go back around to this menu a new Ad banner would be create which would also call a new ad every 60 seconds.

Managed to resolve it by having the game object stay alive constantly and keep only one instance of itself.
Reply all
Reply to author
Forward
0 new messages