blaugold / user_messaging_platform

A flutter plugin which provides a Dart API for the User Messaging Platform (UMP) SDK, which is the Consent Management Platform (CMP) SDK provided as part of Google's Funding Choices.
https://pub.dev/packages/user_messaging_platform
MIT License
9 stars 5 forks source link

Always ConsentType.unknown #11

Closed stoppiNeobiz closed 3 years ago

stoppiNeobiz commented 3 years ago

Hi, I'm testing the plugin, why it always gives me ConsentType.unknown? Thanks.

blaugold commented 3 years ago

Hey @stoppiNeobiz. The plugin just passes through the consentType it gets from the UserMessagingPlatform SDK. For what its worth, I always get ConsentType.unknown in my apps, too. Maybe the AdMob support has more info.

stoppiNeobiz commented 3 years ago

hi @blaugold. Thanks for the quick response, so are we comfortable with regards to personalized ads? thanks

blaugold commented 3 years ago

Since the UMP SDK implements IAB TCF and because of that the users choices are encoded in the TC string, which is sent with each ad request, enabling personalized ads should be fine. It's up to the ad vendors to verify consent, based on the TC string.

stoppiNeobiz commented 3 years ago

perfect, I ask you one last question, I use mediations through admob, this consent I guess covers them too, right?

blaugold commented 3 years ago

You need to make sure that each SDK of the mediation partner supports IAB TCF. Here you can find the docs regarding the UMP SDK and mediation.

blaugold commented 3 years ago

Closing this since ConsentType API has been removed (028967acba9b5a205573078e22cf78b72ef7c761).