Quantcast
Channel: Questions in topic: "ios"
Viewing all articles
Browse latest Browse all 4709

AdMob device ID on iOS for test ads?

$
0
0
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.

Viewing all articles
Browse latest Browse all 4709

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>