Reputation: 689
I'm trying to implement UE consent that lets the user select if he wants personalized ads in Android, using Admob. I'm doing this with "Funding choices", with the user messaging platform.
I followed this quick start guide:
https://developers.google.com/admob/ump/android/quick-start
To simplify, I selected only google in my providers lists.
The problem is, when I simulate a user from the ue, the form shows. But when I choose personalized or non-personalized, the consent status changes to OBTAINED, but the consent type remains in UNKNOWN.
I'm using this versions of admob and ump:
implementation 'com.google.android.gms:play-services-ads:19.3.0'
implementation 'com.google.android.ump:user-messaging-platform:1.0.0'
Upvotes: 25
Views: 6647
Reputation: 277
I was facing the same issue, but a Google Engineer pointed me in the right direction. Apparently this is the default behavior if you're using the IAB TCF v2 framework. The consent type is only applicable to the simplified version of the form. The full conversation can be found here Since the Google documentation is lacking information I had to dig a little deeper to find the answer on the IAB Techlab Github.
To find the Consent status of your user all you need is SharedPreferences(Android) OR NSUserDefaults(iOS) the key value pairs and full explanation can be found here
So to solve your problem be sure to check out the In-App Details section:
I hope this answers your question, but if your stuck somewhere please let me know!
Upvotes: 5