---
title: CCPA | Yodo1 MAS Documentation
description: What Is CCPA?​
---

[Skip to content](https://info.yodo1.com/migration/knowledge/docs/sdk/getting_started/legal/ccpa#main-content)

English

Show submenu for translations

![MAS LOGO.png\]](https://info.yodo1.com/hs-fs/hubfs/MAS%20LOGO.png?height=40&name=MAS%20LOGO.png)

Open main navigation

Close main navigation

- English
  
  Show submenu for translations
- Go to yodo1.com

 Go to yodo1.com

 How can we help?

- There are no suggestions because the search field is empty.

1. [MAS Knowledge Base](https://info.yodo1.com/migration/knowledge?hsLang=en)
2. [Documentation](https://info.yodo1.com/migration/knowledge/documentation?hsLang=en)
3. [legal](https://info.yodo1.com/migration/knowledge/documentation?hsLang=en#legal)

# CCPA | Yodo1 MAS Documentation

## What Is CCPA?

- <https://info.yodo1.com/?hsLang=en>
- Getting Started
- [Setup Legal Frameworks](https://info.yodo1.com/docs/sdk/getting_started/legal/?hsLang=en)
- CCPA

On this page

# CCPA

Important

- It’s mandatory to use a privacy dialog to comply with Play Store and App Store policies and also avoid any revenue loss.
- If you use MAS built-in privacy dialog, CCPA will be configured automatically.
- If you prefer using your own privacy dialog, you should add an agreement link to get the users’ consent to having their data collected and set CCPA manually.
- You need to set CCPA before initializing MAS.

## What Is CCPA?<https://info.yodo1.com/migration/knowledge/docs/sdk/getting_started/legal/ccpa#what-is-ccpa>

CCPA is a legal framework created by the state of California, in the USA, to protect privacy. Read [this FAQ](https://oag.ca.gov/privacy/ccpa) for details.

## How to set CCPA<https://info.yodo1.com/migration/knowledge/docs/sdk/getting_started/legal/ccpa#how-to-set-ccpa>

1. Determine the user’s location.
2. Use the location to trigger a message which asks users whether or not they consent to having their data collected. Here is an example, though we suggest changing the wording to better suit your audience.
3. Use the input to trigger a CCPA compliance method.

If the user has opted out:

- Unity
- Java
- Kotlin
- Swift
- Objective-C
- React Native

```
Yodo1U3dMas.SetCCPA(true);
```

```
Yodo1Mas.getInstance().setCCPA(true);
```

```
Yodo1Mas.getInstance().setCCPA(true);
```

```
Yodo1Mas.sharedInstance().isCCPADoNotSell = true
```

```
[Yodo1Mas sharedInstance].isCCPADoNotSell = Yes;
```

```
Yodo1MASAds.setCCPA(true);
```

If the user has NOT opted out:

- Unity
- Java
- Kotlin
- Swift
- Objective-C
- React Native

```
Yodo1U3dMas.SetCCPA(false);
```

```
Yodo1Mas.getInstance().setCCPA(false);
```

```
Yodo1Mas.getInstance().setCCPA(false);
```

```
Yodo1Mas.sharedInstance().isCCPADoNotSell = false
```

```
[Yodo1Mas sharedInstance].isCCPADoNotSell = NO;
```

```
import * as Yodo1MAS from './Yodo1Games';Yodo1MASAds.setCCPA(false);
```

## Next Steps<https://info.yodo1.com/migration/knowledge/docs/sdk/getting_started/legal/ccpa#next-steps>

- [Ad Units](https://info.yodo1.com/docs/sdk/getting_started/ad_units?hsLang=en)

- [News and Updates](https://info.yodo1.com/migration/knowledge/news-and-updates?hsLang=en)
- [Documentation](https://info.yodo1.com/migration/knowledge/documentation?hsLang=en#main-content)

    - [advanced](https://info.yodo1.com/migration/knowledge/documentation?hsLang=en#advanced)
    - [installing](https://info.yodo1.com/migration/knowledge/documentation?hsLang=en#installing)
    - [legal](https://info.yodo1.com/migration/knowledge/documentation?hsLang=en#legal)
    - [configure](https://info.yodo1.com/migration/knowledge/documentation?hsLang=en#configure)
    - [troubleshooting](https://info.yodo1.com/migration/knowledge/documentation?hsLang=en#troubleshooting)
    - [support](https://info.yodo1.com/migration/knowledge/documentation?hsLang=en#support)
    - [ad\_units](https://info.yodo1.com/migration/knowledge/documentation?hsLang=en#ad_units)
    - [best\_practice](https://info.yodo1.com/migration/knowledge/documentation?hsLang=en#best_practice)
    - [payments](https://info.yodo1.com/migration/knowledge/documentation?hsLang=en#payments)
    - [account\_set\_up](https://info.yodo1.com/migration/knowledge/documentation?hsLang=en#account_set_up)
    - [user\_management](https://info.yodo1.com/migration/knowledge/documentation?hsLang=en#user_management)
    - [welcome](https://info.yodo1.com/migration/knowledge/documentation?hsLang=en#welcome)
    - [getting\_started](https://info.yodo1.com/migration/knowledge/documentation?hsLang=en#getting_started)
    - [additional](https://info.yodo1.com/migration/knowledge/documentation?hsLang=en#additional)

[![Chill listening crop-3](https://info.yodo1.com/hs-fs/hubfs/Yodo1_logo_web-2.png?width=81&height=37&name=Yodo1_logo_web-2.png "Chill listening crop-3")](http://www.yodo1.com)

MAS Knowledge Base

<https://www.facebook.com/Yodo1Games/> <https://twitter.com/yodo1games> <https://www.linkedin.com/authwall?trk=gf&trkInfo=AQFmHf-kJKnzeAAAAX_0zxNwJm9yVFmRRn1peWCuMsAZ_4z_9_7fazOzfyBIxKqw8CKSV9u3eyx3bheNvlEbiI9DYEC6AYOuIpN5MBLOqeHOaWYRsqOC18zIcwdlXAbTdb-ut5w=&originalReferer=https://www.yodo1.com/&sessionRedirect=https%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fyodo1> <https://www.youtube.com/user/Yodo1Games>

Copyright © 2026, Yodo1