Search...
Menu

Privacy Policy

Privacy Policy

Starting January 16, 2024, publishers and developers using Google AdSense, Ad Manager, or AdMob to serve ads to users in the European Economic Area or the United Kingdom must use a Consent Management Platform (CMP) that is certified by Google and integrated with the IAB's Transparency and Consent Framework (TCF).

To comply with this requirement in your iOS project, you would need to take the following steps:

  1. Import UMP into the Project

(1) First, add UserMessagingPlatform.xcframework to your project.

(2) In the Info.plist file, add the GADApplicationIdentifier key for the AdMob platform as required by AdMob. Only add this key if you have selected to use this platform. For more information, please visit the relevant documentation provided by Google.

xml Copy
<key>GADApplicationIdentifier</key>
<string>Your GADApplicationIdentifier</string>
<!-- The value above is in the format of: ca-app-pub-9488501426181082~7319780494 -->
  1. Enable Built-in Privacy Process within the SDK

To enable the built-in privacy process within the SDK, set the privacySettingsEnable property to YES. This can be done when initializing the MCInitConfig object for the SDK.

objc Copy
/// Indicates whether to use the SDK's built-in privacy process
@property (nonatomic, assign, getter=isPrivacySettingsEnabled) BOOL privacySettingsEnable;

MCInitConfig *config = [[MCInitConfig alloc] init];
config.appId = kMCSDKConfigInitAppId;
config.appKey = kMCSDKConfigInitAppKey;
config.privacySettingsEnable = YES;
[[MCAPI sharedInstance] initWithConfig:config delegate:self];

By setting privacySettingsEnable to YES, you are instructing the SDK to manage user consent according to the required standards and regulations, which is essential for compliance with the requirements set forth by Google and the IAB TCF.

Previous
Revenue Tracking
Next
Unity
Last modified: 2025-06-26Powered by