googleads-consent-sdk-android
googleads-consent-sdk-android copied to clipboard
isRequestLocationInEeaOrUnknown() is failed
I tried to request the location in Estonia (EEA) but the results were always "false" ConsentInformation.getInstance(context).isRequestLocationInEeaOrUnknown(); or "https://adservice.google.com/getconfig/pubvendors"
i have the same issue...
Yes, tried to do something like this:
val consentInformation = ConsentInformation.getInstance(this)
consentInformation.addTestDevice("<DEVICE_ID>")
consentInformation.debugGeography = DebugGeography.DEBUG_GEOGRAPHY_EEA
val publisherIds = arrayOf("<PUBLISHER_IDS>")
consentInformation.requestConsentInfoUpdate(publisherIds, object: ConsentInfoUpdateListener {
override fun onFailedToUpdateConsentInfo(reason: String?) {
Log.d(TAG, "reason=$reason")
}
override fun onConsentInfoUpdated(consentStatus: ConsentStatus?) {
Log.d(TAG, "consentStatus " + consentStatus.toString() + "isEAA=${ConsentInformation.getInstance(applicationContext).isRequestLocationInEeaOrUnknown}")
}
})
But then it shows error in onFailedToUpdateConsentInfo
:
Could not parse Event FE preflight response
Did you manage to resolve this issue?
I am also having this error.
Please Assist
Hello , Did you solve this issue?