Skip to main content

Privacy

info

Global Privacy Policy is supported starting from NAM SDK version 6.1.0.

GFPPrivacySetting

GFPPrivacySetting is an API added to support privacy-related policies (e.g., GDPR, COPPA).

  • underAgeOfConsent
    • Indicates whether ad requests are made for users who are not adults.
  • childDirected
    • Indicates whether the page or app should be treated as a child-directed service under the Children's Online Privacy Protection Act (COPPA).
let privacySetting = GFPPrivacySetting(underAgeOfConsent: false, childDirected: false)

privacySetting.underAgeOfConsent = true
privacySetting.childDirected = true

GFPAdManager.adConfiguration().privacySetting = privacySetting