vungle.updateCOPPAStatus()

Type Function
Return value none
Revision Release 2024.3703
Keywords ads, advertising, Vungle, COPPA
See also vungle.init()
vungle.*

Overview

The SDK COPPA API must be called before calling the init method.

Use this call to set the isUserCoppa parameter to true for a user who is under the age of 13 and falls under COPPA regulations; false for a user known to be over the age of 13.

Syntax

vungle.updateCOPPAStatus( isUserCoppa )
isUserCoppa (required)

Boolean. true for a user who is under the age of 13 and falls under COPPA regulations

Example

vungle.updateCOPPAStatus( true )
vungle.init( appID, adListener )