Giter VIP home page Giter VIP logo

Comments (7)

gumaciel avatar gumaciel commented on September 2, 2024 2

The AdMob only works for Android and iOS, you need to download and install the plugins for the platforms.

Please check this video: https://www.youtube.com/watch?v=ZnlH3INcAGs

from godot-admob-plugin.

lucaleonardi avatar lucaleonardi commented on September 2, 2024

Thank you!

I missed the step about adding the android-standard-template-[version].zip content to the android/plugins folder and in fact I didn't had the option "Ad Mob" in the Android export. I think that it's missing for Godot version 3.5.2, so I had to downgrade to 3.5.1.

I'm still having issues tho: following the video with a blank new project works, but if I try to implement this on the game I'm working on, after I export the apk and run the Example scene I get:

Rewarded failed to load, error_code = 3
Rewarded Interstitial failed to load, error_code = 3
Interstitial failed to load, error_code = 3

What is error_code = 3? I read online that it may be caused by not setting the correct unit ID, but I left the default values (for example for Interstitial ads is ca-app-pub-3940256099942544/1033173712). What other options from the export settings could possible cause this issue? Is it possible that having the Keystore Release fields set create problems while using test unit IDs? But this should be prevented setting the option "Export with Debug" on "Export Project..." right?

from godot-admob-plugin.

gumaciel avatar gumaciel commented on September 2, 2024

Mobile Ads SDK Forum Advisor
With regard to your concern for error code 3, it means that the ad request was successful, but no ad was returned due to lack of ad inventory.

https://groups.google.com/g/google-admob-ads-sdk/c/1Q9rRNVAKYo#:~:text=Mobile%20Ads%20SDK%20Forum%20Advisor,-unread%2C&text=With%20regard%20to%20your%20concern,to%20lack%20of%20ad%20inventory.


This should not be a problem with your integration, it's a problem with AdMob server

Btw, are you using the sample APP ID to make the requests?

ca-app-pub-3940256099942544~3347511713

from godot-admob-plugin.

lucaleonardi avatar lucaleonardi commented on September 2, 2024

Yes, I'm using the APP ID you reported.

But how is the "ad inventory" involved while using testing unit IDs? The use of those IDs is deliberately for displaying test ads, which should not be provided by any ad inventory.

My concern is that, because the test project works, there could be something about my configuration that is wrong? It's basically the same, with the difference that I have the Keystore Release set, because the app is already on Google Play. What about the configuration in the AdMob Editor, should I modify something here?

from godot-admob-plugin.

gumaciel avatar gumaciel commented on September 2, 2024

The ad inventory is from AdMob server, they don't have some ads to display to you, as I can see, there's not wrong with your implementation or our plugin.

Please check if you are using UMP, if you are, click to consent, if you do not consent, the probability of not seeing an advertisement for you is greater

from godot-admob-plugin.

gumaciel avatar gumaciel commented on September 2, 2024

@lucaleonardi your problem still persist?

from godot-admob-plugin.

lucaleonardi avatar lucaleonardi commented on September 2, 2024

@gumaciel not anymore, thanks for checking. Apparently it was a temporary problem as you pointed out, because now the interstitial and the ads load correctly 👍

I close the issue, thanks.

from godot-admob-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.