I’m testing rewarded video on and android device (Samsung Galaxy Tab SM-T110) and before I’m showing the video I’m using admob.isLoaded to check if the video is ready, like this:
if admob.isLoaded(“rewardedVideo”) then
admob.show(“rewardedVideo”)
end
before this I have tested in a function also with admob.isLoaded(“rewardedVideo”) to change the button to active and allow the button to be touched to start the video.
When touching the button above code will get started BUT the video is not shown always. Sometimes the screen just stays the same.
Any idea, what can cause this? Shouldn’t a video always start when the admob.isLoaded(“rewardedVideo”) test is true?
Yes, a rewardedVideo should be displayed if isLoaded() returns true.
The plugin relies on the AdMob SDK to report the ad availability status and I’m not sure why isLoaded would return true if no ad is available for display.
I also encounter problems at scene change when the new upcoming scene is doing this:
if \_G.adson==true then -- now load and show banner and interstitial ads: if admob.isLoaded("banner")==true then -- show the banner admob.show( "banner",{y="top"} ) else -- try to load the banner now again: admob.load( "banner", { adUnitId=\_G.admobBannerID, childSafe=false } ) end -- now loading the interstitial ad: if admob.isLoaded("interstitial")==false then admob.load( "interstitial", { adUnitId=\_G.admobInterstitialID, childSafe=false } ) else admob.show("interstitial") end else ... end
I get a black screen (stuck in loading screen!) when doing this on an Android device (Galaxy Tab Model SM-T110).
But when I remove the line admob.show(“interstitial”) it is working and showing the new scene.
What can cause this strange behaviour? The scene seems to be working in the background right until the line admob.show(“interstitial”) is called.
AdMob does not serve test ads for Rewared Videos at the moment. Only live ads will have a fill.
However keep in mind that during plugin development it was also noticed that rewarded videos in general have a lower fill rate especially in non-US territories.
But I’m also testing with banner and interstitial ads and in the log I can see that the plugin init is reached and testmode for the device is working… but nothing can be seen.
Can you confirm that all events detailed in the documentation work for rewarded videos? We’re not seeing any events when we cancel the video using the cancel option admob provides.
Unfortunately there’s nothing we can do about it as this is how the AdMob SDK works internally.
You’ll need to take it up with AdMob directly if you’d like to see different behavior.