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.
Starting from version 2.80, the Yandex Mobile Ads SDK allows you to restrict the collection of data for users located in the European Economic Area and Switzerland who have not given 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 connect the Yandex Mobile Ads SDK.
- 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);