他の Android ライブラリと同様に、Google Play 開発者サービス SDK を含めたアプリはサイズが大きくなります。Google Mobile Ads Lite SDK は、アプリのサイズ増大を軽減するために作られた、Google Mobile Ads SDK の軽量バージョンです。通常の SDK よりもサイズが小さくなっています。
Lite SDK を利用すると、アプリのサイズ増大が軽減されるだけでなく、アプリで参照されるメソッドの総数が少なくなります。古いバージョンの Android にアプリを導入する際 64K 参照制限に遭った場合に、これは特に便利です。
次の例は、アプリに Lite SDK を組み込むために Gradle を設定する方法を示しています。
他の Google Play 開発者サービスとは異なり、Google Play 開発者サービス APK に標準の Google Mobile Ads SDK を実装した場合も、Google Play 開発者サービスのクライアント ライブラリに含まれます。これにより、Google Play 開発者サービス APK がないデバイスのサポートが可能になります。SDK がランタイムにクライアント ライブラリと Google Play 開発者サービス APK のバージョンを比較し、新しい方のバージョンを使用します。
Lite SDK は、クライアント ライブラリから Google Mobile Ads SDK の実装を削除し、Google Play 開発者サービス APK へのインターフェースのみを残します。Lite SDK は APK の実装に依存します。Google Play ストア以外でアプリをデプロイする場合、ユーザーのデバイスに Google Play 開発者サービス APK がインストールされているとは限りません。
Google Play 開発者サービスの最新バージョンが搭載されているデバイスでは、Lite SDK の動作は標準 SDK の動作と同じです。ただし、Google Play 開発者サービスが古いか、存在しないデバイスでは、Lite SDK が参照する API が利用できないか、Google Play 開発者サービス APK の API から変更されている可能性があります。これにより、no-op とエラーが記録され、これらのデバイスに広告が配信されない可能性があります。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-09-05 UTC。"],[[["\u003cp\u003eThe Google Mobile Ads Lite SDK is a smaller version of the Google Mobile Ads SDK, designed to reduce app size and method references.\u003c/p\u003e\n"],["\u003cp\u003eUsing the Lite SDK helps avoid the 64K reference limit, especially beneficial when targeting older Android versions.\u003c/p\u003e\n"],["\u003cp\u003eThe Lite SDK is exclusively for apps distributed via the Google Play Store and relies on the Google Play services APK for its implementation.\u003c/p\u003e\n"],["\u003cp\u003eOn devices lacking or with outdated Google Play services, the Lite SDK may encounter API discrepancies, leading to ad serving issues.\u003c/p\u003e\n"],["\u003cp\u003eWhile functionally similar to the standard SDK on updated devices, the Lite SDK depends on the Google Play services APK, making it unsuitable for deployments outside the Play Store.\u003c/p\u003e\n"]]],[],null,["Like any Android library, the Google Play services SDK increases the size of\napps that include it. The Google Mobile Ads Lite SDK is a lightweight version\nof Google Mobile Ads SDK built to reduce that impact. It is a fraction of\nthe size of the regular SDK.\n\nAlongside reduced size, using the Lite SDK decreases the total number of\nmethods referenced in an app. This is especially useful when deploying to older\nversions of Android, where developers can run into the [64K reference\nlimit](//developer.android.com/studio/build/multidex).\n\nHere's how to configure gradle to incorporate the Lite SDK into your app: \n\n dependencies {\n implementation 'com.google.android.gms:play-services-ads-lite:24.3.0'\n }\n\nLimitations of the Lite SDK\n\nThe Lite SDK should only be used in apps distributed through the\nGoogle Play store.\n\nUnlike other [Google Play services](/android/guides/overview), the standard\nGoogle Mobile Ads SDK implementation in the Google Play services APK is also\nincluded in the Google Play services client library. This allows for support on\ndevices without the Google Play services APK. At runtime, the SDK will compare\nthe versions of the client library and the Google Play services APK and use the\nnewer version.\n\nThe Lite SDK strips Google Mobile Ads SDK implementation from the client\nlibrary, leaving only an interface to the Google Play services APK. The Lite\nSDK relies on the implementation of the APK. If you deploy your app outside of\nthe Google Play store, it is not guaranteed that your user's devices will have\nthe Google Play services APK installed.\n\nOn devices with an up-to-date version of Google Play services, the Lite SDK's\nbehavior is identical to that of the standard SDK. However, on devices where\nGoogle Play services is outdated or not present, the Lite SDK may reference\nAPIs that are unavailable or have been changed from those in the Google Play\nservices APK. This will result in a no-op and an error being logged, which may\ncause ads not to serve to those devices.\n\nLite SDK release cadence\n\nStarting with version 24.1.0, the `play-services-ads-lite`\nartifact stops releasing at the same cadence as `play-services-ads`. This\nchange allows for a more gradual and stable rollout of the SDK implementation.\nThe Lite SDK releases approximately every third SDK release.\n\nProjects that depend on both `play-services-ads-lite` version 24.0.0 or lower\nand `play-services-ads` version 24.1.0 or higher encounter a `Duplicate class`\nerror during app compilation. Resolve this error by using only one of the\n`play-services-ads` or `play-services-ads-lite` artifacts."]]