setChildDirected static method

Future<void> setChildDirected(
  1. bool directed
)

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.

As an app developer, you can indicate whether you want Google to treat your content as child-directed when you make an ad request. If you indicate that you want Google to treat your content as child-directed, we take steps to disable IBA and remarketing ads on that ad request.

Learn more

true = TAG_FOR_CHILD_DIRECTED_TREATMENT_TRUE
false = TAG_FOR_CHILD_DIRECTED_TREATMENT_FALSE
null = TAG_FOR_CHILD_DIRECTED_TREATMENT_UNSPECIFIED

Implementation

static Future<void> setChildDirected(bool directed) async {
  await _pluginChannel.invokeMethod('setChildDirected', {
    'directed': directed,
  });
}