Netmera Developer Guide
Netmera Docs
  • Netmera Developer Guide
  • Platforms
    • iOS
      • New iOS (Swift)
        • SDK Integration
        • Push Notifications
          • Delegate Methods
          • Widget and In-App Messages
          • Media Push
          • Carousel, Slider and Thumbnail Push
        • Deep Linking
          • Custom Deep Links
        • Sound & Vibration
        • Push Inbox
        • Events
        • Geofence & Location
        • User Attributes & Preferences
        • Advertising ID
        • Changelog
      • Former iOS (Objective-C)
        • SDK Integration
        • Push Notifications
          • Delegate Methods
          • Push Payload Receivers
          • Widget and In-App Messages
          • Customizing In-App Messages
          • Media Push
          • Carousel, Slider and Thumbnail Push
          • Custom Web View Presentation
          • Push Icon
        • Live Activities
        • Deep Linking
          • Custom Deep Links
        • Sound & Vibration
        • Push Inbox
        • Events
        • Geofence & Location
        • User Attributes & Preferences
        • Data Transfer
        • Advertising ID
        • SSL Pinning
        • Changelog
    • Android
      • SDK Integration
        • Huawei Integration
        • Huawei Message Receipt
        • Android Integration FAQs
      • Push Notifications
        • Widget and In-App Messages
        • Push Callbacks
        • Custom Web View Presentation
        • Push Icon
      • Deep Linking
        • Custom Deep Links
      • Sound & Vibration
      • Push Inbox
      • Events
      • Geofence & Location
        • Background Location Permission
      • User & Attributes
      • Data Transfer
      • Advertising ID
      • App Tracking
      • SSL Pinning
      • Changelog
    • Web
      • SDK Setup
        • Self-Hosted SDK Setup
      • Mobile Web Push for iOS
      • Deep Linking
        • Custom Deep Links
      • Events
      • User & Attributes
    • React Native
      • SDK Integration
      • Push Notifications
        • Widget and In-App Messages
        • Push Callbacks
      • Deep Linking
        • Custom Deep Links
      • Sound & Vibration
      • Push Inbox
      • Events
      • Geofence & Location
      • User & Attributes
      • Changelog
    • Flutter
      • SDK Integration
      • Push Notifications
        • Push Notification Permissions
        • Widget and In-App Messages
        • Flutter iOS Media Push
      • Deep Linking
        • Custom Deep Links
      • Sound & Vibration
      • Push Inbox
      • Events
      • Geofence & Location
      • User & Attributes
      • SSL Pinning
      • Changelog
    • Cordova
      • SDK Integration
      • Push Notifications
      • Sound & Vibration
      • Push Inbox
      • Events
      • User & Attributes
    • Unity
      • SDK Integration
      • Sound & Vibration
      • Events
      • User & Attributes
      • Changelog
  • Integrated Modules
    • Optimove
    • Adjust
    • Mixpanel
    • IYS Integration
    • VIA Integration
      • Short URL Consent Requests
      • OTP Consent Requests
        • OTP Confirmation Completion
      • VIA Email Rejection Link Generation
      • ETK Rejection via SMS
  • API Documentation
    • REST API
      • Setup
      • Notifications
      • Events
      • User & Device Management
      • Inbox Feature
      • GDPR
      • Error Responses
  • FAQs
    • Push Notifications FAQs
Powered by GitBook
On this page
  • Netmera Ad_ID Integration for Android
  • Ad_ID Permission
  • Android Ad_ID Details for Android 12 and Above
  • User Details and Ad_ID in Netmera Panel
  • Filtering Users Based on Ad_ID Permission
  • Exporting Users Based on Ad_ID Permission
  • Targeting Based on Ad_ID Permission

Was this helpful?

  1. Platforms
  2. Android

Advertising ID

PreviousData TransferNextApp Tracking

Last updated 2 months ago

Was this helpful?

Netmera Ad_ID Integration for Android

The Netmera Android SDK provides the ability to retrieve the Ad_ID (Advertising Identifier) for users. This device identifier allows for targeted actions that help you better understand and engage with your users, although it is not used for displaying advertisements. Instead, the Ad_ID is a key variable for tracking user interactions and behavior.

Ad_ID Usage

  • The Ad_ID is a unique identifier tied to each user's device.

  • It is not used for advertisements within your app but for tracking user activity and enabling more personalized communication and campaigns.

Ad_ID Permission

When targeting Android 13 or above:

  • Add the following line to your AndroidManifest.xml:

<uses-permission android:name="com.google.android.gms.permission.AD_ID"/>

Targeting Android 13 and Above:

This permission is required for accessing ad tracking information on Android 13 devices. For more details, refer to the

Android Ad_ID Details for Android 12 and Above

  1. isLimitAdTrackingEnabled() Method

The isLimitAdTrackingEnabled() method, located in the AdvertisingIdClient.Info class, checks whether the user has opted to limit the use of their advertising ID.

  1. When isLimitAdTrackingEnabled() Returns True

If the method returns true, it means the user has chosen to limit the use of their advertising identifier (adid) for personalized ads.

  1. Return Value: 00000000-0000-0000-0000-000000000000

When Limit Ad Tracking is enabled, the API will return a string of zeros (00000000-0000-0000-0000-000000000000), acting as a pseudo-identifier to indicate limited ad tracking.

User Details and Ad_ID in Netmera Panel

You can view the Ad_ID and its permission status under Settings > User in the Netmera Panel. The Ad_ID and whether the user has granted permission to track are visible in the last two columns.

Troubleshooting Ad_ID Panel Visibility

If you cannot find the Ad_ID options in the panel or encounter any issues, please reach out to the Netmera Success Team for assistance.

Filtering Users Based on Ad_ID Permission

You can filter users based on their Ad_ID permission status within the Targeting > People section of the Netmera Panel. This enables you to create campaigns tailored specifically to users who have either granted or denied permission for ad tracking.

Exporting Users Based on Ad_ID Permission

  • After filtering your audience in the "Targeting > People" section, use the ‘Find’ button to list users fitting your criteria.

  • Click on ‘Target Users Found’ to export the filtered user list for further analysis or campaign targeting.

Targeting Based on Ad_ID Permission

When creating a campaign in the Netmera Panel, specifically on Step 3: Who, you can select the ‘By Advertising ID’ option. This allows you to target users based on their Ad_ID, providing a more personalized and effective strategy for user engagement.

Google documentation.