问题描述
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.
As far as I experience / understand Google Funding Choices through User Messaging Platform (actually it is not even clear why this has two different name) is TOTALLY USELESS WITHIN THE EU.
You are welcome to correct me, but as I experience on 8.3.2021:
If user clicks "Manage options" and then "Submit" and leaves the "Store and/or access information on a device" switch OFF then AdMob does not show any advertisement to the user. Thus, you may end up paying for resources (cloud services, employee, etc.) to provide a free app to your user. Based on the starting date of emerging the issue (the date of the posts and comments I see in this topic) it is a low priority problem to Google and/or to AdMob. consentInformation.getConsentType() always returns value 0. This actually proves (or at least I think) that how low priority this issue has on their list. It would be possible to check whether user consented to serve non-personalized ads at least through this getter. Then we could show him instructions how to properly opt-out and let him use the app for free. However, it seems that this is out of the interests of the developers.
Once again, anybody is welcome to correct me, maybe only I had this negative experience.
这篇关于如何正确实施 UMP SDK 以获得欧盟同意?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!