UMP to determine if user is in GDPR region OR Us Regulated State

226 views
Skip to first unread message

joe...@gmail.com

unread,
Feb 24, 2025, 11:27:02 AMFeb 24
to Google Mobile Ads SDK Developers

Using Google UMP, how do you determine if the user is in a US Regulated State OR GDPR?


My use-case is rather simple. I want to change the button text in the Settings screen for UMPConsentForm.presentPrivacyOptionsForm. This code, as you all know, will fire up either the US State form (if you have it set up in the Admob UI) OR GDPR form. Because of this, the button text should dynamically read either ‘Do Not Sell or Share My Personal Information’ OR ‘GDPR’.


Yes - A simple button text of 'Privacy Options' would be a decent 'catch all', but context-wise, it could greatly be improved if we can determine the regulatory region.


Thanks.


Mobile Ads SDK Forum Advisor

unread,
Feb 24, 2025, 5:54:15 PMFeb 24
to joe...@gmail.com, google-adm...@googlegroups.com

Hi,

Thank you for contacting the Mobile Ads SDK Support team.

It could be done via location apis and on that basis you can configure the text as pre your own choice. I’ve raised this feature to the wider team to check the feasibility.

I will keep you posted once I receive any update in this.

Thanks,
 
Google Logo Mobile Ads SDK Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-02-24 22:53:27Z GMT] This message is in relation to case "ref:!00D1U01174p.!5004Q02vH3d5:ref" (ADR-00289579)  



joe...@gmail.com

unread,
Feb 25, 2025, 10:41:02 AMFeb 25
to Google Mobile Ads SDK Developers
Thanks for checking. I do think location APIs are a bit too invasive for this though.. Requesting location for simple utility apps will bother users.

If this feature does not yet exist in the UMP SDK, I believe it will benefit both developers and users greatly.
Being able to determine if presentPrivacyOptionsForm is triggered from GDPR or US State Regulations will help to refine our UI/UX to give users MUCH more context.

joe...@gmail.com

unread,
Mar 4, 2025, 11:02:49 AMMar 4
to Google Mobile Ads SDK Developers
Hello there, Touching base to see if there was any new update regarding this inquiry about US State Regulations vs. GDPR and being able to determine it from the UMP SDK.

On Monday, February 24, 2025 at 5:54:15 PM UTC-5 Mobile Ads SDK Forum Advisor wrote:

Mobile Ads SDK Forum Advisor

unread,
Mar 4, 2025, 5:24:40 PMMar 4
to joe...@gmail.com, google-adm...@googlegroups.com

Hi,

This feature request is currently under investigation. For the time being, the best approach we have to this now is to use IABTCF_gdprApplies, something like:

  • if IABTCF_gdprApplies == 1 && consentInformation.getPrivacyOptionsRequirementStatus() == PrivacyOptionsRequirementStatus.REQUIRED), the form at the privacy options entrypoint is the GDPR form
  • else if consentInformation.getPrivacyOptionsRequirementStatus() == PrivacyOptionsRequirementStatus.REQUIRED), the form at the privacy options entrypoint is the US States form

IABTCF_gdprApplies is available as soon as requestInfoUpdate is called, so the you should have access to the value immediately.


Note: You can iterate IABTCF_gdprApplies values from userDefault.


Thanks,
 
Google Logo Mobile Ads SDK Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5

[2025-03-04 22:23:20Z GMT] This message is in relation to case "ref:!00D1U01174p.!5004Q02vH3d5:ref" (ADR-00289579)



Mobile Ads SDK Forum Advisor

unread,
Dec 2, 2025, 12:55:20 AM (yesterday) Dec 2
to google-adm...@googlegroups.com, joe...@gmail.com

Hi,

Please be advised that, in the short term, users requiring specific GDPR compliance can utilize the IABTCF_gdprApplies local storage key to ascertain a user's location within the EEA.


Thanks,
 
Google Logo Mobile Ads SDK Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5

[2025-12-02 05:54:17Z GMT] This message is in relation to case "ref:!00D1U01174p.!5004Q02vH3d5:ref" (ADR-00289579)



Reply all
Reply to author
Forward
0 new messages