穿山甲-全球开发者成长平台|接入文档
知识中心
本文尚无当前语言版本,相关翻译工作正在进行中,感谢您的理解!

Find your Device ID

Android Device

Check GAID

On Android devices, you can find your GAID(Advertising ID) in your device settings. Navigate to Settings, click Google, and then Ads:

You can also find the GAID programmatically. Learn how to get a user-resettable GAID.

Check IMEI

On Android phones, you can find the IMEI number in the *Settings* menu. It can usually be found in one of the following locations, depending on the brand and Android version you are running.

  • Settings > About Phone > Status
  • Settings > General > About Device > Status
  • Settings > System > About Phone > Status
  • Settings > About Device > Status

From there, write down the number or take a screenshot. The screenshots above were derived from an LG V40 ThinQ running Android 10.

You also can find IMEI programmatically.

Check OAID

OAID is needed for android 10 and above

Supported devices: HUAWEI/OPPO/VIVO/XIAOMI

At this moment, you only could check OAID programmatically, import the mobile security SDK, then check the OAID with the following code.

iOS Device

Check IDFA

Currently, Apple does not surface the IDFA by default on iOS devices. However, it can be retrieved using third-party apps("MyIDFA"). Check the App Store for apps that can retrieve your advertising ID, or find your IDFA programmatically.