Google Mobile Ads(GMA)SDK バージョン 21.0.0 から、SDK の初期化と広告読み込みの最適化を利用できるようになりました。この機能を使用すると、広告の総合的なレスポンスが改善され、アプリにおける Application Not Responding(ANR)エラーの防止に役立ちます。このガイドでは、これらの最適化を有効にするために必要な変更について概説します。
[null,null,["最終更新日 2025-02-08 UTC。"],[[["Starting with Google Mobile Ads SDK version 21.0.0, you can optimize SDK initialization and ad loading to enhance ad responsiveness and mitigate ANR errors."],["These optimizations are enabled through two flags within the Google Mobile Ads settings: **Optimize Initialization** and **Optimize AdLoading**, which offload time-consuming tasks to background threads."],["You can access and modify these settings via the Unity asset menu: **Assets \\\u003e Google Mobile Ads \\\u003e Settings**, enabling either or both options based on your needs."],["By default, both optimization flags are set to `false`, requiring you to manually enable them to leverage these improvements."]]],["Optimized SDK initialization and ad loading can be enabled in Google Mobile Ads (GMA) SDK version 21.0.0 and higher, preventing \"Application Not Responding\" (ANR) errors. To activate, update to Google Mobile Ads Unity plugin version 7.2.0 or higher. In Unity's **Assets \u003e Google Mobile Ads \u003e Settings**, enable **Optimize Initialization** and/or **Optimize AdLoading**. These settings offload initialization and ad loading to background threads. Both flags are `false` by default.\n"]]