setChildDirectedTreatment

fun setChildDirectedTreatment(treatment: Boolean)

To specify whether you would like your app to be treated as child-directed.

Parameters

treatment

TRUE is indicating the ad request should be treated as a child-directed ad.

When the treatment is TRUE, the Android Advertising ID (AAID) will not be queried from system to protect the children privacy. The default treatment is FALSE.