Set the correct consent signal mappings
Make sure your consent signals are mapped correctly for opt-in, opt-out, and age-restricted user APIs, according to the privacy frameworks you need to support for user privacy consent.
読み終わるまでの所要時間 2 分最終更新 2ヶ月前
Set the correct consent signal mappings
Refer to the following information to identify which consent signal to use for each privacy framework supported by the Unity Ads SDK.
Opt-in frameworks
Use the API when a framework requires explicit opt-in consent before collecting or processing personal data.
The user must actively opt in. The default is opt-out until you receive opt-in consent. If the user doesn’t give consent, the default is opt-out.
setUserConsent()Opt-in framework | Region |
|---|---|
| GDPR | European Economic Area (EEA), United Kingdom |
| Quebec Law 25 | Quebec, Canada |
| Apple App Tracking Transparency (ATT) | Global |
Opt-out frameworks
Use the API when a framework grants users the right to opt out of data collection or targeted advertising.
setUserOptOut()The user is opted in by default (if the user is not a child), unless they opt out. If the user doesn’t opt out, the default is opted-in.
Opt-out framework | Region |
|---|---|
| California Consumer Privacy Act (CCPA) | California, United States |
| Virginia Consumer Data Privacy Act (VCPDA) | Virginia, United States |
| Colorado Privacy Act (CPA) | Colorado, United States |
| Connecticut Data Privacy Act (CTDPA) | Connecticut, United States |
| Utah Consumer Privacy Act (UCPA) | Utah, United States |
| Florida Digital Bill of Rights (FDBR) | Florida, United States |
| Oregon Consumer Privacy Act (OCPA) | Oregon, United States |
| Texas Data Privacy and Security Act (TDPSA) | Texas, United States |
| Montana Consumer Data Privacy Act (MCDPA) | Montana, United States |
| Iowa Consumer Data Protection Act (ICDPA) | Iowa, United States |
| Nebraska Data Privacy Act (NDPA) | Nebraska, United States |
| New Hampshire Data Privacy Act (NHDPA) | New Hampshire, United States |
| Delaware Personal Data Privacy Act (DPDPA) | Delaware, United States |
| New Jersey Data Privacy Act (NJDPA) | New Jersey, United States |
| Tennessee Information Protection Act (TIPA) | Tennessee, United States |
| Minnesota Consumer Data Privacy Act (MNCDPA) | Minnesota, United States |
| Maryland Online Data Privacy Act (MODPA) | Maryland, United States |
| Rhode Island Data Transparency and Privacy Protection Act (RIDTPPA) | Rhode Island, United States |
| Kentucky Consumer Data Protection Act (KCDPA) | Kentucky, United States |
| Indiana Consumer Data Protection Act (ICDPA) | Indiana, United States |
Age-restricted users specification
Use the API when a framework or policy requires non-behavioral (contextual only) ad delivery, typically for content directed to children or younger users.
setNonBehavioral()Framework | Region |
|---|---|
| COPPA / CARU |
|
| Google Play Families Policy |
|