RequestConfiguration.Builder adRequestBuilder = MobileAds.getRequestConfiguration().toBuilder();
adRequestBuilder.setMaxAdContentRating(MAX_AD_CONTENT_RATING_G)
RequestConfiguration requestConfiguration = adRequestBuilder.build();
MobileAds.setRequestConfiguration(requestConfiguration);
MobileAds.initialize(this,'app_id');
And then the age will be used and adRequestBuilder.setMaxAdContentRating will be set to MA, T, PG, G based on the age of the user
if(age >= 18){
adRequestBuilder.setMaxAdContentRating(MAX_AD_CONTENT_RATING_MA);
}
else if(age >= 12){
adRequestBuilder.setMaxAdContentRating(MAX_AD_CONTENT_RATING_T);
}
else if(age >= 7){
adRequestBuilder.setMaxAdContentRating(MAX_AD_CONTENT_RATING_PG);
}
else{
adRequestBuilder.setMaxAdContentRating(MAX_AD_CONTENT_RATING_G);
}
5. What's the difference of setting the max content ratings as above and using the following method
Bundle extras = new Bundle();
extras.putString("max_ad_content_rating", "G");6. What' are the other requirements I need to implement to comply with Google play / Admob policies? - (To have an app targeted for all ages and serve ads based on the user age)
7. Do I also need to use setTagForChildDirectedTreatment or / and setTagForUnderAgeOfConsent? if so how to do that based on the user age?
8. Again whats the difference of doing the above in requestConfiguration or setting up in Bundle extras.
Call setTagForChildDirectedTreatment with TAG_FOR_CHILD_DIRECTED_TREATMENT_TRUE to indicate that you want your content treated as child-directed for purposes of COPPA.
Call setTagForChildDirectedTreatment with TAG_FOR_CHILD_DIRECTED_TREATMENT_FALSE to indicate that you don't want your content treated as child-directed for purposes of COPPA.
Call setTagForChildDirectedTreatment with TAG_FOR_CHILD_DIRECTED_TREATMENT_UNSPECIFIED if you don't want to indicate how you would like your content treated with respect to COPPA in ad requests.
is it setTagForChildDirectedTreatment TAG_FOR_CHILD_DIRECTED_TREATMENT_FALSE or TAG_FOR_CHILD_DIRECTED_TREATMENT_UNSPECIFIEDOr ignore that method completely in my code?
For purposes of the Children's Online Privacy Protection Act (COPPA), there is a setting called "tag for child-directed treatment". By setting this tag, you certify that this notification is accurate and you are authorized to act on behalf of the owner of the app. You understand that abuse of this setting may result in termination of your Google account.
What does it mean by abuse of this setting?
Hi Sachith,
Apologies for the back and forth. I'm Ziv, Deepika's colleague, and I'll be assisting you on this one since Deepika's currently out-of-office.
Kindly note that we are unable to comment on any policy or legal-related concern, outside of the available help pages. To that end, do note that tagging ad requests for child-directed treatment will fall into a more law-related domain, and thus we would be unable to provide insights on this.
For users above the age of 13, I would suggest that you setTagForChildDirectedTreatment as TAG_FOR_CHILD_DIRECTED_TREATMENT_FALSE, in order to be consistent with your app's conformity to COPPA.
As for "abusing the child-directed setting": I'm afraid that this is still strictly a policy-related concern, and I and the rest of the SDK team will be unable to provide insights on this. I would recommend posting this concern once more on the AdMob Help Center for further assistance; you may want to reiterate there that you're looking for the details on the policy side of that particular statement.
Regards,
Ziv Yves Sanchez