Advertising Identifiers


#1

Hi all,
I need to implement a call for ads (not using AdMob, but another advertisement company) and they want to respect the Advertisement Identifier provided by all android devices (and there is some kind of similar thing on iOS devices as well). Now, I have been searching the internet for hours for any kind of information regarding this ID and I can’t find anything helpful. Does anybody have some experience and is able to get this Advertisement Id in their app?

Best regards


#2

Does this ad company not provide an SDK? Pretty much all ad SDKs I’ve used already take care of getting the advertising identifier.


#3

Sadly they don’t. It’s a specialised company (not very big).


#4

Fair enough, it’s just that it seems difficult to find Cordova plugins that only return the advertising id, because it’s usually done by the ads sdk.

Found this for iOS: cordova-plugin-AppleAdvertising, but couldn’t find one for Android.

As a last resort, you could always write your own Cordova plugin that calls the Google Play Services API.


#5

thanks so much for finding this!
in the meantime i have found this one: https://github.com/appfeel/analytics-google-adid
and will try it tomorrow.

cheers


#6

Hi,

Were you able to get GAID, using this ? Thanks for your time.

…Ajay