Menu

Set GAID

       The SolarEngine SDK provides a plugin for developers to set the Google Advertising ID (GAID). In most cases, the SDK will automatically retrieve the GAID, and developers do not need to set it manually.

       Once the GAID is passed to the SDK, it will be saved and remain unchanged until the next GAID is passed. If multiple GAIDs are passed, only the last one will be saved.

Function

 public void setGaid(String gaid);
ParameterDescriptionTypeRequired
gaidGAID of the deviceStringNo

Sample Code

SolarEngineManager.getInstance().setGaid("xxxGaidxxx");

Note:

If developers have configured isGDPRArea(true) during the SDK initialization, this method cannot be called successfully.

Previous
Set OAID
Next
Set Channel Property
Last modified: 2025-02-06Powered by