- Home /
Google Advertising ID in Unity3D
How can I get Google Advertising ID in Unity3D using Google Play Services lib as plugin? I have tried using it as plugin in Assets/Android folder, but it seems its returning null as an output.
Bump up -- how is there such sparse documentation on this!
Answer by viraf · Jan 14, 2017 at 08:46 AM
You can use Application.RequestAdvertisingIdentifierAsync
https://docs.unity3d.com/ScriptReference/Application.RequestAdvertisingIdentifierAsync.html
Answer by ibebian · Nov 11, 2014 at 03:37 PM
I just found this package that may help if you haven't found it already: https://github.com/googleads/googleads-mobile-plugins/releases
Your answer
Follow this Question
Related Questions
How to write a java lib for unity as a plugin to make run another android app? 1 Answer
Need some help with Unity Airpush plugin 0 Answers
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
calling java method from unity c# 1 Answer