Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: provide samples for handling UMP results to detect consent for GDPR and US regulations (CCPA) #136

Open
AndroidDeveloperLB opened this issue Jan 21, 2025 · 0 comments

Comments

@AndroidDeveloperLB
Copy link

Sadly Google doesn't provide an easy way to detect what the user has chosen, and just provides a link to here;
https://github.com/InteractiveAdvertisingBureau/Global-Privacy-Platform/blob/main/Core/CMP%20API%20Specification.md

This is why various questions about it remain unanswered, with weird workarounds too:

Please provide some sample code for Android, as various ad-sources for mediation require, to query and return a boolean (or anything suitable) for these:

  1. User has approved/rejected the terms for the ad-consent for GDPR:

https://developers.google.com/admob/android/privacy/gdpr

  1. User has approved/rejected the terms for the ad-consent for US

https://developers.google.com/admob/android/privacy/us-iab-support

Right now it's a nightmare to handle. Even if I ask Admob or the ad-sources themselves, they will just blame each other for not helping.

And when I recently tried to use UMP for US regulations, I can't find what is changing despite the docs specifying some keys should change according to my choice:

https://issuetracker.google.com/issues/391129956

I don't get how even for a simple dialog with 2 options to choose from, it has to be complicated and I need to reach some other website that fails to show how it's done for the SDK, where all I need is a boolean to tell me what the user has chosen:

https://developers.google.com/admob/android/privacy/us-iab-support#read-consent-choices

In the end, what ad-sources want is a boolean for GDPR and a boolean for US, and even then, the links can often point to web-pages that don't exist anymore. Example:

https://developers.google.com/admob/android/mediation/chartboost#kotlin

I can't reach these:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant