HaxeExtension / extension-admob

OpenFL extension for "Google AdMob" on iOS and Android.
Other
58 stars 25 forks source link

Setting tagForChildDirectedTreatment(true) for COPPA Compliance #25

Closed Netforza closed 7 years ago

Netforza commented 8 years ago

Is it possible to tag the adverts for child-directed treatment. This is needed for COPPA Compliance in apps and games for kids?

Here is the explication how to do it in the sdk: https://firebase.google.com/docs/admob/android/targeting#child-directed_setting

fbricker commented 7 years ago

Done, version 1.6.4 released adding COPPA support.

        // if your app is for children and you want to enable the COPPA policy,
        // you need to call tagForChildDirectedTreatment(), before calling INIT.
        AdMob.tagForChildDirectedTreatment();