GoogleMobile Ads UMP

81 views
Skip to first unread message

Gabin Mbekeli

unread,
Aug 14, 2023, 7:58:23 AM8/14/23
to Google Mobile Ads SDK Developers
I have a problem with the google ump sdk, when calling the "ConsentInformation.Update(request, OnConsentInfoUpdated)" function.

if my request parameter has no "ConsentDebugSettings" it generates an error ( NullReferenceException: Object reference not set to an instance of an object ).


i'd like to know if it's absolutely necessary to add "ConsentDebugSettings", to call "ConsentInformation.Update(request, OnConsentInfoUpdated)" without generating an error. even if i don't want to test my mobile for ump

Mobile Ads SDK Forum Advisor

unread,
Aug 14, 2023, 1:19:55 PM8/14/23
to hotro...@gmail.com, google-adm...@googlegroups.com

Hi Gabin,

Thank you for reaching out to us.

With regard to your concern, if your app is not yet being release, then you may used "ConsentDebugSettings" for testing your app. As per our documentation guide (https://developers.google.com/admob/android/privacy) it mentioned that be sure to remove the code that sets these test device IDs before you release your app. If you still encountering error in your end, kindly provide us your sample app project for us to further check it in our end.

If the file(s) you are looking to share are less than 25mb in total you can attach them to this case on your next reply. If you are having trouble attaching your file to this case or if your file(s) are larger than 25mb, you can share your files with me by performing the following steps:

1. Navigate to https://docs.google.com/forms/d/e/1FAIpQLSfkAiXMeYP-fw1W3Z-tT9uwmATEKO5X6S-th0gR2ezdKaaqfg/viewform?usp=pp_url&entry.400550049=Mobile+Ads+SDK&entry.460850823=5004Q00002nruv7QAA&entry.80707362=00193287

2. Fill out all fields, and attach your file(s).

3. Please reply back on this thread when you have uploaded your file(s). Please do not share this link.

 
This message is in relation to case "ref:_00D1U1174p._5004Q2nruv7:ref"

Thanks,
 
Google Logo Mobile Ads SDK Team


Reply all
Reply to author
Forward
0 new messages