配合 Google UMP 使用时,AppLovin MAX SDK 符合 TCF v2 的要求:MAX SDK 可以接收许可字符串和 AC 字符串,并按照 TCF v2 许可中的描述,将 TCF v2 许可字符串/状态转发至被聚合的平台。
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 all the mediated networks you integrate.
在应用的 AndroidManifest.xml 中,在 <application> 标签内添加一个 <meta-data> 标签。
以下示例展示了此标签的正确属性。
请用您的 Google 竞价和 Google AdMob / Google Ad Manager 应用 ID 替换 «your-AdMob-app-ID»。
将 Google User Messaging Platform SDK 依赖项添加到您项目的 Podfile 中:
target '«your-project-name»'do
pod 'Google-Mobile-Ads-SDK'
end
在应用的 Info.plist 中添加 GADApplicationIdentifier 键,其 String 值为 Google 竞价和 Google AdMob / Google Ad Manager 应用 ID。
启用 MAX 条款和隐私政策流程
To enable the MAX Terms and Privacy Policy Flow programmatically, set certain properties before you initialize the SDK.
The following code sample shows you how to do this:
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.
To determine if a user is in a GDPR region, check the user’s geography:
The user is in GDPR region when AppLovinMAX.get_consent_flow_debug_user_geography() returns AppLovinMAX.ConsentFlowUserGeography.GDPR.
If so, you can conditionally show that settings option to the user.
在 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.)