Jun 22, 2021 Replies: 5 ConsentManager SDK was removed from FirebaseAdMob2 as it can cause the app to be rejected in some cases (child directed apps). Google recommends using User Messaging Platform instead: https://www.b4x.com/android/forum/t...dmob2-google-mobile-ads-v20-0.129696/#content The attached library includes the old consent SDK and allows using it together with FirebaseAdmob2. Attachments OldGoogleConsent.zip OldGoogleConsent.zip 30.3 KB · Views: 814 Click to expand...
ConsentManager SDK was removed from FirebaseAdMob2 as it can cause the app to be rejected in some cases (child directed apps). Google recommends using User Messaging Platform instead: https://www.b4x.com/android/forum/t...dmob2-google-mobile-ads-v20-0.129696/#content The attached library includes the old consent SDK and allows using it together with FirebaseAdmob2.
mcqueccu Expert Licensed User Longtime User Jun 23, 2021 #2 Am a bit confuse. If Google recommends using UMP, in which case can we use this old google consent?
Erel B4X founder Staff member Licensed User Longtime User Jun 23, 2021 #3 If your app is not "child directed app" then you can currently keep using the old consent sdk (from a technical point of view).
If your app is not "child directed app" then you can currently keep using the old consent sdk (from a technical point of view).
Computersmith64 Well-Known Member Licensed User Longtime User Jul 2, 2021 #4 There is a problem with this. If the device is outside of the EU, the ConsentState comes back as UNKNOWN - which means when you request an ad through FirebaseAdmob2 (which is using Google Mobile Ads SDK v20+), it returns: failed to load ad: { "Code": 3, "Message": "No ad config.", "Domain": "com.google.android.gms.ads", "Cause": "null", "Response Info": { "Response ID": "null", "Mediation Adapter Class Name": "", "Adapter Responses": [] } } Click to expand... The result is you can never get an ad for a device that's not in the EU. - Colin.
There is a problem with this. If the device is outside of the EU, the ConsentState comes back as UNKNOWN - which means when you request an ad through FirebaseAdmob2 (which is using Google Mobile Ads SDK v20+), it returns: failed to load ad: { "Code": 3, "Message": "No ad config.", "Domain": "com.google.android.gms.ads", "Cause": "null", "Response Info": { "Response ID": "null", "Mediation Adapter Class Name": "", "Adapter Responses": [] } } Click to expand... The result is you can never get an ad for a device that's not in the EU. - Colin.
Erel B4X founder Staff member Licensed User Longtime User Jul 2, 2021 #5 I don't think that this message "no ad config" is related to the consent state. It is the same as the old "no fill" error.
I don't think that this message "no ad config" is related to the consent state. It is the same as the old "no fill" error.
Computersmith64 Well-Known Member Licensed User Longtime User Jul 2, 2021 #6 Erel said: I don't think that this message "no ad config" is related to the consent state. It is the same as the old "no fill" error. Click to expand... So on further testing, it works fine on devices running Android 10 & 7.0 - however I always get that error on my device running Android 12 (Beta 2 I think). I don't think it's a "no fill" error because if I test all 3 devices at the same time, I get ads on 2 & the error on the Android 12 device. Also, when I was testing consent using UMP, the "no ad config" error would come up unless I selected the "Personalized Ads" (or whatever the equivalent is) option. - Colin.
Erel said: I don't think that this message "no ad config" is related to the consent state. It is the same as the old "no fill" error. Click to expand... So on further testing, it works fine on devices running Android 10 & 7.0 - however I always get that error on my device running Android 12 (Beta 2 I think). I don't think it's a "no fill" error because if I test all 3 devices at the same time, I get ads on 2 & the error on the Android 12 device. Also, when I was testing consent using UMP, the "no ad config" error would come up unless I selected the "Personalized Ads" (or whatever the equivalent is) option. - Colin.