diff --git a/Swift/admob/BannerExample/BannerExample/GoogleMobileAdsConsentManager.swift b/Swift/admob/BannerExample/BannerExample/GoogleMobileAdsConsentManager.swift index 34141bc3..ab69cd27 100644 --- a/Swift/admob/BannerExample/BannerExample/GoogleMobileAdsConsentManager.swift +++ b/Swift/admob/BannerExample/BannerExample/GoogleMobileAdsConsentManager.swift @@ -30,9 +30,11 @@ class GoogleMobileAdsConsentManager: NSObject { return UMPConsentInformation.sharedInstance.canRequestAds } + // [START is_privacy_options_required] var isPrivacyOptionsRequired: Bool { return UMPConsentInformation.sharedInstance.privacyOptionsRequirementStatus == .required } + // [END is_privacy_options_required] /// Helper method to call the UMP SDK methods to request consent information and load/present a /// consent form if necessary.