How GDPR consent work?
lele25811 opened this issue · 4 comments
Godot Engine 3.5
AdMob Plugin version: 6.2.0
I can't get GDPR consent to work (already set on my application's admob, the ads works well), I found some tutorials on YouTube where they show that it works without showing if they change anything. If anyone can help me understand I would be grateful.
Did you create the GDPR message on admob site?
Did you create the GDPR message on admob site?
Yes, i did.
I don't understand how to make it work on godot engine.
Check the app log with adb logcat after you call request_consent_info_update() function(*). The Java code put some debug informations in godot log.
admob = Engine.get_singleton("GodotAdMob")
...
admob.initWithContentRating(
isReal,
children_directed,
is_personalized,
max_ad_content_rate
)
...
admob.requestConsentInfoUpdate(testing_consent)
(*) or requestConsentInfoUpdate if you're using the singleton directly.
Check the app log with adb logcat after you call request_consent_info_update() function(*). The Java code put some debug informations in godot log.
admob = Engine.get_singleton("GodotAdMob") ... admob.initWithContentRating( isReal, children_directed, is_personalized, max_ad_content_rate ) ... admob.requestConsentInfoUpdate(testing_consent)
(*) or requestConsentInfoUpdate if you're using the singleton directly.
thanks, I managed to solve it