The Adjust SDK provides helper methods that return device-specific identifiers you can use in your app.
Adjust device identifier
Adjust generates a unique Adjust Device ID (ADID) for each device. Call the getAdid method to retrieve this ID as a string.
local adjust = require "plugin.adjust"
adjust.getAdid(function(event) print("Adjust ID: " .. (event.message or "N/A"))end)ID For Advertisers
The ID for Advertisers (IDFA) is a device-specific identifier for Apple devices. Call the getIdfa method to retrieve this ID as a string.
local adjust = require "plugin.adjust"
adjust.getIdfa(function(event) print("IDFA: " .. (event.message or "N/A"))end)ID For Vendor
The ID for Vendor (IDFV) is a device-specific identifier for Apple devices. Call the getIdfv method to retrieve this ID as a string.
local adjust = require "plugin.adjust"
adjust.getIdfv(function(event) print("IDFV: " .. (event.message or "N/A"))end)Google Play Services Advertising ID
The Google Play Services Advertising ID is a device-specific identifier for Android devices. Call the getGoogleAdId method to retrieve this ID as a string.
local adjust = require "plugin.adjust"
adjust.getGoogleAdId(function(event) print("Google Advertising ID: " .. (event.message or "N/A"))end)Amazon Advertiser ID
The Amazon Advertising ID is a device-specific identifier for Amazon Android devices. Call the getAmazonAdId method to retrieve this ID as a string.
local adjust = require "plugin.adjust"
adjust.getAmazonAdId(function(event) print("Amazon Advertising ID: " .. (event.message or "N/A"))end)