com.google.android.gms.ads.identifier
Contains classes relating to the Android Advertising ID (AAID).
Classes
AdvertisingIdClient
|
Helper library for retrieval of advertising ID and
related information such as the limit ad tracking setting. |
AdvertisingIdClient.Info
|
Includes both the advertising ID as well as the
limit ad tracking setting. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[null,null,["Last updated 2024-10-31 UTC."],[[["The Android Advertising ID (AAID) enables user privacy controls and advertising personalization."],["This page details how to retrieve the AAID and limit ad tracking setting through the `AdvertisingIdClient` class."],["Developers use `AdvertisingIdClient.Info` to access both the user's advertising ID and their ad tracking preference."]]],["The provided content details classes for handling the Android Advertising ID (AAID). `AdvertisingIdClient` is a library used to retrieve the AAID and the limit ad tracking setting. `AdvertisingIdClient.Info` is a class that encapsulates both the advertising ID and the user's preference for limiting ad tracking. These classes allow developers to obtain the AAID and respect user privacy settings regarding ad personalization.\n"]]