Google Waterfall 适配器支持 横幅 (320×50) 和 MREC (300×250) 广告格式。该适配器不支持插屏和激励广告。 在Documentation Index
Fetch the complete documentation index at: https://docs.cloudx.io/llms.txt
Use this file to discover all available pages before exploring further.
Assets/CloudXSdk/Editor/CloudXDependencies.xml 中取消注释 Google Waterfall 相关行:
AdMob 应用 ID(必需)
Google Mobile Ads SDK 需要您的 AdMob 应用 ID。缺少该 ID 会导致 iOS 应用启动时崩溃,并在 Android 上记录致命警告。请使用您 AdMob 控制台中的应用 ID。Android
在Assets/Plugins/Android/AndroidManifest.xml 的 <application> 内添加 meta-data:
AndroidManifest.xml
iOS
在生成的Info.plist 中添加 GADApplicationIdentifier:
Info.plist
iOS Info.plist 配置
SKAdNetwork IDs(iOS 14.5+ 必需)
添加 Google 的 SKAdNetwork 标识符,以便 Google 归因安装。Google 在其 Google Mobile Ads 文档 中发布了完整且最新的列表。请包含完整列表以最大化归因覆盖率。应用追踪透明度(iOS 14+)
Info.plist
iOS 项目配置
链接器标志: 在 Build Settings 的 Other Linker Flags 中添加-ObjC。