Doubts about Reset consent state

924 views
Skip to first unread message

Gustavo Maciel

unread,
May 1, 2021, 9:57:36 AM5/1/21
to Google Mobile Ads SDK Developers
The part of Reset consent state is on Testing part of AdMob docs: https://developers.google.com/admob/ump/ios/quick-start#testing

[UMPConsentInformation.sharedInstance reset];

I have doubts if it is possible to use this reset while the application is in production, so that the user can select the consent again, which I would find very good, or is this method just for testing?

Thanks for you attention!

Gustavo Maciel

unread,
May 1, 2021, 9:31:22 PM5/1/21
to Google Mobile Ads SDK Developers
I also have more doubts:

1. To appear the UMP again the user needs to restart the app? Or we just can try to appear again the UMP?
2. If we can make the UMP appear again to get the GDPR consent, we need to initialize the AdMob again?
2. What's the difference between initialize the AdMob before and after get consent of user? And what's the best, initialize AdMob before or after get consent?
3. The function [UMPConsentInformation.sharedInstance reset]; is just for test or can be used on production?

Mobile Ads SDK Forum Advisor Prod

unread,
May 3, 2021, 1:19:37 AM5/3/21
to gusta...@gmail.com, google-adm...@googlegroups.com
Hi there,

Thank you for reaching out to us. Let me do the best I can to answer your inquiries.
  1. To appear the UMP again the user needs to restart the app? Or we just can try to appear again the UMP?
    • Yes, it is possible to reset the consent by resetting the consent state. This will work while testing and on Production app. However, could you share your use case details on why you want to do this? Are you giving your users an option to opt-out (do not consent) and offer an an alternative like buying a subscription? If so, the generation of an EU (GDPR) consent message in the UMP / FundingChoices backend is initiated with a selection for "Select the consent choices your users see" and it consists of two options, (1) Consent Manage option and (2) - Consent / Do not consent / Manage option. The second option (if you use case is the same as mentioned above) is mostly useful for people that want to offer an alternative to consenting, eg.: Buying a subscription. You can tweak the text of the Google UMP, so you could change 'do not consent' to 'Buy Ad-Free' or something similar.
  1. If we can make the UMP appear again to get the GDPR consent, we need to initialize the AdMob again?
    • No
  1. What's the difference between initialize the AdMob before and after get consent of user? And what's the best, initialize AdMob before or after get consent?
    • UMP is part of Mobile Ads SDK so you need to initialize AdMob first before getting consent.
  1. The function [UMPConsentInformation.sharedInstance reset]; is just for test or can be used on production?
    • Yes, the [UMPConsentInformation.sharedInstance reset]; will work on test and production app technically. However, we cannot confirm if this is permissible implementation on production. With this, we would recommend raising this to our Product Support team through here.
Regards,
Google Logo
Teejay Wennie Pimentel
Mobile Ads SDK Team
 


 

ref:_00D1U1174p._5004Q2GJDVd:ref

Gustavo Maciel

unread,
May 3, 2021, 10:24:41 AM5/3/21
to Google Mobile Ads SDK Developers
1. We want to change the GDPR consent easily, like having a button called GDPR in the settings of your game could show the original GDPR prompt when you first launch the game. Do you think this is possible?


    • UMP is part of Mobile Ads SDK so you need to initialize AdMob first before getting consent.
I read here is better to initialize the UMP before the AdMob initialize: https://stackoverflow.com/a/63232045 "in that case be sure to call it before MobileAds.initialize, so that no cookies are used."

This website: https://support.google.com/admob/community?hl=en doesn't work good, i already opened a Thread and nobody answer.

Mobile Ads SDK Forum Advisor Prod

unread,
May 3, 2021, 1:02:41 PM5/3/21
to gusta...@gmail.com, google-adm...@googlegroups.com
Hi Gustavo,

Thank you for adding your thoughts to this issue. First let me say that I check out the stackoverflow that you pointed to. And that particular case is no longer valid, as it uses the now depreciated EU consent. Which no longer meets the standards of the GDPR. So we would suggest to be certain, follow the current setup that we talk about here.

Also for the community help forum, it is a general help forum that is not always monitored by Google people and is where you can see if others have had the same issue as you.

As for the ability to change GDPR consent? We believe that this has already been setup as intended. The question would be what would this "GDPR" consent button do? 

Regards,
Google Logo
William Pescherine
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2GJDVd:ref

Gustavo Maciel

unread,
May 3, 2021, 3:15:57 PM5/3/21
to Google Mobile Ads SDK Developers
Thank you, i'm already using the new EU consent

> The question would be what would this "GDPR" consent button do? 

It will reset the UMP and them appear again to the user consent or not

Mobile Ads SDK Forum Advisor Prod

unread,
May 3, 2021, 4:47:27 PM5/3/21
to gusta...@gmail.com, google-adm...@googlegroups.com
Hi Gustavo,

Thank you for the response back. Glad to hear that you are using the current EU consent. As for the "GDPR" button feature? I would say it will not be done. As most people do not want to make it easier to "remove consent". Also as it is currently setup, it is easy for a user to go remove any consent previously given. So something that we are not even talking about at this moment.

Xioor

unread,
May 3, 2021, 11:56:27 PM5/3/21
to Google Mobile Ads SDK Developers
To be gdpr compliant, the user has to be able to change their consent easily. How can the user change the consent after you already selected an option on first launch?

Mobile Ads SDK Forum Advisor Prod

unread,
May 4, 2021, 3:06:08 AM5/4/21
to eric...@hotmail.com, google-adm...@googlegroups.com
Hi there,

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.
Regards,
Google Logo
Teejay Wennie Pimentel
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2GJDVd:ref
Reply all
Reply to author
Forward
0 new messages