Setting for users under the age of consent

116 views
Skip to first unread message

Game Games

unread,
Aug 9, 2025, 6:18:10 AM8/9/25
to Google Mobile Ads SDK Developers
Admob sdk support please answer my questions.
I use admob ump sdk and my application in google play is set with age for 18 years and the checkbox is set with the mark do not show the application to users under 18 years old.

My questions related to the settings for users from the European Union:
1) If I set .setTagForUnderAgeOfConsent(true) to true then UMP SDK will not ask for consent of the user under 18 years old and will not collect his data and show him ads?

2) Or do I need to set .setTagForUnderAgeOfConsent(RequestConfiguration.TAG_FOR_UNDER_AGE_OF_CONSENT_TRUE) and then UMP SDK will not ask for consent of the user under 18 years old and will not collect his data and show him ads?

2) Or do I need to set .setTagForUnderAgeOfConsent(RequestConfiguration.TAG_FOR_UNDER_AGE_OF_CONSENT_FALSE ) and then UMP SDK will not ask for consent from a user under 18 years of age and will not collect his data and show him ads?

3) What is the difference between .setTagForUnderAgeOfConsent(true) and .setTagForUnderAgeOfConsent(RequestConfiguration.TAG_FOR_UNDER_AGE_OF_CONSENT_FALSE ) ? And what do I need to set in order not to collect data from a user under 18 years of age and not show him ads?

Mobile Ads SDK Forum Advisor

unread,
Aug 12, 2025, 12:06:55 AM8/12/25
to forumi...@gmail.com, google-adm...@googlegroups.com

Hi,

Thank you for contacting the Mobile Ads SDK Support team.

Please find the responses to your queries below:

1) If I set .setTagForUnderAgeOfConsent(true) to true then UMP SDK will not ask for consent of the user under 18 years old and will not collect his data and show him ads?

Ans:  As per this Tag for under age of consent, set setTagForUnderAgeOfConsent (TFUA). When you set TFUA to true, the UMP SDK doesn't request consent from the user. If your app has a mixed audience, set this parameter for child users to ensure consent is not requested.

You can still get ads once setting setTagForUnderAgeOfConsent(true). See more details in https://support.google.com/admob/answer/6223431?hl=en .

2) Or do I need to set .setTagForUnderAgeOfConsent(RequestConfiguration.TAG_FOR_UNDER_AGE_OF_CONSENT_TRUE) and then UMP SDK will not ask for consent from a user under 18 years of age and will not collect his data and show him ads?

Ans: In your ad request configuration for MobileAds.getRequestConfiguration().toBuilder():

TAG_FOR_UNDER_AGE_OF_CONSENT_TRUE: Means the ad request should receive treatment for EEA users under the age of consent, this disables personalized ads and AAID transmission.

3) Or do I need to set .setTagForUnderAgeOfConsent(RequestConfiguration.TAG_FOR_UNDER_AGE_OF_CONSENT_FALSE ) and then UMP SDK will not ask for consent from a user under 18 years of age and will not collect his data and show him ads?

Ans: TAG_FOR_UNDER_AGE_OF_CONSENT_FALSE: Means the ad request is not flagged as for under-age-of-consent users. Personalized ads and AAID may be used unless otherwise restricted by other flags.

4) What is the difference between .setTagForUnderAgeOfConsent(true) and .setTagForUnderAgeOfConsent(RequestConfiguration.TAG_FOR_UNDER_AGE_OF_CONSENT_FALSE ) ? And what do I need to set in order not to collect data from a user under 18 years of age and not show him ads?

Ans: Referring to our Targeting documentation [Android | iOS], setting `tagForChildDirectedTreatment` to `true` prevents the transmission of AAID or IDFA and  prevents showing consent dialog for under-age users. Enables limited ads flow.

As per this documentation, Call setTagForUnderAgeOfConsent() with TAG_FOR_UNDER_AGE_OF_CONSENT_FALSE to indicate that you want the ad request to not receive treatment for users in the European Economic Area (EEA) under the age of consent.

I hope this helps, if you have any concerns, please reach out to us.

Thanks,
 
Google Logo Mobile Ads SDK Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-08-12 04:06:03Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01sye5l:ref" (ADR-00329339)



Game Games

unread,
Aug 14, 2025, 5:54:55 AM8/14/25
to Google Mobile Ads SDK Developers
Thank you for your reply, Admob SDK support please answer my new questions.
I want to add a clarification to the previous questions.
My application is installed in Google Play from 18 years old with the note do not show for users under 18 years old, but just in case I want to be on the safe side so that Admob does not collect data from users under 18 years old if they still download the application.

And here are my questions related to European users:
1) What do I need to install so that Admob does not collect user data from Europe under 18 years old and does not show the consent window, .setTagForUnderAgeOfConsent(true) or .setTagForUnderAgeOfConsent(RequestConfiguration.TAG_FOR_UNDER_AGE_OF_CONSENT_TRUE) ?

2) What is the difference between .setTagForUnderAgeOfConsent(true) and .setTagForUnderAgeOfConsent(RequestConfiguration.TAG_FOR_UNDER_AGE_OF_CONSENT_TRUE) ?

3) If my application is installed from the age of 18 and I install setTagForUnderAgeOfConsent(true) or .setTagForUnderAgeOfConsent(RequestConfiguration.TAG_FOR_UNDER_AGE_OF_CONSENT_TRUE) for safety, then this will not violate the rules of Google Play and my account or application will not be deleted?

вторник, 12 августа 2025 г. в 07:06:55 UTC+3, Mobile Ads SDK Forum Advisor:

Mobile Ads SDK Forum Advisor

unread,
Aug 14, 2025, 2:37:47 PM8/14/25
to forumi...@gmail.com, google-adm...@googlegroups.com

Hi,

Thank you for getting back to us. 

1) What do I need to install so that Admob does not collect user data from Europe under 18 years old and does not show the consent window, .setTagForUnderAgeOfConsent(true) or .setTagForUnderAgeOfConsent(RequestConfiguration.TAG_FOR_UNDER_AGE_OF_CONSENT_TRUE?

Ans: To ensure AdMob does not collect user data from users under the age of consent (typically 18 in Europe) and to prevent the consent message from showing, you need to use the setTagForUnderAgeOfConsent() method with TAG_FOR_UNDER_AGE_OF_CONSENT_TRUE. This also prevents the transmission of the Android advertising identifier (AAID)

2) What is the difference between .setTagForUnderAgeOfConsent(true) and .setTagForUnderAgeOfConsent(RequestConfiguration.TAG_FOR_UNDER_AGE_OF_CONSENT_TRUE?

Ans: setTagForUnderAgeOfConsent(true) is for the UMP SDK. When you set TFUA to true, the UMP SDK doesn't request consent from the user. If your app has a mixed audience, set this parameter for child users to ensure consent is not requested.

setTagForUnderAgeOfConsent(RequestConfiguration.TAG_FOR_UNDER_AGE_OF_CONSENT_TRUE) indicate that you want the ad request to receive treatment for users in the European Economic Area (EEA) under the age of consent. This also prevents the transmission of the Android advertising identifier (AAID). You use this to tell AdMob and its ad partners to treat the user as a minor and serve restricted, non-personalized ads.

3) If my application is installed from the age of 18 and I install setTagForUnderAgeOfConsent(true) or .setTagForUnderAgeOfConsent(RequestConfiguration.TAG_FOR_UNDER_AGE_OF_CONSENT_TRUE) for safety, then this will not violate the rules of Google Play and my account or application will not be deleted?

Ans: No, this will not violate Google Play or AdMob policies. As your app is rated 18+ on Google Play, the expectation is that your audience is adults. However, because a user can technically download and use an 18+ app even if they are younger, your extra safety measure is a responsible way to handle potential edge cases.

I hope this helps! Let me know if you have any other questions.


Thanks,
 
Google Logo Mobile Ads SDK Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5

[2025-08-14 18:36:53Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01sye5l:ref" (ADR-00329339)



Game Games

unread,
Aug 15, 2025, 7:27:31 AM8/15/25
to Google Mobile Ads SDK Developers

Thank you for your reply, admob sdk support please answer my additional questions.

Here are my questions:
1) As I understood from your previous reply, I need to add these two methods, setTagForUnderAgeOfConsent(true) to not show the GDPR consent window from Admob ump sdk for users under 18 from Europe and setTagForUnderAgeOfConsent(RequestConfiguration.TAG_FOR_UNDER_AGE_OF_CONSENT_TRUE) to not collect data and not show personalized ads for users under 18 from Europe. Did I understand everything correctly?

2) I installed setTagForUnderAgeOfConsent(true) and now I have stopped showing the GDPR consent window from Admob ump sdk at all, although I am logged into a Google account on my phone, in which the date of birth is set to 1991.
Here is how I set up the code:
ConsentRequestParameters params;
params = new ConsentRequestParameters.Builder().setTagForUnderAgeOfConsent(true) .build();
Why is the consent window no longer showing for me?

3) And I set RequestConfiguration.TAG_FOR_UNDER_AGE_OF_CONSENT_TRUE before initialization as you can see below, is that correct?

private void setupAds() {
RequestConfiguration requestConfiguration = new RequestConfiguration.Builder()
.setTagForUnderAgeOfConsent(RequestConfiguration.TAG_FOR_UNDER_AGE_OF_CONSENT_TRUE)
.build();
MobileAds.setRequestConfiguration(requestConfiguration);

MobileAds.initialize(this, new OnInitializationCompleteListener() {
четверг, 14 августа 2025 г. в 21:37:47 UTC+3, Mobile Ads SDK Forum Advisor:
Reply all
Reply to author
Forward
0 new messages