Skip to main content

Global Privacy Policy Support

info

The Global Privacy Policy policy is supported by NAM SDK version 6.1.0 and up.

GFPPrivacySetting

GFPPrivacySetting is an API added to support policies related to privacy (=GDPR, COPPA, etc.).

  • underAgeOfConsent
    • Indicates whether advertising is requested for non-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).
GFPPrivacySetting *privacySetting = [[GFPPrivacySetting alloc] initWithUnderAgeOfConsent:NO childDirected:NO];

privacySetting.underAgeOfConsent = YES;
privacySetting.childDirected = YES;

[GFPAdManager adConfiguration].privacySetting = privacySetting;