- Home /
the name admob does not exist in the current context.
i was implementing the admob services in my game the this error shows can any one plzz help me...
Answer by Senuska · Aug 10, 2017 at 02:35 PM
You need to change your using statement to this:
using GoogleMobileAds;
using GoogleMobileAds.Api;
Answer by FerdinandBuagas · Oct 21, 2017 at 04:52 AM
Anyone has fixed on this?
I'm also facing the same issue.
Have you gone to https://github.com/googleads/googleads-mobile-unity/releases and imported the .unitypackage yet? If so, I believe Senuska's answer above is correct. Check the package to see what the namespace they use if it's not Google$$anonymous$$obileAds and Google$$anonymous$$obileAds.Api.
Hello @breban1 so does this mean, after installing this: https://github.com/unity-plugins/Unity-Admob#quick-start
I still have to install also the latest version on this link? https://github.com/googleads/googleads-mobile-unity/releases
and use this one?
using Google$$anonymous$$obileAds; using Google$$anonymous$$obileAds.Api;
Thank you :)
I believe this link is the latest official guide to installing Ad$$anonymous$$ob. That page was "Last updated October 13, 2017". https://developers.google.com/admob/unity/start
I would start there.
Already Tried it Breban but it seems i'm having trouble with it.
Do you have any idea what seems the issue on this thread? link text
it's been 2 weeks now :(
I am using this link : https://developers.google.com/admob/unity/start
But I still have trouble showing the ads on real device. Unless, I enable the development build.
If development build Enabled the ads will show up.
But I think enabling the Development build when building the final AP$$anonymous$$ is wrong? I'm not sure. (sorry i'm new in unity).
That's why i'm trying my luck on following this tutorial. https://www.youtube.com/watch?v=khlROw-PfNE
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Parsing Error, code in android for a button 2 Answers
UNITY_MVP_MATRIX error when downloading A* Pathfinding 1 Answer