配合 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.
首先,请将 Google User Messaging Platform SDK 依赖项添加到您应用的目标中。
请在您项目的 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”。
启用 MAX 条款和隐私政策流程的方法有两种:通过编程,或向应用程序资源中添加设置文件。
以下各节将详细解释这两种方法。
To enable the MAX Terms and Privacy Policy Flow programmatically, set certain properties of the SDK’s settings object before you initialize the SDK.
The code sample below shows how to do this:
// You can check app transparency tracking authorization via configuration.appTrackingTransparencyStatus
// Initialize other 3rd-party SDKs - do not initialize mediated advertising SDKs; MAX will automatically do that for you. Not following this step will result in noticeable integration issues
// Initialize the Adjust SDK inside the AppLovin SDK's initialization callback
ALSdk.shared().initialize(with: initConfig) { sdkConfig in
// App transparency tracking authorization can be checked via `configuration.appTrackingTransparencyStatus`
// Initialize other 3rd-party SDKs - do not initialize mediated advertising SDKs, MAX will do that for you automatically. Not following this step will result in noticeable integration issues
// Initialize the Adjust SDK inside the AppLovin SDK's initialization callback
let adjustConfig =ADJConfig(appToken: "«your-Adjust-app-token»",
environment: ADJEnvironmentSandbox or ADJEnvironmentProduction)
This uses device info for more personalized ads and content
简体中文 (ZhHans)
我们使用设备信息来提供个性化的广告和内容。
繁体中文 (ZhHant)
我們使用設備信息來提供個性化的廣告和內容。
法语 (fr)
Cela permet d’utiliser les informations du téléphone pour afficher des contenus publicitaires plus pertinents.
德语 (de)
Dies benutzt Gerätinformationen für relevantere Werbeinhalte
日本 (Ja)
これはユーザーデータをもとに、より関連性の高い広告コンテンツをお客様に提供します
韩语 (Ko)
보다 개인화된 광고 및 콘텐츠를 위해 기기 정보를 사용합니다.
西班牙语 (es)
Esto utiliza la información del dispositivo para anuncios y contenido más personalizados
向现有用户显示 GDPR 流程
AppLovin recommends that you allow existing users in GDPR regions to reenter the GDPR flow.
Typically, users do this in your app’s Settings section via an option to Manage Existing Privacy Settings.
You can determine if a user is in a GDPR region with the SDK API ALSdkConfiguration.consentFlowUserGeography.
The user is in GDPR region when consentFlowUserGeography is ALConsentFlowUserGeographyGDPR.
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.)