vungle.updateCCPAStatus()

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

Overview

In accordance with CCPA, the consent status is opted in by default unless updateCCPAStatus has been explicitly called to set it as opted out. getCCPAStatus may return null if not set but will be treated as opted-in.

Syntax

vungle.updateCCPAStatus( hasCCPAConsent )
hasCCPAConsent (required)

Boolean. true to opt-in, false to opt-out (no consent).

Example

vungle.updateCCPAStatus( true )