The admob sdk isn’t initializing correctly and I can’t figure out what the issue is.
Ignore the code monstrosity to the right, it doesn’t relate to the ads
The admob sdk isn’t initializing correctly and I can’t figure out what the issue is.
Ignore the code monstrosity to the right, it doesn’t relate to the ads
You should use LoadAd
method which will load the rewarded ad first.
If ad is successfully loaded then AdLoaded
event will be invoked. Where you can use ShowAd
block.
The problem is you haven't called LoadAd method/block anywhere. So without ad loaded, you can't show it.
I am calling LoadAd on the right but that isn’t the problem.
the when sdkInitialized block isn’t running and so I am assuming the sdk isn’t working bc the popup isn’t showing up and the startGame function isnt being run ( I moved it there for testing purposes)
After posting this I realized that the “call initialization” block wasn’t connected.
I fixed it and It works perfectly. Thanks for the great tutorial.
If it's not fixed, can you provide your device details ?
please see above reply i changed screenshots please help me to fix it please
I am Reuploading My Problem
sorry,i think u see the latest one so i reuploaded, sorry
it shows
Please Help Me To Fix This Please
Thanks. It works
Actually I tested the app and it said it cannot load the url old admob and also the niotron extension is just sitting without any code.
You mean you are getting any error. Can you show the screenshot ?
If possible, you can also send or reply the aia.
I tried it for interstitial
The extension you created from niotron helps to add the app id in your app's manifest. Make sure you drag and drop that extension.
More :
Make sure :-
I did do that and I added the admob banner I'd but it's still not working. It works only when test mode is on. But it's just a test
If you've followed the steps correctly, your app should be published in one of the approved stores, such as Google PlayStore, to enable admob advertisements.
Look at #FAQs on the documentation