Privacy
Nimbus Android SDK can be configured as necessary to respect users consent for data collection and privacy.
COPPA
If your app is governed by COPPA (Children's Online Privacy Protection Act) regulations established by the USA FTC, you must call the following function after initialization so the SDK will configure itself to send that information to demand partners.
Nimbus.COPPA = true;
GDPR
The SDK can manage user's consent for data protection, e.g. GDPR (General Data Protection Regulation). To do so, set the GDPR consent string and user consent using the static helper method on the NimbusAdManager or RequestManager classes.
var userDidConsent: Boolean = true
NimbusAdManager.setGdprConsent(consentString, userDidConsent)
// OR
RequestManager.setGdprConsent(consentString, userDidConsent)
Additionally the GDPR consent string can be set on the User object directly and applied globally for all requests. NOTE: Calling setUser after calling setGdprConsent will overwrite the values set from setGdprConsent.
val userDidConsent: Byte = 1 // The value of one is equivalent to true from the example above
val user = User(ext = User.Extension(consent = consentString, did_consent = userDidConsent))
NimbusAdManager.setUser(user)
// OR
RequestManager.setUser(user)
If you would like GDPR to apply to all of your ad requests, regardless of from where they originate, we can do this for you. Contact us.