Set ADID
The advertising ID is a unique, user-resettable ID for advertising. It gives users better controls and provides developers with a simple, standard system to continue to monetize their apps. This API allows you to set your advertising ID to header before calling Appmate APIs. You can send this information to appmate for processing.
#
RequestParameter Name | Type |
---|---|
adid | String |
#
ResponseParameter Name | Type |
---|---|
result | null |
- Kotlin
- Java
String adid = "XXXXXXXX-XXXX-XXXX-XXXXXXXXXXXX";PurchaseClient.getInstance().setADID(adid);
val adid: String = "XXXXXXXX-XXXX-XXXX-XXXXXXXXXXXX"PurchaseClient.instance.setADID(adid)