Rewarded video ads not showing up unity

3,237 views
Skip to first unread message

Sandeep M

unread,
Apr 29, 2017, 2:20:04 AM4/29/17
to Google Mobile Ads SDK Developers
I am using google mobile ads plugin and been using hello world example provided for testing.
Banner ads and interstial ads works fine while testing but rewarded video ads dont show up.

How do i get rewarded video ads to show up

Thanks

Chong Lip Phang

unread,
Apr 30, 2017, 1:26:29 AM4/30/17
to Google Mobile Ads SDK Developers
I encountered the same problem and was not able to solve the problem after weeks of trying. I ended up coding with the Chartboost SDK API directly.

Deepika Uragayala- MobileAds SDK team

unread,
May 1, 2017, 2:02:10 PM5/1/17
to Google Mobile Ads SDK Developers
Hi Sandeep/Chong

Can you send us your AdUnit ID  and Device logs to look into this issue and help you further? 

I would also suggest that you use our following test AdUnit IDs for Rewarded Videos until your app goes into production. 
  • iOS - ca-app-pub-3940256099942544/1712485313
  • Android - ca-app-pub-3940256099942544/5224354917
Regards,
Deepika Uragayala
Mobile Ads SDK Team

Marco Batista

unread,
May 3, 2017, 11:46:55 AM5/3/17
to Google Mobile Ads SDK Developers
It is also happening in my Android app.

I have video mediation with UnityAds and AdColony.
Sometimes the videos show up normally other times it simply doesn't.

AdUnit ID: 
ca-app-pub-9409917693965843/3933852411


This is the device logs from the app start until the crash (this crash is captured internally, this leaves the app frozen while waiting for the video that never shows):
D/FirebaseApp: com.google.firebase.auth.FirebaseAuth is not linked. Skipping initialization.
D/FirebaseApp: com.google.firebase.crash.FirebaseCrash is not linked. Skipping initialization.
I/FirebaseInitProvider: FirebaseApp initialization successful
D/DynamitePackage: Instantiated singleton DynamitePackage.
D/DynamitePackage: Instantiating com.google.android.gms.ads.ChimeraMobileAdsSettingManagerCreatorImpl
D/DynamitePackage: Instantiating com.google.android.gms.ads.reward.ChimeraRewardedVideoAdCreatorImpl
I/DynamiteModule: Considering local module com.google.android.gms.piccard.dynamite:0 and remote module com.google.android.gms.piccard.dynamite:12
I/DynamiteModule: Selected remote version of com.google.android.gms.piccard.dynamite, version >= 12
D/DynamitePackage: Instantiating com.google.android.gms.ads.ChimeraAdManagerCreatorImpl
I/Ads: Starting ad request.
I/Ads: Use AdRequest.Builder.addTestDevice("<DEVICE_ID>") to get test ads on this device.
I/Ads: Starting ad request.
I/Ads: Use AdRequest.Builder.addTestDevice("<DEVICE_ID>") to get test ads on this device.
W/art: Before Android 4.1, method double java.util.concurrent.ThreadLocalRandom.internalNextDouble(double, double) would have incorrectly overridden the package-private method in java.util.Random
W/art: Before Android 4.1, method int java.util.concurrent.ThreadLocalRandom.internalNextInt(int, int) would have incorrectly overridden the package-private method in java.util.Random
W/art: Before Android 4.1, method long java.util.concurrent.ThreadLocalRandom.internalNextLong(long, long) would have incorrectly overridden the package-private method in java.util.Random
W/Ads: Server parameters: {"gwhirl_share_location":"1","app_id":"<ADCOLONY_APP_ID>","zone_ids":"<ADCOLONY_ZONE_ID>"}
E/libEGL: validate_display:99 error 3008 (EGL_BAD_DISPLAY)
I/AdColony [INFO]: Configuring AdColony
W/Ads: Server parameters: {"gwhirl_share_location":"1","app_id":"<ADCOLONY_APP_ID>","zone_ids":"<ADCOLONY_ZONE_ID>"}
W/Ads: Server parameters: {"gameId":"<UNITYADS_ID>","gwhirl_share_location":"1","zoneId":"rewardedVideo"}
D/UnityAds: com.unity3d.ads.cache.CacheDirectory.getCacheDirectory() (line:35) :: Unity Ads is using external cache directory: /storage/emulated/0/Android/data/<APP_PACKAGE_NAME>/cache/UnityAdsCache
D/UnityAds: com.unity3d.ads.misc.Utilities.writeFile() (line:101) :: Wrote file: /storage/emulated/0/Android/data/<APP_PACKAGE_NAME>/cache/UnityAdsCache/UnityAdsStorage-public-data.json
D/UnityAds: com.unity3d.ads.device.Storage.sendEvent() (line:216) :: Couldn't send storage event to WebApp
D/UnityAds: com.unity3d.ads.UnityAds.initialize() (line:106) :: ENTERED METHOD
I/UnityAds: com.unity3d.ads.UnityAds.initialize() (line:145) :: Initializing Unity Ads 2.1.0 (2100) with game id <UNITYADS_ID> in production mode
I/UnityAds: com.unity3d.ads.UnityAds.initialize() (line:157) :: Unity Ads environment check OK
W/Ads: Server parameters: {"gameId":"<UNITYADS_ID>","gwhirl_share_location":"1","zoneId":"rewardedVideo"}
W/Ads: Server parameters: {"gwhirl_share_location":"1","pubid":"<ADMOB_ID>\/cak=no_cache&cadc=wb&caqid=yvcJWcCoA_SrzAbb4oXIBQ"}
W/Ads: Server parameters: {"gwhirl_share_location":"1","pubid":"<ADMOB_ID>\/cak=no_cache&cadc=wb&caqid=yvcJWcCoA_SrzAbb4oXIBQ"}
D/DynamitePackage: Instantiating com.google.android.gms.ads.ChimeraAdManagerCreatorImpl
I/Ads: Starting ad request.
I/Ads: Use AdRequest.Builder.addTestDevice("<DEVICE_ID>") to get test ads on this device.
I/UnityAds: com.unity3d.ads.configuration.InitializeThread$InitializeStateConfig.execute() (line:205) :: Unity Ads init: load configuration from https://config.unityads.unity3d.com/webview/2.1.0/release/config.json
I/UnityAds: com.unity3d.ads.configuration.InitializeThread$InitializeStateLoadCache.execute() (line:258) :: Unity Ads init: webapp loaded from local cache
D/AdColony [TRACE]: Requesting AdColony interstitial advertisement.
W/AdColony [WARNING]: Cannot configure AdColony; configuration mechanism requires 5 seconds between attempts.
I/Ads: Ad finished loading.
E/UnityAds: com.unity3d.ads.device.Device.isAppInstalled() (line:189) :: Couldn't find package: com.xiaomi.gamecenter: com.xiaomi.gamecenter
W/Ads: Loading already in progress, saving this object for future refreshes.
I/Ads: Starting ad request.
I/Ads: Use AdRequest.Builder.addTestDevice("<DEVICE_ID>") to get test ads on this device.
E/Ads: JS: Uncaught ReferenceError: onLoad is not defined (https://googleads.g.doubleclick.net/mads/gma?_activity_context=true&android_num_video_cache_tasks=0&caps=inlineVideo_interactiveVideo_mraid1_mraid2_sdkVideo_th_autoplay_mediation_av_transparentBackground_as_sdkAdmobApiForAds_di_aso_sfv_dinm_dim_nav_dinmo_gcache&eid=318475406%2C318477040%2C318476924%2C318478003&format=interstitial_mb&heap_free=3071804&heap_max=201326592&heap_total=14714252&js=afma-sdk-a-v10298440.10298000.2&msid=<APP_PACKAGE_NAME>&preqs=0&scroll_index=-1&seq_num=1&target_api=25#_activity_context=true&android_num_video_cache_tasks=0&caps=inlineVideo_interactiveVideo_mraid1_mraid2_sdkVideo_th_autoplay_mediation_av_transparentBackground_as_sdkAdmobApiForAds_di_aso_sfv_dinm_dim_nav_dinmo_gcache&eid=318475406%252C318477040%252C318476924%252C318478003&format=interstitial_mb&heap_free=3071804&heap_max=201326592&heap_total=14714252&js=afma-sdk-a-v10298440.10298000.2&msid=<APP_PACKAGE_NAME>&preqs=0&scroll_index=-1&seq_num=1&target_api=25:1)
I/chromium: [INFO:CONSOLE(1)] "Uncaught ReferenceError: onLoad is not defined", source: https://googleads.g.doubleclick.net/mads/gma?_activity_context=true&android_num_video_cache_tasks=0&caps=inlineVideo_interactiveVideo_mraid1_mraid2_sdkVideo_th_autoplay_mediation_av_transparentBackground_as_sdkAdmobApiForAds_di_aso_sfv_dinm_dim_nav_dinmo_gcache&eid=318475406%2C318477040%2C318476924%2C318478003&format=interstitial_mb&heap_free=3071804&heap_max=201326592&heap_total=14714252&js=afma-sdk-a-v10298440.10298000.2&msid=<APP_PACKAGE_NAME>&preqs=0&scroll_index=-1&seq_num=1&target_api=25#_activity_context=true&android_num_video_cache_tasks=0&caps=inlineVideo_interactiveVideo_mraid1_mraid2_sdkVideo_th_autoplay_mediation_av_transparentBackground_as_sdkAdmobApiForAds_di_aso_sfv_dinm_dim_nav_dinmo_gcache&eid=318475406%252C318477040%252C318476924%252C318478003&format=interstitial_mb&heap_free=3071804&heap_max=201326592&heap_total=14714252&js=afma-sdk-a-v10298440.10298000.2&msid=<APP_PACKAGE_NAME>&preqs=0&scroll_index=-1&seq_num=1&target_api=25 (1)
I/Ads: Ad finished loading.
I/UnityAds: com.unity3d.ads.api.Sdk.logInfo() (line:70) :: Unity Ads cache: Deleting 11 old files (10604.3291015625kB), keeping 56 cached files (50255.7158203125kB)
W/Ads: Server parameters: {"gwhirl_share_location":"1","app_id":"<ADCOLONY_APP_ID>","zone_ids":"<ADCOLONY_ZONE_ID>"}
W/AdColonyAdapter: Context must be of type Activity.
W/Ads: Server parameters: {"gwhirl_share_location":"1","pubid":"<ADMOB_ID>\/cak=no_cache&cadc=wl&caqid=zvcJWc2uIsGhbLDbs4AG"}
D/DynamitePackage: Instantiating com.google.android.gms.ads.ChimeraAdManagerCreatorImpl
D/AdColony [TRACE]: Requesting AdColony interstitial advertisement.
I/Ads: Starting ad request.
I/Ads: Use AdRequest.Builder.addTestDevice("<DEVICE_ID>") to get test ads on this device.
W/Ads: Server parameters: {"gameId":"<UNITYADS_ID>","gwhirl_share_location":"1","zoneId":"rewardedVideo"}
W/Ads: Server parameters: {"gameId":"<UNITYADS_ID>","gwhirl_share_location":"1","zoneId":"rewardedVideo"}
I/Ads: Ad finished loading.
I/UnityAds: com.unity3d.ads.api.Sdk.logInfo() (line:70) :: Requesting configuration from https://adserver.unityads.unity3d.com/games/<UNITYADS_ID>/configuration?bundleId=<APP_PACKAGE_NAME>&encrypted=false&rooted=false&platform=android&sdkVersion=2100&osVersion=7.1.2&deviceModel=Nexus%205X&language=pt_PT&test=false&gamerId=58eb57d782d65900fee5e075&deviceMake=LGE&advertisingTrackingId=710b4069-1280-4df1-b77e-8c46f8a3c8ff&limitAdTracking=false
I/Ads: Ad finished loading.
I/UnityAds: com.unity3d.ads.api.Sdk.logInfo() (line:70) :: Received configuration with 1 placements
I/UnityAds: com.unity3d.ads.api.Sdk.logInfo() (line:70) :: Requesting ad plan from https://adserver.unityads.unity3d.com/games/<UNITYADS_ID>/fill?advertisingTrackingId=710b4069-1280-4df1-b77e-8c46f8a3c8ff&limitAdTracking=false&deviceMake=LGE&deviceModel=Nexus%205X&platform=android&screenDensity=420&screenWidth=1080&screenHeight=1794&sdkVersion=2100&screenSize=268435794&stores=google&apiLevel=25&connectionType=wifi&networkType=13&gamerId=58eb57d782d65900fee5e075
I/UnityAds: com.unity3d.ads.api.Sdk.logInfo() (line:70) :: Unity Ads server returned game advertisement for AB Group 1
I/Ads: Ad finished loading.
I/Ads: Ad opening.
I/UnityAds: com.unity3d.ads.UnityAds.show() (line:301) :: Unity Ads opening new ad unit for placement rewardedVideo
I/UnityAds: com.unity3d.ads.api.Sdk.logInfo() (line:70) :: Opening performance ad unit with orientation 6, hardware acceleration enabled
W/System.err: java.lang.NullPointerException: Attempt to invoke virtual method 'android.os.IBinder android.view.View.getWindowToken()' on a null object reference
I/UnityAds: com.unity3d.ads.api.Sdk.logInfo() (line:70) :: Unity Ads event: sending start event to https://adserver.unityads.unity3d.com/mobile/gamers/58eb57d782d65900fee5e075/video/video_start/56604e65606b453a00be2593/<UNITYADS_ID>
I/UnityAds: com.unity3d.ads.api.Sdk.logInfo() (line:70) :: Unity Ads event: sending first_quartile event to https://adserver.unityads.unity3d.com/mobile/gamers/58eb57d782d65900fee5e075/video/first_quartile/56604e65606b453a00be2593/<UNITYADS_ID>
I/UnityAds: com.unity3d.ads.api.Sdk.logInfo() (line:70) :: Unity Ads event: sending midpoint event to https://adserver.unityads.unity3d.com/mobile/gamers/58eb57d782d65900fee5e075/video/midpoint/56604e65606b453a00be2593/<UNITYADS_ID>
I/UnityAds: com.unity3d.ads.api.Sdk.logInfo() (line:70) :: Unity Ads event: sending third_quartile event to https://adserver.unityads.unity3d.com/mobile/gamers/58eb57d782d65900fee5e075/video/third_quartile/56604e65606b453a00be2593/<UNITYADS_ID>
I/UnityAds: com.unity3d.ads.api.Sdk.logInfo() (line:70) :: Requesting ad plan from https://adserver.unityads.unity3d.com/games/<UNITYADS_ID>/fill?advertisingTrackingId=710b4069-1280-4df1-b77e-8c46f8a3c8ff&limitAdTracking=false&deviceMake=LGE&deviceModel=Nexus%205X&platform=android&screenDensity=420&screenWidth=1080&screenHeight=1794&sdkVersion=2100&screenSize=268435794&stores=google&apiLevel=25&connectionType=wifi&networkType=13&gamerId=58eb57d782d65900fee5e075
I/UnityAds: com.unity3d.ads.api.Sdk.logInfo() (line:70) :: Unity Ads event: sending view event to https://adserver.unityads.unity3d.com/mobile/gamers/58eb57d782d65900fee5e075/video/video_end/56604e65606b453a00be2593/<UNITYADS_ID>
I/UnityAds: com.unity3d.ads.api.Sdk.logInfo() (line:70) :: Unity Ads server returned no fill, no ads to show
I/UnityAds: com.unity3d.ads.api.Sdk.logInfo() (line:70) :: Unity Ads server returned no fill, no ads to show
I/Ads: Ad closing.
I/Ads: Starting ad request.
I/Ads: Use AdRequest.Builder.addTestDevice("<DEVICE_ID>") to get test ads on this device.
I/UnityAds: com.unity3d.ads.api.Sdk.logInfo() (line:70) :: Closing Unity Ads ad unit
W/Ads: Server parameters: {"gameId":"<UNITYADS_ID>","gwhirl_share_location":"1","zoneId":"rewardedVideo"}
W/Ads: Server parameters: {"gwhirl_share_location":"1","pubid":"<ADMOB_ID>\/cak=no_cache&cadc=wb&caqid=_vcJWequAomnzAa5gp_ICg"}
D/DynamitePackage: Instantiating com.google.android.gms.ads.ChimeraAdManagerCreatorImpl
I/Ads: Starting ad request.
I/Ads: Use AdRequest.Builder.addTestDevice("<DEVICE_ID>") to get test ads on this device.
W/Ads: Server parameters: {"gwhirl_share_location":"1","app_id":"<ADCOLONY_APP_ID>","zone_ids":"<ADCOLONY_ZONE_ID>"}
W/AdColonyAdapter: Context must be of type Activity.
D/AdColony [TRACE]: Requesting AdColony interstitial advertisement.
D/DynamitePackage: Instantiating com.google.android.gms.ads.ChimeraAdOverlayCreatorImpl
I/Ads: Ad opening.
I/Ads: Ad finished loading.
I/Ads: Ad finished loading.
I/Ads: Ad closing.
I/Ads: Starting ad request.
I/Ads: Use AdRequest.Builder.addTestDevice("<DEVICE_ID>") to get test ads on this device.
I/Ads: Ad finished loading.
W/Ads: Could not show rewarded video ad from adapter.
                                                                  java.lang.NullPointerException: Attempt to read from field 'com.google.android.gms.ads.internal.client.bq ip.a' on a null object reference
                                                                      at com.google.ads.mediation.a.g(:com.google.android.gms.DynamiteModulesA:17227)
                                                                      at com.google.android.gms.ads.internal.mediation.client.u.f(:com.google.android.gms.DynamiteModulesA:436)
                                                                      at com.google.android.gms.ads.internal.reward.b.a(:com.google.android.gms.DynamiteModulesA:1314)
                                                                      at com.google.android.gms.ads.internal.reward.client.e.onTransact(:com.google.android.gms.DynamiteModulesA:65)
                                                                      at android.os.Binder.transact(Binder.java:499)
                                                                      at com.google.android.gms.internal.zznu$zza$zza.show(Unknown Source)
                                                                      at com.google.android.gms.internal.zzoc.show(Unknown Source)
                                                                      at <APP_PACKAGE_NAME>.managers.ads.AdManager.showVideoAd(AdManager.java:161)
                                                                      at <APP_PACKAGE_NAME>.GameActivity$13.onClick(GameActivity.java:1157)
                                                                      at android.view.View.performClick(View.java:5637)
                                                                      at android.view.View$PerformClick.run(View.java:22429)
                                                                      at android.os.Handler.handleCallback(Handler.java:751)
                                                                      at android.os.Handler.dispatchMessage(Handler.java:95)
                                                                      at android.os.Looper.loop(Looper.java:154)
                                                                      at android.app.ActivityThread.main(ActivityThread.java:6121)
                                                                      at java.lang.reflect.Method.invoke(Native Method)
                                                                      at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
                                                                      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)
W/Ads: Could not call showVideo.
                                                                  android.os.RemoteException
                                                                      at com.google.android.gms.ads.internal.mediation.client.u.f(:com.google.android.gms.DynamiteModulesA:439)
                                                                      at com.google.android.gms.ads.internal.reward.b.a(:com.google.android.gms.DynamiteModulesA:1314)
                                                                      at com.google.android.gms.ads.internal.reward.client.e.onTransact(:com.google.android.gms.DynamiteModulesA:65)
                                                                      at android.os.Binder.transact(Binder.java:499)
                                                                      at com.google.android.gms.internal.zznu$zza$zza.show(Unknown Source)
                                                                      at com.google.android.gms.internal.zzoc.show(Unknown Source)
                                                                      at <APP_PACKAGE_NAME>.managers.ads.AdManager.showVideoAd(AdManager.java:161)
                                                                      at <APP_PACKAGE_NAME>.GameActivity$13.onClick(GameActivity.java:1157)
                                                                      at android.view.View.performClick(View.java:5637)
                                                                      at android.view.View$PerformClick.run(View.java:22429)
                                                                      at android.os.Handler.handleCallback(Handler.java:751)
                                                                      at android.os.Handler.dispatchMessage(Handler.java:95)
                                                                      at android.os.Looper.loop(Looper.java:154)
                                                                      at android.app.ActivityThread.main(ActivityThread.java:6121)
                                                                      at java.lang.reflect.Method.invoke(Native Method)
                                                                      at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
                                                                      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)

Deepika Uragayala- MobileAds SDK team

unread,
May 3, 2017, 3:31:45 PM5/3/17
to Google Mobile Ads SDK Developers
Hi Marco,

Can you provide us a sample app that reproduces this issue? Make sure that you are testing with the latest adapters and SDKs for both UnityAds and AdColony along with our Mobile Ads SDK and try again. 

Regards,
Deepika Uragayala
Mobile Ads SDK Team


Marco Batista

unread,
May 4, 2017, 7:01:02 AM5/4/17
to Google Mobile Ads SDK Developers
Hello Deepika,

I'm using the lastest versions of each SDK and Adapters, here is a sample project: https://drive.google.com/open?id=0BxbrCRxPEYy9TWVjQnNSZnNmd0E

Please note that:
* The crash doesn't happen consistently, it sometimes takes a couple of tries (show video ad) to happen.You'll probably have to watch/close a couple of AdMob/AdColony/Unity videos ads before it happens, or if you are lucky it'll happen on your first attempt :)
* I got the error on a couple of devices, but more often on a Google Nexus 7 with Android 6.0.1.
* I think it probably is related with a specific ad or group of ads.

Best regards,
Marco Batista

Deepika Uragayala- MobileAds SDK team

unread,
May 4, 2017, 3:51:50 PM5/4/17
to Google Mobile Ads SDK Developers
Hi Marco,

Thank you for the sample app. While I was unable to reproduce this issue, let me follow up on this and update you by tomorrow.

Regards,
Deepika Uragayala
Mobile Ads SDK Team

Marco Batista

unread,
May 8, 2017, 6:42:24 AM5/8/17
to Google Mobile Ads SDK Developers
Hello Deepika,

please let me know if you have an update on this.
We're currently in the midst of removing AdMob mediation from our apps, but will gladly add it back if this issue is resolved in the future.

Best regards,
Marco Batista

Deepika Uragayala- MobileAds SDK team

unread,
May 8, 2017, 12:38:57 PM5/8/17
to Google Mobile Ads SDK Developers
Hi Marco,

Our team is looking into this issue. I will update you as soon as I have any new information. 

Regards,
Deepika Uragayala
Mobile Ads SDK Team


Marco Batista

unread,
May 19, 2017, 4:30:27 AM5/19/17
to Google Mobile Ads SDK Developers
Hello Deepika,

I assumed the problem was with either Unity or AdColony, but it happens even if we only have AdMob enabled in the mediation.
We had the idea of implementing our mediation manager, and it works for Unity and AdColony reward ads, but when the mediation manager tries to show an AdMob Reward Video, then we get the same error that we got before.

05-19 09:02:07.423 15533-15533/<APP_PACKAGE> W/Ads: Could not show rewarded video ad from adapter.
                                                                  java.lang.NullPointerException: Attempt to read from field 'com.google.android.gms.ads.internal.client.br it.a' on a null object reference
                                                                      at com.google.ads.mediation.a.g(:com.google.android.gms.DynamiteModulesA:1235)
                                                                      at com.google.android.gms.ads.internal.mediation.client.u.f(:com.google.android.gms.DynamiteModulesA:448)
                                                                      at com.google.android.gms.ads.internal.reward.b.a(:com.google.android.gms.DynamiteModulesA:3027)
                                                                      at com.google.android.gms.ads.internal.reward.client.e.onTransact(:com.google.android.gms.DynamiteModulesA:65)
                                                                      at android.os.Binder.transact(Binder.java:604)
                                                                      at com.google.android.gms.internal.zznu$zza$zza.show(Unknown Source:18)
                                                                      at com.google.android.gms.internal.zzoc.show(Unknown Source:11)
                                                                      at <ADS_PACKAGE>.networks.WMAdMob.showRewardVideoWithDelegate(WMAdMob.java:164)
                                                                      at <ADS_PACKAGE>.WMAdManager.showRewardVideoWithDelegate(WMAdManager.java:340)
                                                                      at <APP_PACKAGE>.GameActivity$13.onClick(GameActivity.java:1159)
                                                                      at android.view.View.performClick(View.java:6141)
                                                                      at android.view.View$PerformClick.run(View.java:24278)
                                                                      at android.os.Handler.handleCallback(Handler.java:769)
                                                                      at android.os.Handler.dispatchMessage(Handler.java:98)
                                                                      at android.os.Looper.loop(Looper.java:164)
                                                                      at android.app.ActivityThread.main(ActivityThread.java:6535)
                                                                      at java.lang.reflect.Method.invoke(Native Method)
                                                                      at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
                                                                      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
05-19 09:02:07.426 15533-15533/<APP_PACKAGE> W/Ads: Could not call showVideo.
                                                                  android.os.RemoteException
                                                                      at com.google.android.gms.ads.internal.mediation.client.u.f(:com.google.android.gms.DynamiteModulesA:451)
                                                                      at com.google.android.gms.ads.internal.reward.b.a(:com.google.android.gms.DynamiteModulesA:3027)
                                                                      at com.google.android.gms.ads.internal.reward.client.e.onTransact(:com.google.android.gms.DynamiteModulesA:65)
                                                                      at android.os.Binder.transact(Binder.java:604)
                                                                      at com.google.android.gms.internal.zznu$zza$zza.show(Unknown Source:18)
                                                                      at com.google.android.gms.internal.zzoc.show(Unknown Source:11)
                                                                      at <ADS_PACKAGE>.networks.WMAdMob.showRewardVideoWithDelegate(WMAdMob.java:164)
                                                                      at <ADS_PACKAGE>.WMAdManager.showRewardVideoWithDelegate(WMAdManager.java:340)
                                                                      at <APP_PACKAGE>.GameActivity$13.onClick(GameActivity.java:1159)
                                                                      at android.view.View.performClick(View.java:6141)
                                                                      at android.view.View$PerformClick.run(View.java:24278)
                                                                      at android.os.Handler.handleCallback(Handler.java:769)
                                                                      at android.os.Handler.dispatchMessage(Handler.java:98)
                                                                      at android.os.Looper.loop(Looper.java:164)
                                                                      at android.app.ActivityThread.main(ActivityThread.java:6535)
                                                                      at java.lang.reflect.Method.invoke(Native Method)
                                                                      at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
                                                                      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)



Best regards,
Marco Batista

Deepika Uragayala- MobileAds SDK team

unread,
May 19, 2017, 3:21:59 PM5/19/17
to Google Mobile Ads SDK Developers
Hi Marco,

Thank you for getting back to us. While I was not been able to reproduce the issue, I have shared this with the team. We will update you when I receive any more information.

Regards,
Deepika Uragayala
Mobile Ads SDK Team


scrin...@gmail.com

unread,
May 26, 2017, 3:05:08 AM5/26/17
to Google Mobile Ads SDK Developers
Hello, i have the same issue as posted here, did you have any solution for this?

I use Unity3D game engine.
Bug throws not from first rewarded videos, only after 2-5 admob rewarded video. I check IsLoaded for rewarded ad before call show, but bug throws after i call show func.
I check different sdk, but no luck. I check Google Mobile Ads Unity Plugin v3.5.0, Google Mobile Ads Unity Plugin v3.4.0, Google Mobile Ads Unity Plugin v3.3.0.

My rewarded ads id: ca-app-pub-4337331064874302/8390703479

Here is my logs:
05-26 13:45:54.850: W/Ads(32440): Could not show rewarded video ad from adapter.
05-26 13:45:54.850: W/Ads(32440): java.lang.NullPointerException: Attempt to read from field 'com.google.android.gms.ads.internal.client.bq ip.a' on a null object reference
05-26 13:45:54.850: W/Ads(32440): at com.google.ads.mediation.a.g(:com.google.android.gms.DynamiteModulesA:17227)
05-26 13:45:54.850: W/Ads(32440): at com.google.android.gms.ads.internal.mediation.client.u.f(:com.google.android.gms.DynamiteModulesA:436)
05-26 13:45:54.850: W/Ads(32440): at com.google.android.gms.ads.internal.reward.b.a(:com.google.android.gms.DynamiteModulesA:1314)
05-26 13:45:54.850: W/Ads(32440): at com.google.android.gms.ads.internal.reward.client.e.onTransact(:com.google.android.gms.DynamiteModulesA:65)
05-26 13:45:54.850: W/Ads(32440): at android.os.Binder.transact(Binder.java:392)
05-26 13:45:54.850: W/Ads(32440): at com.google.android.gms.internal.zznu$zza$zza.show(Unknown Source)
05-26 13:45:54.850: W/Ads(32440): at com.google.android.gms.internal.zzoc.show(Unknown Source)
05-26 13:45:54.850: W/Ads(32440): at com.google.unity.ads.RewardBasedVideo$3.run(RewardBasedVideo.java:138)
05-26 13:45:54.850: W/Ads(32440): at android.os.Handler.handleCallback(Handler.java:815)
05-26 13:45:54.850: W/Ads(32440): at android.os.Handler.dispatchMessage(Handler.java:104)
05-26 13:45:54.850: W/Ads(32440): at android.os.Looper.loop(Looper.java:207)
05-26 13:45:54.850: W/Ads(32440): at android.app.ActivityThread.main(ActivityThread.java:5728)
05-26 13:45:54.850: W/Ads(32440): at java.lang.reflect.Method.invoke(Native Method)
05-26 13:45:54.850: W/Ads(32440): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
05-26 13:45:54.850: W/Ads(32440): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:679)
05-26 13:45:54.852: W/Ads(32440): Could not call showVideo.
05-26 13:45:54.852: W/Ads(32440): android.os.RemoteException
05-26 13:45:54.852: W/Ads(32440): at com.google.android.gms.ads.internal.mediation.client.u.f(:com.google.android.gms.DynamiteModulesA:439)
05-26 13:45:54.852: W/Ads(32440): at com.google.android.gms.ads.internal.reward.b.a(:com.google.android.gms.DynamiteModulesA:1314)
05-26 13:45:54.852: W/Ads(32440): at com.google.android.gms.ads.internal.reward.client.e.onTransact(:com.google.android.gms.DynamiteModulesA:65)
05-26 13:45:54.852: W/Ads(32440): at android.os.Binder.transact(Binder.java:392)
05-26 13:45:54.852: W/Ads(32440): at com.google.android.gms.internal.zznu$zza$zza.show(Unknown Source)
05-26 13:45:54.852: W/Ads(32440): at com.google.android.gms.internal.zzoc.show(Unknown Source)
05-26 13:45:54.852: W/Ads(32440): at com.google.unity.ads.RewardBasedVideo$3.run(RewardBasedVideo.java:138)
05-26 13:45:54.852: W/Ads(32440): at android.os.Handler.handleCallback(Handler.java:815)
05-26 13:45:54.852: W/Ads(32440): at android.os.Handler.dispatchMessage(Handler.java:104)
05-26 13:45:54.852: W/Ads(32440): at android.os.Looper.loop(Looper.java:207)
05-26 13:45:54.852: W/Ads(32440): at android.app.ActivityThread.main(ActivityThread.java:5728)
05-26 13:45:54.852: W/Ads(32440): at java.lang.reflect.Method.invoke(Native Method)
05-26 13:45:54.852: W/Ads(32440): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
05-26 13:45:54.852: W/Ads(32440): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:679)


суббота, 20 мая 2017 г., 2:21:59 UTC+7 пользователь Deepika Uragayala- MobileAds SDK team написал:

Deepika Uragayala- MobileAds SDK team

unread,
May 26, 2017, 1:07:12 PM5/26/17
to Google Mobile Ads SDK Developers
Hi,

Thanks for bringing this to our attention. Our team is aware of this issue and we will keep you posted if we have any new information.

Regards,
Deepika Uragayala
Mobile Ads SDK Team


Rongjian Du

unread,
May 31, 2017, 4:41:10 AM5/31/17
to Google Mobile Ads SDK Developers
i have the save question




在 2017年4月29日星期六 UTC+8下午2:20:04,Sandeep M写道:

Deepika Uragayala- MobileAds SDK team

unread,
May 31, 2017, 11:14:59 AM5/31/17
to Google Mobile Ads SDK Developers
Hi Everyone,

Can you confirm the SDK version that you are noticing this crash on?

Regards,
Deepika Uragayala
Mobile Ads SDK Team

Jérémy R

unread,
Jul 1, 2017, 12:51:42 PM7/1/17
to Google Mobile Ads SDK Developers
Hi,

I have the exact same issue with AdColony and rewarded video mediation.
My SDK versions are the latest ones:
- Google Play Services: 11.0.2
- AdColony: 3.1.2

Thanks for your support.

Joshua Lagonera (Mobile Ads SDK Team)

unread,
Jul 3, 2017, 2:01:10 AM7/3/17
to Google Mobile Ads SDK Developers
Hi Jeremy,

Thank you for providing additional information on this issue. However, can you send us the complete stack trace and/or any error logs from your end for us to determine if we are referring to the same issue as reported? Additionally, can you share with us the affected Ad Unit IDs? 

Regards,
Joshua Lagonera
Mobile Ads SDK Team

Jérémy R

unread,
Jul 3, 2017, 2:40:01 AM7/3/17
to Google Mobile Ads SDK Developers
The stack trace is exactly the same as in the first Marco Batista post and on this post: https://groups.google.com/forum/#!topic/google-admob-ads-sdk/d8OEsg-P7Oo
My Ad Unit ID is ca-app-pub-9432358016759323/4003392693
Please note that I disabled the mediation on it as it is currently used in production.

Joshua Lagonera (Mobile Ads SDK Team)

unread,
Jul 3, 2017, 3:53:30 AM7/3/17
to Google Mobile Ads SDK Developers
Hi Jeremy,

Thank you for clearing that out. I have shared this information with the rest of the team and I will update you all once I have any useful information.

Regards,
Joshua Lagonera
Mobile Ads SDK Team

Cem Catikkas

unread,
Aug 15, 2017, 5:29:37 AM8/15/17
to Google Mobile Ads SDK Developers
Hi Joshua,

Any updates about this issue. I have exactly the same issue.

Thanks, Cem Çatıkkaş

Joshua Lagonera (Mobile Ads SDK Team)

unread,
Aug 15, 2017, 6:11:31 AM8/15/17
to Google Mobile Ads SDK Developers
Hi Cem,

The team is still investigating the root cause of the issue. Rest assured that we will get back to this thread once we have any updates.

However, if you are able to share with us some useful information (such as Crash Logs, affected Ad Unit IDs, a sample project where the issue can be replicated, steps to reproduce, etc) then we can pass it along to the rest of the team and help expedite a solution to the issue.

Regards,
Joshua Lagonera
Mobile Ads SDK Team

avisio...@gmail.com

unread,
Aug 22, 2017, 2:16:18 AM8/22/17
to Google Mobile Ads SDK Developers
Hi,
I am facing the same issue. It only happens if I start the activity again and ad was previously loaded. In first time it works.

W/Ads: Could not show rewarded video ad from adapter.
                                                                  java.lang.NullPointerException
                                                                      at com.google.ads.mediation.AbstractAdViewAdapter.showVideo(:com.google.android.gms.DynamiteModulesA:228)
                                                                      at com.google.android.gms.ads.internal.mediation.client.u.f(:com.google.android.gms.DynamiteModulesA:193)
                                                                      at com.google.android.gms.ads.internal.reward.b.a(:com.google.android.gms.DynamiteModulesA:29)
                                                                      at com.google.android.gms.ads.internal.reward.client.e.onTransact(:com.google.android.gms.DynamiteModulesA:11)
                                                                      at android.os.Binder.transact(Binder.java:326)
                                                                      at com.google.android.gms.internal.zzee.zzb(Unknown Source)
                                                                      at com.google.android.gms.internal.zzadg.show(Unknown Source)
                                                                      at com.google.android.gms.internal.zzadr.show(Unknown Source)
                                                                      at com.example.app.Activity.ActivityTab.showRewardedVideo(ActivityTab.java:735)
                                                                      at  com.example.app.Activity.ActivityTab.access$600(ActivityTab.java:67)
                                                                      at  com.example.app.Activity.ActivityTab$5$3.onClick(ActivityTab.java:568)
                                                                      at android.view.View.performClick(View.java:4084)
                                                                      at android.view.View$PerformClick.run(View.java:16966)
                                                                      at android.os.Handler.handleCallback(Handler.java:615)
                                                                      at android.os.Handler.dispatchMessage(Handler.java:92)
                                                                      at android.os.Looper.loop(Looper.java:137)
                                                                      at android.app.ActivityThread.main(ActivityThread.java:4745)
                                                                      at java.lang.reflect.Method.invokeNative(Native Method)
                                                                      at java.lang.reflect.Method.invoke(Method.java:511)
                                                                      at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
                                                                      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
                                                                      at dalvik.system.NativeStart.main(Native Method)
08-22 05:51:50.247 9078-9078/ com.example.app W/Ads: Could not call showVideo.
                                                                  android.os.RemoteException
                                                                      at com.google.android.gms.ads.internal.mediation.client.u.f(:com.google.android.gms.DynamiteModulesA:197)
                                                                      at com.google.android.gms.ads.internal.reward.b.a(:com.google.android.gms.DynamiteModulesA:29)
                                                                      at com.google.android.gms.ads.internal.reward.client.e.onTransact(:com.google.android.gms.DynamiteModulesA:11)
                                                                      at android.os.Binder.transact(Binder.java:326)
                                                                      at com.google.android.gms.internal.zzee.zzb(Unknown Source)
                                                                      at com.google.android.gms.internal.zzadg.show(Unknown Source)
                                                                      at com.google.android.gms.internal.zzadr.show(Unknown Source)
                                                                      at  com.example.app.Activity.ActivityTab.showRewardedVideo(ActivityTab.java:735)
                                                                      at  com.example.app.Activity.ActivityTab.access$600(ActivityTab.java:67)
                                                                      at  com.example.app.Activity.ActivityTab$5$3.onClick(ActivityTab.java:568)
                                                                      at android.view.View.performClick(View.java:4084)
                                                                      at android.view.View$PerformClick.run(View.java:16966)
                                                                      at android.os.Handler.handleCallback(Handler.java:615)
                                                                      at android.os.Handler.dispatchMessage(Handler.java:92)
                                                                      at android.os.Looper.loop(Looper.java:137)
                                                                      at android.app.ActivityThread.main(ActivityThread.java:4745)
                                                                      at java.lang.reflect.Method.invokeNative(Native Method)
                                                                      at java.lang.reflect.Method.invoke(Method.java:511)
                                                                      at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
                                                                      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
                                                                      at dalvik.system.NativeStart.main(Native Method)
Reply all
Reply to author
Forward
0 new messages