如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-11-02。
[null,null,["最后更新时间 (UTC):2023-11-02。"],[[["The Google Mobile Ads Unity plugin allows Unity developers to integrate Google mobile ads into Android and iOS apps without writing Java or Objective-C."],["Developers must use Unity 2019.4 or higher, along with specific Xcode and Android requirements for iOS and Android deployments, respectively."],["The plugin can be imported using OpenUPM-CLI, OpenUPM, or GitHub, with instructions for each method provided."],["Before loading ads, initialize the Google Mobile Ads SDK by calling `MobileAds.Initialize()` once at app launch, and select from various ad formats like Banner, Interstitial, Native, Rewarded, Rewarded Interstitial, and App Open."],["The plugin utilizes the Unity Play Services Resolver library for dependency management, which requires specific steps for Android and iOS to ensure all dependencies are included."]]],[]]