Privacy consent and data APIs
Manage user privacy and data compliance in Unity Ads. Use built-in consent tools or integrate custom consent flows with developer APIs to meet global regulations like GDPR, CCPA, and PIPL.
Read time 2 minutesLast updated 6 hours ago
Unity Ads provides built-in solutions for acquiring user consent to data collection and processing, as well as developer APIs for passing a flag if you want to implement your own consent flow. Unity offers two options for privacy consent that can be adjusted by your Unity contact:
- Unity consent, which requires the user to explicitly agree to using their data for the personalized ads as well as project personalization and measurement. This is the default setting for all developers.
- Developer consent, which allows a developer to use their own or a third-party consent API to collect and manage user consent. This setting must be enabled by your Unity contact.
Best Practices for developer consent
If you enable developer consent through your Unity contact, this information must be provided upon initialization and in totality per the region of the impression and user. If any required consent for a region is not provided, Unity will capture consent from the user using our default consent mechanism. Example: If a user is in the European Economic Area (EEA), which requires GDPR consent, and you have chosen developer consent as your privacy consent option but do not provide an explicit true/false value by using Unity'sMetaData
In this section, you will find the API classes that allow you, the developer, to provide consent statuses for your users.
What's covered
- COPPA compliance
- PIPL compliance
- GDPR compliance
- Consumer privacy act compliance
- Google Play Families compliance
- Implement custom age gates
- Referece for Google Play's Data Safety section
- Reference for Apple's privacy survey