Mark as Play Store Kids app
If your app targets users under the age of 13 and the install region is not the USA, mark it as a Play Store Kids app. This prevents the Adtrace SDK from reading device and advertising IDs (for example gps_adid and android_id).
By default, the SDK does not treat your app as a Play Store Kids app. Call setPlayStoreKidsAppEnabled on your AdTraceConfig instance before AdTrace.onCreate().
Important
Call setPlayStoreKidsAppEnabled before you initialize the SDK. See Configuration for how to create the config.
Method signature
public void setPlayStoreKidsAppEnabled(boolean playStoreKidsAppEnabled)
| Parameter | Type | Description |
|---|---|---|
playStoreKidsAppEnabled | boolean | Pass true to mark the app as a Play Store Kids app. Pass false to mark it as a non-Kids app. |
What this method does
When you mark your app as a Play Store Kids app, the SDK prevents reading device and advertising IDs (for example gps_adid and android_id).