User consent
The Wortise SDK includes support for Google Ads Consent Manager (CMP) to request the consent of every user.
Obtaining the user consent is important to comply with the privacy policies and qualify for higher CPMs.
Request consent
Section titled “Request consent”To request the user consent, you need to invoke the method WortiseConsentManager.RequestIfRequired at an appropriate moment of the app. This will show a dialog, only when it is required (normally during the first app launch), so the user can grant or deny consent.
There is also the WortiseConsentManager.Request method to always show the dialog, and not only when required (for example, to provide an option in the app settings to allow the user change the consent at anytime).
Example
Section titled “Example”WortiseSdk.OnInitialized += () => { WortiseConsentManager.RequestIfRequired();};Wait for the result
Section titled “Wait for the result”Both methods accept an optional callback that is invoked when the request has finished. It receives a bool that indicates if the dialog has been shown, not if the user has granted consent.
We recommend loading the first ad from this callback, so the ads are requested once the user has made a choice:
WortiseSdk.OnInitialized += () => { WortiseConsentManager.RequestIfRequired((shown) => { // Load your ads here });};© 2026 Wortise. All rights reserved.