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 alwaysrequestConsentInfoUpdate
and callisConsentFormAvailable
insideonConsentInfoUpdateSuccess
. 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 storage
In 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 providers
where there are 198 ad tech providers. Or including ad tech providers in Funding Choices is enough.