AppLovin MAX SDK, when used with Google UMP, complies with TCF v2:
The MAX SDK can ingest the consent string and AC string and forward the TCF v2 Consent strings / states to the mediated networks as described in TCF v2 Consent.
If you do not use Google UMP as your CMP, either through AppLovin’s automated flow or otherwise, you must ensure that the CMP you choose supports the mediated networks you integrate.
Add the dependency for the Google User Messaging Platform SDK into your project’s Podfile:
target '«your-project-name»'do
pod 'Google-Mobile-Ads-SDK'
end
接下来,在应用的 Info.plist 中创建一个名为 NSUserTrackingUsageDescription,类型为 String 的新键。您可以通过该字符串,告知用户应用为什么要请求使用能监测用户或设备的数据。
AppLovin 建议您将该字符串的值设为:“This uses device info for more personalized ads and content”。例如,您可以按如下方式更新 AppLovinMAX_UPL_IOS.xml:
<addElementstag="dict"once="true">
<key>NSUserTrackingUsageDescription</key>
<string>This uses device info for more personalized ads and content</string>
</addElements>
Setting Properties
For both Android and iOS, enable the MAX Terms and Privacy Policy Flow programmatically by setting properties before you initialize the SDK.
The code sample below demonstrates how to do this:
If you set the user ID in your MMP integration, set it where you set the AppLovin user ID.
Show GDPR Flow to Existing Users
AppLovin recommends that you allow existing users in GDPR regions to reenter the GDPR flow.
Typically, users can do this in your app’s Settings section via an option to Manage Existing Privacy Settings.
If you determine a user is in a GDPR region, you can conditionally show that settings option.
To do this, use the SDK API SdkConfiguration.ConsentFlowUserGeography.
The user is in GDPR region when ConsentFlowUserGeography is EConsentFlowUserGeography::GDPR.
在 MAX Mediation Debugger 的 Privacy 部分下,CMP (Consent Management Platform)行显示已集成的 Google 认证 CMP SDK 的名称。
如果集成了 Google UMP SDK,则会显示 “Google consent management solutions” 作为名称。
验证 IAB TCF 参数
If you select the CMP (Consent Management Platform) row, you can inspect the IAB TCF parameters IABTCF_gdprApplies, IABTCF_TCString, and IABTCF_AddtlConsent.
For the latter two, you can click the row to copy or share its value.
验证缺失平台
在 CMP CONFIGURATION 部分,可以验证 Google UMP 配置中集成或缺失的平台。
下方列表包含 MAX 可用的所有平台。
您可以忽略应用中未集成的平台。
On your CMP flow you must list the networks that you integrate in your application.
To check if any of those networks are missing, and to fix this problem:
您会在MISSING ATP NETWORKS或MISSING TCF VENDORS列表中看到缺失的平台。
如果您在应用中集成了这些平台中的某些平台,请按以下步骤操作:
Return to your CMP’s dashboard.
Add the missing networks to those covered by the GDPR message.
(See Customize Ad Partners List for how to do this in Google’s Unified Consent Flow.)