advertisingId.getAdvertisingId()

Type Function
Return value String
Revision Release 2022.3683
Keywords advertising, ID
See also advertisingId.isTrackingEnabled()

Overview

Provides access to the advertising identifier.

Example

local adID = require( "plugin.advertisingId" )
print( "Advertising ID:", adID.getAdvertisingId() )