TL;DR: How do I read the Google UMP result to pass them to the Unity Ads SDK.
Google requires a certified provider to handle Privacy Options. One being certified is the Google UMP itself.
I have that up and running using the Google Mobile Ads SDK for Unity.
I have UnityAds as additional provider configured → it is visible in the form in my App.
Looking at this Tutorial (GDPR compliance (unity.com)) UnityAds will not read the results from UMP by itself. You have to pass the Values from UMP to the Unity Ads SDK.
Once you obtained the values, passing them is easy.
BUT: How do I read the results from Google UMP? From what I have researched the result should be in the
“IABTCF_PurposeConsents” (see GDPR IAB support | Unity | Google for Developers)
But that does not seem to react to me making Changes to the Unity Settings in UMP, only to Both being on:
Google On, Unity On 1011
Google Off, Unity On 0
Google On, Unity Off 0
Google Off, Unity Off 0
Consent All 1011
EDIT: Purpose Consent seems / is obviously(?) reacting to “Accept All OR Reject whatever”
Has anyone been successful using UMP to query the settings for UnityAds?
Cheers.