After the hms-ads-identifier SDK is integrated, you can use related APIs to obtain the OAID and setting of Disable personalized ads.
| Class name | Class description |
| AdvertisingIdClient | Obtains AdvertisingIdClient.Info. |
| AdvertisingIdClient.Info | Obtains the OAID and setting of Disable personalized ads. |