<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: ke k</title>
    <description>The latest articles on DEV Community by ke k (@ke_k_6425d1aff1eab2b85089).</description>
    <link>https://dev.to/ke_k_6425d1aff1eab2b85089</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4192293%2F9e13bca3-3ba0-42c0-9e0b-ed7370b2de32.jpg</url>
      <title>DEV Community: ke k</title>
      <link>https://dev.to/ke_k_6425d1aff1eab2b85089</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ke_k_6425d1aff1eab2b85089"/>
    <language>en</language>
    <item>
      <title>How to find your Android Advertising ID (GAID) and register a test device</title>
      <dc:creator>ke k</dc:creator>
      <pubDate>Sun, 18 Oct 2026 14:42:00 +0000</pubDate>
      <link>https://dev.to/ke_k_6425d1aff1eab2b85089/how-to-find-your-android-advertising-id-gaid-and-register-a-test-device-2ni4</link>
      <guid>https://dev.to/ke_k_6425d1aff1eab2b85089/how-to-find-your-android-advertising-id-gaid-and-register-a-test-device-2ni4</guid>
      <description>&lt;p&gt;If you work on an Android app with ads, sooner or later someone asks you for your "advertising ID", "GAID" or "AAID". This short guide shows where to find it and how to use it to register a test device, so you can see test ads safely and keep your own clicks out of real traffic.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is the Advertising ID?
&lt;/h2&gt;

&lt;p&gt;The Android Advertising ID (GAID, also called AAID or Ad ID) is a resettable identifier provided by Google Play services. It is the Android counterpart of IDFA on iOS. Ad networks and attribution tools use it to recognize a device, and most of them let you flag a device as a "test device" by entering this ID.&lt;/p&gt;

&lt;h2&gt;
  
  
  Option 1: Find it in Settings
&lt;/h2&gt;

&lt;p&gt;On most recent Android versions:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Settings → Privacy → Ads&lt;/strong&gt; (on some devices: &lt;strong&gt;Settings → Google → Ads&lt;/strong&gt;)&lt;/p&gt;

&lt;p&gt;You will see "Your advertising ID" there. Copying it from this screen is not always possible, and the menu location differs between manufacturers.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; if you have chosen "Delete advertising ID" (Android 12+) or "Opt out of Ads Personalization", apps receive an ID made of zeros. Test-device registration will not work with a zeroed ID, so turn that option off first.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Option 2: Use a small app
&lt;/h2&gt;

&lt;p&gt;If you need to send the ID to a teammate or paste it into a dashboard, an app that reads the ID and lets you copy or share it is faster. I built &lt;strong&gt;GAID&lt;/strong&gt; for exactly this: open it, tap Copy or Share, done. It also warns you when your device is returning a zeroed ID.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://play.google.com/store/apps/details?id=com.kke.adid" rel="noopener noreferrer"&gt;GAID on Google Play&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Registering the device as a test device
&lt;/h2&gt;

&lt;p&gt;Once you have the ID, add it in your ad network or attribution dashboard. Common places to look:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;AdMob:&lt;/strong&gt; in the AdMob console, Settings → Test devices → Add test device, then enter the advertising ID.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AppLovin MAX:&lt;/strong&gt; the MAX dashboard has a Test Mode section where you add a device by its advertising ID.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Unity Ads:&lt;/strong&gt; the Unity dashboard lets you add test devices by advertising ID in the monetization settings.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Attribution tools&lt;/strong&gt; (for example AppsFlyer or Adjust): their SDK testing / test device pages accept the advertising ID.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Menu names change from time to time, so search the dashboard for "test device" if you cannot find it.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Tip:&lt;/strong&gt; AdMob's in-code test device setting (&lt;code&gt;RequestConfiguration.setTestDeviceIds&lt;/code&gt;) uses a different, hashed ID that the SDK prints to Logcat, not the raw advertising ID. Use the console method above with the advertising ID, or copy the hashed ID from Logcat for the code method.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Why bother?
&lt;/h2&gt;

&lt;p&gt;Clicking real ads on your own device, even by accident, can be counted as invalid traffic and hurt your ad account. Registering a test device is a two-minute job that avoids that risk.&lt;/p&gt;

</description>
      <category>android</category>
      <category>admob</category>
      <category>mobile</category>
      <category>testing</category>
    </item>
  </channel>
</rss>
