Unity Ads - where to find advertising ID for device testing

Where do I find that advertising ID for my device for testing? I accidentally ran a real ad on my device, and I don’t that to happen again. Thanks.

Hi! in Android phone you can find you advertising ID, in your google setting!
Find the “Google Settings” app in your phone, open it and navigate to “Ads”.
there you can find your advertising ID, i hope this help!

Hello @bartleycollin

This may help you


First, declare the Unity Ads namespace in the header of your script

using UnityEngine.Advertisements;

Then, you can display an ad by calling the following method


Unity will make your id automatically