Comments (14)
So Teejay answered this:
There are 2 ways for you to revoke/reset the consent of your app's users.
- You may to request consent again to trigger the revocation of the previous consent. You may create a method for this, then put an option in your app settings section called 'modify consent' that will run the created method.
- You will need to set the UMPConsentStatus to UNKNOWN first or by resetting the consent by following this guide.
I will do this until the end of this week, I am currently working on a Plugin Editor that will replace admob_api: https://github.com/Poing-Studios/Godot-AdMob-Editor-Plugin
It is still in the pre-alpha phase, when i finish i will do that.
Thank you so much for helping the Plugin be better!
from godot-admob-android.
I think this is not possible, because from what I've researched, UMP needs to be started before MobileAds.initialize()
.
In that case be sure to call it before MobileAds.initialize, so that no cookies are used.
And we can't initialize the AdMob more than once
This needs to be done only once, ideally at app launch.
And the area when Reset content state
is in Testing
Probably the user will need to restart the game to this works, until he don't do that, the consent will not change.
But i will give a try to see if this can work, thank you for opening the Issue!
from godot-admob-android.
Yeah, i tested here and the user will need to restart the game to this works, when i reset the consent after being consented nothing happens until i restart the app.
I'm just afraid if this method is only for testing or it can also be for production, if the user wants to select another consent.
I created a conversation here on Google Mobile Ads SDK developers: https://groups.google.com/g/google-admob-ads-sdk/c/F_QHhhE5Qro if they say can be too for production, i will do that
from godot-admob-android.
Great thank you for looking into this! How can you tell that you needed to reset? Like how do you know the gdpr settings have been set to something else? Just curious. Also in previous games or api, that is what I did. I had a gdpr button in the settings, and then when you press it and change your preference, the screen becomes black and it says gdpr settings changed, please restart the app. It's not very user friendly, but it at least gives the user the ability to reset the settings. Maybe in the api comment you could say, "you need to restart the app for changes to take into effect". That way developers knows. The developers could then do what I do, or they could show a dismissible prompt saying "Gdpr settings changed, effect will take place once application is restarted" or something along those lines.
from godot-admob-android.
Also looks like I don't have permission to chat in the google conversation you have. Do you mind asking as well, just to make sure if the user needs to restart the application after they do UMPConsentInformation.sharedInstance reset?
from godot-admob-android.
Probably i wont need to restart the app, just try to call again the user consent, i will try again tomorrow.
We can know the GDPR settings have been set by the signal consent_status_changed(consent_status_message)
It can be four type of status: https://developers.google.com/admob/ump/android/quick-start#present_the_form_if_required
Today the User consent appear when the app starts, which i think it will be better due of this: https://stackoverflow.com/a/63232045, but i can make a option to: Appear the UMP when initialize the AdMob and also a function to try to appear the UMP, but to appear the UMP again we will need to reset the consent.
Also looks like I don't have permission to chat in the google conversation you have. Do you mind asking as well, just to make sure if the user needs to restart the application after they do UMPConsentInformation.sharedInstance reset?
To write on the conversation you need to participate to the group on the main page: https://groups.google.com/g/google-admob-ads-sdk, and yes, i can do that
from godot-admob-android.
hey @Xioor , they answered: https://groups.google.com/g/google-admob-ads-sdk/c/F_QHhhE5Qro
Also i created a thread here: https://support.google.com/admob/thread/108484133/the-function-umpconsentinformation-sharedinstance-reset-is-just-for-test-or-can-be-used-on-produc?hl=en
from godot-admob-android.
Great thank you so much! I also added a question in the link you posted above. Great work :)
from godot-admob-android.
Hey @Xioor i'm almost finishing, but i'm not able to test because AdMob send me this:
Your GDPR messages and settings in Funding Choices are being transferred to Ad Manager and AdMob. Messages targeting sites (not apps) with no recent traffic will be unpublished and may be republished in Ad Manager. We're also merging the vendors you've selected in the European Union Consent Messages in Funding Choices with the ad technology providers displayed on your Ad Manager or AdMob EU User Consent page. All self-use purposes are now defined at the account level. New users will see the combined list of vendors in their GDPR messages as soon as we complete the transfer. Review your ad technology vendors and providers before June 1st.
https://support.google.com/fundingchoices/answer/10648187
And they still don't finished this.
from godot-admob-android.
@Xioor I have just commited the changes, please try it out.
Probably won't work now for the reason of my message above of AdMob.
from godot-admob-android.
@gumaciel I am assuming after June 1st, you just need to wait for a message from them saying your funding choices are transferred? Thanks for the update!
from godot-admob-android.
@Xioor Yes, but they don't tell nothing yet, still not working the GDPR :(
from godot-admob-android.
@Xioor Hi, it's working for you? They still don't transfer the Funding Choices to AdMob for me
from godot-admob-android.
@Xioor I tested here on my Android device and seems to work everything fine
i invite you to test the new version of the Plugin, i just released the version:
Editor Plugin: v1.0.0
iOS Plugin: v2.0.0
Android Plugin: v2.0.0
Editor: https://github.com/Poing-Studios/godot-admob-editor/releases/tag/v1.0.0
Android: https://github.com/Poing-Studios/godot-admob-android/releases/tag/v2.0.0
iOS: https://github.com/Poing-Studios/godot-admob-ios/releases/tag/v2.0.0
I will close this issue, if this doesn't fix to you let us know.
from godot-admob-android.
Related Issues (20)
- 3.0.0 Plugin is failing HOT 6
- Native ads support HOT 1
- Application crashes after opening ads HOT 2
- Thanks HOT 1
- The device's advertising IDs are not transmitted or processed. HOT 5
- How to show consent form again? HOT 3
- An Error when i change the test App-ID in the manifest HOT 1
- Just question HOT 4
- Parse Error: Function "get_plugin_version()" not found in base self. HOT 2
- Update for godot 4.2.0 stable HOT 7
- Provide Custom Export Template HOT 2
- v2.1.6 crashing without error HOT 3
- Rewarded ads not working or delayed HOT 1
- impression level ad revenue HOT 2
- Ad compatibility problem with devices HOT 8
- Admob android plugin shows black screen when enabled on Android API level 30
- Families Policy Requirements HOT 2
- Admob android plugin shows black screen when enabled on Android API level 30 HOT 2
- [FEATURE] Verify a new release version every day to release a new build
- TOP Banner Ad position is leaving a wide gap HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from godot-admob-android.