GDPR
General information
The General Data Protection Regulation (GDPR) came into effect in the spring of 2018. GDPR regulates how information about citizens of the European Economic Area and Switzerland can be collected and processed. Its intention is to protect the privacy of confidential data and to ensure the transparency of all processes related to the collection, storage and processing of information on the internet.
GDPR has extraterritorial reach and applies to all companies that process personal data of citizens of the European Economic Area and Switzerland, regardless of the company's location.
The Yandex Mobile Ads SDK for Compose Multiplatform gives you the option to restrict data collection for users located in the European Economic Area (EEA) and Switzerland if they haven't provided their consent.
Quick guide
The user's consent to the processing of their personal data must be passed to the SDK with every app launch.
- Follow these steps to add the Yandex Mobile Ads SDK to your Compose Multiplatform project.
- Show a dialog box prompting the user to consent to the processing of their personal data.
- Use the
setUserConsentmethod to pass the received value to the Yandex Mobile Ads SDK. Data collected from users in GDPR countries is only processed with the user's consent.
YandexAds.setUserConsent(true)