You can get advertising ID in Android.
It depends on the OS version but generally you can get it from your phone (Google Settings > Ads).
*You can NOT get advertising ID in iOS
You can get advertising ID by calling the method described on SDK Integration Documentations as well. See the following pages.
- Android SDK Integration Documentation: "Confirm Advertising ID access"
- iOS SDK Integration Documentation: "AdSupport.framework linking"