> For the complete documentation index, see [llms.txt](https://aatkit.gitbook.io/aatkit-unity-integration/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://aatkit.gitbook.io/aatkit-unity-integration/start/consent/managed-consent.md).

# Managed Consent

### Introduction

AATKit’s Managed Consent is an easy way to facilitate [IAB TCF](https://iabeurope.eu/transparency-consent-framework/) compliant third-party [Consent Management Platforms](https://iabeurope.eu/tcf-for-cmps/) (CMPs) by providing a unified API and wrappers. In order to make use of Managed Consent, AATKit React Native plugin provides CMP implementations.

### **Google CMP Usage**

Android requires `appId` to be added to `AndroidManifest`, like

```xml
<meta-data
          android:name="com.google.android.gms.ads.APPLICATION_ID"
          android:value="YOUR-APP-ID"/>
```

For iOS you need to set the `GADApplicationIdentifier` value to the `Info.plist` file, like:

```xml
<key>GADApplicationIdentifier</key>
<string>YOUR-APP-ID</string>
```

Set Google CMP consent type when initializing AATKit:

```csharp
AATKitConfiguration aatkitConfiguration = new AATKitConfiguration
    {
        Consent = new AATKitConsent()
        {
            Type = AATKitConsent.ConsentTypes.ManagedCMPGoogle
        }
    };
```

### **Source Point CMP Usage**

Requires the Source Point library dependency for Android (make sure it is enabled by [AATKitSettings](/aatkit-unity-integration/other/aatkitsettings-asset.md) asset). Also you need to pass all required configuration parameters when initializing AATKit.

```csharp
AATKitConfiguration aatkitConfiguration = new AATKitConfiguration
{
    Consent = new AATKitConsent()
    {
        Type = AATKitConsent.ConsentTypes.ManagedCMPSourcePoint,
        SourcePointAccountId = YourSourcePointAccountId,
        SourcePointPropertyId = YourSourcePointPropertyId,
        SourcePointPropertyName = "your-source-point-property-name",
        SourcePointPMId = "your-source-point-PM-id",
    }
};
```

### SFBX/AppConsent

Requires AppConsent library dependency (make sure this network is enabled by [AATKitSettings](/aatkit-unity-integration/other/aatkitsettings-asset.md) asset). Also you need to pass API Key as configuration parameter when initializing AATKit.

Make sure, your SFBX CMP has been set up at its backend dashboard. Our support recommends certain vendors to be included in your server-side setup in order to yield optimal revenues.

Pass `App Consent` configuration parameters when initializing AATKit.

```csharp
AATKitConfiguration aatkitConfiguration = new AATKitConfiguration
{
    Consent = new AATKitConsent()
    {
        Type = AATKitConsent.ConsentTypes.ManagedCMPAppConsent,
		AppConsentAppKey = "xxxxxxxx-xxxxx-xxxx-xxxx-xxxxxxxxxxxx",
	} 
    } 
};
```
