Mobile Ads
Class contains logic that applies to the Mobile Ads SDK as a whole. Right now, the only methods in it are used for enabling SDK logs, getting SDK version and enabling visibility error indicator.
Functions
Enable or disable visibility error indicator in Debug Mode. Indicator is enabled by default.
Enables SDK logs. Logs are disabled by default.
Initializes the Yandex Mobile Ads SDK internal state.
Set a value indicating whether user is a child or undefined age. If the value is set to true personal data will not be collected.
Enable or disable reporting for ad events that are automatically sent to AppMetrica for applications. App ad analytics enabled by default.
Enables location usage for ad loading. Disabled by default Location permission is still required to be granted additionally to the consent.
Set a value indicating whether user from GDPR region allowed to collect personal data which is used for analytics and ad targeting. If the value is set to false personal data will not be collected.
Launches SDK debug panel.