I made a simple app in Unity and I'm trying to implement an ad banner. So I installed Advertisement with Mediation package, linked my project with Unity dashboard through the project ID and created game IDs. Mediation window looks good and all the IDs are there, but in console mediation says that it failed to retrieve game id from Dashboard. Because of that I can't acces my Ad units in the editor and the Code generator doesn't work either.
The project is clearly linked to the Dashboard, where advertisement is set to Mediation and all the Ad units are there. Game IDs are displayed in the Mediation window in the editor and the project ID is displayed in the Services window.
enter image description here
I tried a lot of things. I watched a lot of instructional videos online and did everything right, but the message is still there. I relinked the project, made an empty test project, tried different versions of Unity. I've been playing with it the whole day yesterday but no luck.
Is there something I'm missing?
Related
I made a game and added ads that turn on with a separate button. Ads from unity ads. In the unity project, test ads work and turn on when needed. I found out that real advertising does not work when I posted it on Google Play and the testers had no advertising. Test mode disabled in: code, unity dashboard and servicesenter image description here
Make sure test mode is set to false in the Unity inspector as well. Not just in the code, because it is a serialise field.
I know this is so similar topic to others but I need help about that and I couldn't find any solution since 3 days. I found a guide for Unity Admob Ads and I applied it. It works on the project that I new created. But doesn't appear on my existed project, I checked all layers,cameras etc. but couldn't find any mistake.
I'll attach a video here, about what I exactly did (1.30 min);https://youtu.be/pLpQWHvYMDk
End of this video, I installed the apk to my device and ads doesn't appear.
My english is bad, sorry about that.
OK, I have a few theories.
First, Admob is based on auctions. Which means that they will sell your ads to the best bid. Your app is still in configuration phase to them and that is the reason that is not showing.
Second, if you are testing on the editor, ads will never show up. You have to test on your phone (not recommended to click on this ads, you can lose your account).
Third, I don't use admob but are you sure that everything is created and set properly on the admob dashboard? There is no "test mode" active?
I highly recommend using the official unity pluggin by google: https://github.com/googleads/googleads-mobile-unity
The docummentation is well-made and everything should work great.
I'm developing a game as a Chrome Packaged App and I want to use Google Play Games for the leaderboards, but it's turning into a little bit of a process.
I'm having trouble getting the Chrome Packaged App to authenticate with Google Play Games.
I've got most of it nailed down:
I've created a game in the Google Play Developer Console
I pretty quickly got everything working by uploading the game to my server and going to Linked Apps and creating a Web App entry. Leaderboards, achievements and everything works great.
I followed the All-The-Stars-JS example to get everything into the package so gapi.auth.authorize() can work within the packaged app... but using the call returns "OAuth2 request failed: Service responded with error: 'bad client id: NON_NATIVE'"
This makes sense-- the OAUTH2 Client ID from the Linked App manager is expecting a web app. There isn't a way to create a Linked App for the Chrome Packaged App so I created one using the Google API Console as the example suggested. This gets me authenticated!
Now, when I try to pull a list of leaderboards I get a response: "There is no linked app associated with this client ID."
Right, that makes sense because I created Client ID manually in the Google API Console and there's probably no "link" to Google Play Games... but I can't link it to the Google Play Games service manually, and there's no way to just link a Chrome Packaged App from the Google Play Developer Console. Am I missing something?? I've been chasing this issue for months!
Thanks in advance to anyone who can help!
#Brian I think you are doing everything correctly. Currently there is not a way (that I'm aware of) to link a Chrome packaged app to Play Game Services. The reason you are able to get authenticated but not see Leaderboards is that you created the Client ID through Google Developer Console, which does not create the necessary entries in the Games back-end.
I will report your experience to the Play Game Services team, maybe this is something we could support in the future.
I made an app for android with unity3d, and want to include chartboost into it. I imported the plugin for unity, and added an app as well as a campaign on chartboost. I also made sure that the signature and app name were put into the strings.xml file. When I tried running the demo scene, the buttons appeared, but when I tried to click them, nothing happens, not even a message in the console. What am I doing wrong?
Thanks for the help in advance!
Lagidigu
As far as I know, chartboost does not work in the editor. You will need to build to a device and use logcat to see the log messages. However their unity plugin seems to be in need of some fixing- in the meantime, email them at support#chartboost.com and they should send you a workaround .jar file that will get the ads showing in the demo.
See my answer to This Question for details about why the ads aren't showing up using the newest Chartboost unity plugin.
I think their plugin is broken because my other apps DO show ads, and i did nothing different except using their latest plugin, which also for me does not work.
Does anyone know of any good resources on the web to get the Prime31 Google Play Game Services Plug in to work with Unity3D?
Its been 3 days, I just don't seem to be making any progress testing Game Play Services in my game.
I am using the SHA1 from the ~/.android/debug.keystore - which I believe is the the right SHA1 that the unsigned version uses. I also tried using the published build in order to get the Game Center to come up.
I tried the Prime31 documentation, but that doesnt seems to be helping.
I also believe my app is correctly setup in the Game Service area of the Developer Console.
Any information would be great.
Thank you.
It turned out that after importing the game center package , I ended up with two manifest files. I had the Prime[31] AdMob already in the project, which comes with a manifest file.
By the way this is normal.
After talking to the their support service they directed me to use the "Generate AndroidManifest.xml file..." under their prime[31] drop down menu inside Unity3D. This merges the two files into a single manifest. That problem got solved.
I also had to upgrade to the latest files, by downloading them manually, from the Prime[31] web site.
After this two steps I was able to get the Game Center to work properly.
I hope it will help, I am posting my interaction with the Prime[31] support