I have lots of confusion regarding the implementation of the UMP SDK. I have not found much information or a complete tutorial other than google. I am following this and this but unable to understand bellow issues:
Is it required to call
MobileAds.initialize()after getting the requesting consent? If so, then where should it be called? It might be called after obtaining the consent:public void onConsentFormLoadSuccess(ConsentForm consentForm) { if(consentInformation.getConsentStatus() == ConsentInformation.ConsentStatus.OBTAINED) { } }How would I check if a user is not from EEA? I wanted to request consent or initialize mobile ads based on user location. In Consent SDK, there is a method
isRequestLocationInEeaOrUnknown(), but this SDK is deprecated. I have not found something similar in UMP SDK. One approach might be to alwaysrequestConsentInfoUpdateand callisConsentFormAvailableinsideonConsentInfoUpdateSuccess. This method returns false if the user is not from EEA.I am always getting consent type
consentInformation.getConsentType()0 or UnKnown. I have tried with different combination but always 0.Is it required to forward consent information to AdMob SDK or SDK will handle it.
Regarding mediation, I need the consent information but do not know how to get it. From docs:
The UMP SDK writes consent status information to local storageIn AdMob -> EU user consent, One of my mediation partners is not included in the
Commonly used set of ad technology providers. If I useCustom set of ad technology providers, do I need to include all ofCommonly used set of ad technology providerswhere there are 198 ad tech providers. Or including ad tech providers in Funding Choices is enough.
I have the same doubts, in particular on point 3, even in my case the consent type is always 0. I saw in this video that based on that value a different adRequest is initialized
About point 2, I set the Consentdebugsettings with user no EEA (DEBUG_GEOGRAPHY_NOT_EEA,little different from what was done on the official guide) and the method consentInformation.isConsentFormAvailable() returned false