Search...
Menu

Privacy

GDPR

If the user consents to interest-based advertising, set the user consent flag to true by calling SetHasUserConsent, and start requesting ads through McSDK. After you set the consent value to true for a specific user, McSDK will continue to follow this value throughout your application's lifecycle, or until the user revokes consent for interest-based advertising.

csharp Copy
McSdk.SetHasUserConsent(true);

If the user does not consent to interest-based advertising, set the user consent flag to false by calling SetHasUserConsent for the specific user, and start requesting ads through McSDK. After you set the consent value to false, McSDK will continue to follow this value throughout your application's lifecycle, or until the user consents to interest-based advertising.

csharp Copy
McSdk.SetHasUserConsent(false);

COPPA

Children's Online Privacy Protection Act (COPPA) primarily targets the online collection of personal information from children under 13. According to the COPPA FAQ, developers are responsible for determining whether their application targets children under 13 and should consider factors including but not limited to: "the subject matter of the app, visual content, use of animated characters or activities and incentives appealing to children, music or other audio content, age of models, presence of child celebrities or celebrities who appeal to children, language or other characteristics of the website or online service, as well as whether advertising promoting or appearing on the website or online service is directed to children."

● TopOn

You only need to configure this in the TopOn console

  • Log in to the TopOn Console
  • Enter the target application details page
  • Click the Edit action button
  • Enable the COPPA switch in the Privacy Compliance module

● Max

According to platform regulations, you can perform the corresponding operations on the Max side independently. For detailed information, please refer to the Max Official Documentation


CCPA

California Consumer Privacy Act (CCPA) requires that various privacy rights be provided to California consumers. Businesses subject to CCPA regulation will fulfill multiple obligations to these consumers, including information disclosure, consumer rights similar to the EU General Data Protection Regulation (GDPR), the right to "opt-out" of specific data transfers, and the right to "opt-in" requested by minors.

● TopOn

You only need to configure this in the TopOn console

  • Log in to the TopOn Console
  • Enter the target application details page
  • Click the Edit action button
  • Enable the CCPA switch in the Privacy Compliance module

● Max

Please refer to the Max Official Documentation

You need to use the following API for configuration

csharp Copy
McSdk.SetDoNotSell(false);
McSdk.SetDoNotSell(true);

UMP

● Import UMP

● Android

  1. First, add the Google User Messaging Platform SDK dependency to your module's app-level Gradle file (typically app/build.gradle)
gradle Copy
dependencies {
    implementation("com.google.android.ump:user-messaging-platform:3.0.0")
}
  1. Add gms.ads.APPLICATION_ID to AndroidManifest.xml, the value needs to be configured with the application ID created in the Admob backend
xml Copy
<manifest>
    <application>
        <meta-data
            android:name="com.google.android.gms.ads.APPLICATION_ID"
            android:value="ca-app-pub-xxxxxxxxxxxxxxxx~yyyyyyyyyy"/>
    </application>
</manifest>
  1. Add the following configuration to the proguard-android.txt file for obfuscation
Copy
-keep public class com.google.android.ump.*

● iOS

  1. First, add UserMessagingPlatform.xcframework to your project

  2. Add the GADApplicationIdentifier key for the AdMob platform in Info.plist

As required by the AdMob platform, add this key only if you have selected to use this platform. For more information, please visit here.

xml Copy
<key>GADApplicationIdentifier</key>
<string>Your GADApplicationIdentifier </string>
<!-- Example format of the above value: ca-app-pub-94885xxxxxxxxxx~731xxxxx  -->

● Enable UMP

csharp Copy
McSdk.SetPrivacySettingEnable(true);

McSdk.InitializeSdk("your app id", "your app key");

Previous
Revenue Tracking
Next
Integration Checklist
Last modified: 2025-04-25Powered by