unity3d bannerView Example will not show after press the request banner btn of the example code.

582 views
Skip to first unread message

Zhao Ximing

unread,
Mar 7, 2017, 10:51:49 PM3/7/17
to Google Mobile Ads SDK Developers
Tested with the sample code of the unity-sdk and the bannerView ads will not poped up when pressing the request ads btn.
And here are the logcat output:

03-08 11:08:17.660: I/AdCheck(9581): APS: blockAdView: com.google.android.gms.ads.AdView{21b89ac5 G.E..... ......I. 0,0-0,0}
03-08 11:08:17.670: I/View(9581): ssignParent(ViewParent parent) parent is: android.view.ViewRootImpl@3058134b
03-08 11:08:17.690: W/GooglePlayServicesUtil(9581): Google Play Store is missing.
03-08 11:08:17.690: I/Ads(9581): Starting ad request.
03-08 11:08:17.690: I/Ads(9581): Use AdRequest.Builder.addTestDevice("3A8833D04E87BA8F9F036B390BBFA836") to get test ads on this device.
03-08 11:08:18.490: I/Ads(9581): Ad finished loading.
03-08 11:08:18.550: I/Unity(9581): args is :System.EventArgs
03-08 11:08:18.550: I/Unity(9581):  
03-08 11:08:18.550: I/Unity(9581): (Filename: ./artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
03-08 11:08:18.550: I/Unity(9581): show ads please!!!!!
03-08 11:08:18.550: I/Unity(9581):  
03-08 11:08:18.550: I/Unity(9581): (Filename: ./artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
03-08 11:08:18.550: I/AdCheck(9581): APS: blockAdView: com.google.android.gms.ads.AdView{21b89ac5 G.E..... ......ID 0,0-1080,150}
03-08 11:08:18.550: I/Ads(9581): Scheduling ad refresh 60000 milliseconds from now.
03-08 11:08:18.550: I/Unity(9581): HandleAdLoaded event received
03-08 11:08:18.550: I/Unity(9581):  
03-08 11:08:18.550: I/Unity(9581): (Filename: ./artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
03-08 11:08:27.130: I/Ads(9581): Ad is not visible. Not refreshing ad.
03-08 11:08:27.130: I/Ads(9581): Scheduling ad refresh 60000 milliseconds from now.
03-08 11:08:27.400: I/Ads(9581): Ad is not visible. Not refreshing ad.
03-08 11:08:27.400: I/Ads(9581): Scheduling ad refresh 60000 milliseconds from now.
03-08 11:08:52.870: I/Ads(9581): Ad is not visible. Not refreshing ad.
03-08 11:08:52.870: I/Ads(9581): Scheduling ad refresh 60000 milliseconds from now.
03-08 11:08:52.940: I/Ads(9581): Ad is not visible. Not refreshing ad.
03-08 11:08:52.940: I/Ads(9581): Scheduling ad refresh 60000 milliseconds from now.
03-08 11:08:54.430: I/HwPowerMonitor.PowerExceptionObservable(4137): unhandled onEvent actionID: 3002
03-08 11:08:54.430: I/HwSystemManager(4235): BgPowerManagerService:BgPowerManagerSerivce plugged =2 currentThreshold = 8 mRawLevel = 12mLastRawLevel12
03-08 11:08:54.430: I/HwSystemManager(4235): BgPowerManagerService: mTimes = 88908 firstTime = 666137 firstmBatteryCapacity =320
03-08 11:08:55.120: I/AudioPolicyManager(3045): isStreamActive() stream 3 inPastMs 0
03-08 11:08:56.040: I/System.out(5048): [CDS]rx timeout:30000
03-08 11:08:56.050: I/ActivityManager(3308): filter receiver for action = com.dianping.dpmtpush.REPORT_LOCATION
03-08 11:08:56.170: I/System.out(5048): [CDS]rx timeout:0
03-08 11:09:27.130: I/Ads(9581): Ad is not visible. Not refreshing ad.
03-08 11:09:27.130: I/Ads(9581): Scheduling ad refresh 60000 milliseconds from now.
03-08 11:09:27.400: I/Ads(9581): Ad is not visible. Not refreshing ad.
03-08 11:09:27.400: I/Ads(9581): Scheduling ad refresh 60000 milliseconds from now.
03-08 11:09:52.870: I/Ads(9581): Ad is not visible. Not refreshing ad.
03-08 11:09:52.870: I/Ads(9581): Scheduling ad refresh 60000 milliseconds from now.
03-08 11:09:52.940: I/Ads(9581): Ad is not visible. Not refreshing ad.
03-08 11:09:52.940: I/Ads(9581): Scheduling ad refresh 60000 milliseconds from now.
03-08 11:10:18.490: I/Ads(9581): Ad is not visible. Not refreshing ad.
03-08 11:10:18.490: I/Ads(9581): Scheduling ad refresh 60000 milliseconds from now.
03-08 11:10:18.550: I/Ads(9581): Ad is not visible. Not refreshing ad.
03-08 11:10:18.550: I/Ads(9581): Scheduling ad refresh 60000 milliseconds from now.
03-08 11:10:27.130: I/Ads(9581): Ad is not visible. Not refreshing ad.
03-08 11:10:27.130: I/Ads(9581): Scheduling ad refresh 60000 milliseconds from now.
03-08 11:10:27.400: I/Ads(9581): Ad is not visible. Not refreshing ad.
03-08 11:10:27.400: I/Ads(9581): Scheduling ad refresh 60000 milliseconds from now.

Zhao Ximing

unread,
Mar 7, 2017, 10:57:07 PM3/7/17
to Google Mobile Ads SDK Developers
FYI, I am using Unity/5.5.1f1 and  a Huawei P8 machine with Android/5.0.1 EMUI/3.1

Ivan Bautista (Mobile Ads SDK Team)

unread,
Mar 8, 2017, 1:25:55 AM3/8/17
to Google Mobile Ads SDK Developers
Hi Zhao,

This might be a device-specific issue as I was able to load ads in the sample app using a different device. Could you verify if you have any ad blockers or any Custom ROM installed in your device? Looking at the logs, particularly under the tag "AdCheck(9581)", it seems to be the case. Could you try testing the sample app with a different device?

Also to help us investigate further, could you provide us your Ad Unit ID/s in question?

Regards,
Ivan Bautista
Mobile Ads SDK Team

ximing

unread,
Mar 8, 2017, 2:20:21 AM3/8/17
to google-adm...@googlegroups.com
Hi Ivan,

Thanks for replying.

I have tested the same code on a Xiaomi HM1SW/Android 4.3, and things
worked fine, it seems that it is true that there may be some Adblock
mechanism on the phone.

The device which has the issue was a HuaWei P8 device and I haven't
found any AdBlock app on the phone, but after googling with the
specific device model I found some developers meet with the same issue
with this model
[https://github.com/googleads/googleads-mobile-unity/issues/230]

Since this line of the log:

I/AdCheck(9581): APS: blockAdView: com.google.android.gms.ads.AdView

indict that the progress print this line has the same PID of the Unity
app, should it be an SDK or something?

Thanks again for pointing out which aspect should I check.


2017-03-08 14:25 GMT+08:00 'Ivan Bautista (Mobile Ads SDK Team)' via
Google Mobile Ads SDK Developers
<google-adm...@googlegroups.com>:
> --
>
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "Google Mobile Ads SDK Developers" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/google-admob-ads-sdk/t0nNOq3wTGg/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> google-admob-ads...@googlegroups.com.
> To post to this group, send email to google-adm...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Ivan Bautista (Mobile Ads SDK Team)

unread,
Mar 8, 2017, 4:11:07 AM3/8/17
to Google Mobile Ads SDK Developers
Hello Zhao,

Are you asking whether the log "AdCheck.." was thrown from the Google Mobile Ads Unity plugin? If that is your question, then it would be best if you redirect your concern to this Github issue that you've mentioned earlier.

ximing

unread,
Mar 8, 2017, 5:24:32 AM3/8/17
to google-adm...@googlegroups.com
Hi Ivan,

Thanks for reply

For Your Information, I have just reset the Huawei P8 device to the
Factory Reset Mode which I think should prevent any AdBlock stuff. But
things still the same(AdCheck message still shows in the logcat and
ads still not showing).

So I think this maybe this is an issue that the develop team should
pay attention to.

Will reopen that issue and add my concern.

Thanks again.

2017-03-08 17:11 GMT+08:00 'Ivan Bautista (Mobile Ads SDK Team)' via
Google Mobile Ads SDK Developers
<google-adm...@googlegroups.com>:
Reply all
Reply to author
Forward
0 new messages