Skip to content

Privacy

If your application is targeting minors (exclusively or not), you need to comply with the requirements established by Google Play’s Families Policy.

To facilitate the compliance of these policies, the SDK lets you specify if the ad requests are targeted to minors, in addition to the ability to set the maximum content rating.

It is very important to comply with these requirements, and carefully review the related policies, to avoid any issues with Google Play.

To specify if a user is a minor or not, you need to include the following code before initializing the SDK:

// true -> The user is a minor or the age is unknown
// false -> The user is an adult
AdSettings.setChildDirected(context, true)

If the user age is unknown, the app must treat that user as if they were a minor.

To specify the maximum content rating, the following code must be added before initializing the SDK:

AdSettings.setMaxAdContentRating(context, AdContentRating.G)

The following values are available when specifying the content rating:

ValueDescription
AdContentRating.GContent suitable for minors
AdContentRating.PGContent suitable for most audiences with parental guidance
AdContentRating.TContent suitable for teens
AdContentRating.MAContent suitable only for adults

If you app is directed to children, exclusively or not, you need to remove the Facebook adapter that is included in our SDK due to not being certified by Google Play yet for its use with children.

To do this, you need to modify the SDK integration in the build.gradle file to specify the exclusion of the adapter, as shown below:

implementation('com.wortise:android-sdk:x.y.z') {
exclude group: 'com.google.ads.mediation', module: 'facebook'
}