Does anyone know how to get the ID which AdMob needs to show test adverts on iOS? I thought that I'd be able to use `iPhone.advertisingIdentifier`, but that doesn't seem to be the case.
This is what I use for Android, which works, so the md5 method seems fine:
deviceID = Utility.Md5Sum(Utility.GetAndroidID()).ToUpper();
I have tried these different combinations for iOS:
deviceID = iPhone.advertisingIdentifier;
deviceID = Utility.Md5Sum(iPhone.advertisingIdentifier).ToUpper();
deviceID = Utility.Md5Sum(iPhone.advertisingIdentifier);
Each time the device showed real adverts.
↧