Admob test ads seem like real ads on iOS

304 views
Skip to first unread message

Simo Hämäläinen

unread,
May 29, 2019, 12:04:45 PM5/29/19
to Google Mobile Ads SDK Developers
When testing, the iOS ads we're getting do not appear similar to Android side test ads, but instead as real ads e.g. Holiday club ad and some other ads. Android shows test ads with similar setup and android ad unit id. Plugin initialisation is done with our own app id's. Devices have been added with AddTestDevice(). We haven't yet started testing mediation and the force test mode is off for Android and iOS (https://developers.google.com/admob/unity/mediation/unity)

If it's not a general issue, perhaps we should check what's really going on with https://developers.google.com/admob/ios/network-tracing 

We're using:

Unity3D LTS 2018.4.0f1
Unity Admob plugin V3.16 
GoogleMobileAdsMediationUnity iOS V3.0.0.3
Rewarded ads (new API), with test Ad Unit IDs: 
  ca-app-pub-3940256099942544/1712485313 (iOS)
  ca-app-pub-3940256099942544/5224354917 (Android)

Mobile Ads SDK Forum Advisor Prod

unread,
May 29, 2019, 4:22:33 PM5/29/19
to simo.ha...@nitrogames.fi, google-adm...@googlegroups.com
Hello there,

Thanks for reaching out to us. I don't see any issue with your Ad unit Ids when I tested with our sample apps , I was able to load ads without any issues. Can you please elaborate your issue clearly? If possible, please share a screen recording of the issue for us to take a look.

Please note that I have removed your Ad unit Ids, as you have posted them on public forum. Moving forward, please use "Reply Privately to Author" option to share sensitive details privately.


Regards,
Deepika Uragayala
Mobile Ads SDK Team
 

ref:_00D1U1174p._5001UAqz49:ref

Simo Hämäläinen

unread,
Jun 5, 2019, 5:00:23 AM6/5/19
to Google Mobile Ads SDK Developers
I managed to reproduce the issue with sample apps when using rewarded ads with default test ad unit ids on iOS. However I was also able to get the "Test ad" text visible when adding the test device to the request. Here's what I did:

- Created unity project, added Sample app and installed V3.16 admob plugin.
- Added GoogleMobileAdsSdkiOS-7.44.0 frameworks from the package to Assets/Plugins/iOS/ instead of using cocoapods
- Added our own iOS app id to initialization and plistprocessor.cs 
- Used the same a bundle id, name, version and xcode signing and provisioning as with our actual project
- Added -ObjC to Linker flags
- Added -APMAnalyticsDebugEnabled argument to Scheme as suggested by the log

At this point when building, I was able to get real ads on iOS (not test ad) with the default ad unit id set on the sample app.

After adding the test device id to the rewarded ad request, I was able to see the "test ad" text. I still think that the expected behaviour on iOS should be the same as with Android side, to show instead the standard test ad instead of real ads, when using test ad unit ids.

Video of one of the ads I already sent on my earlier private reply to this issue.

Regards,
Simo
Reply all
Reply to author
Forward
0 new messages