[UMP] how to handle errors while request update is a must?

234 views
Skip to first unread message

peter

unread,
Jul 25, 2023, 7:08:41 AM7/25/23
to Google Mobile Ads SDK Developers
eg, android, 4 error types:
1 INTERNAL_ERROR
2 INTERNET_ERROR

3 INVALID_OPERATION

4 TIME_OUT 
do we need to make retry until success before open the app? or anything elsewhere alternatives?

Mobile Ads SDK Forum Advisor

unread,
Jul 25, 2023, 9:45:19 AM7/25/23
to peterw...@gmail.com, google-adm...@googlegroups.com
Hello Peter,

Thank you for reaching out to us.

For clarification, are you referring to form error codes (https://developers.google.com/admob/android/privacy/api/reference/com/google/android/ump/FormError.ErrorCode)?

If yes, then one option is to retry until the form is shown successfully at app launch. Another approach is to let the user proceed with the app and try again in the next app launch. But with the latter implementation, ads will not be served until the form is shown successfully and the user gives their consent.

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

Thanks,
 
Google Logo Mobile Ads SDK Team
 

peter

unread,
Jul 25, 2023, 11:09:32 AM7/25/23
to Mobile Ads SDK Forum Advisor, google-adm...@googlegroups.com
Found that the error rate is high, gdpr report shows only shown count and consent rate

But I see that in crash report, the error count is many times the shown count 

And the form error won't tell about the reason, which I opened an issue in github

And is the error rate reasonable? several times higher than shown count

Mobile Ads SDK Forum Advisor

unread,
Jul 25, 2023, 1:17:58 PM7/25/23
to peterw...@gmail.com, google-adm...@googlegroups.com

Hi Peter,

Thank you for your response.

Can you provide us the following information below so we can further check this in our end?

  • Sample app project where the error are reproducible
  • Steps to replicate
  • Full crash report
  • SDK version used
  • App ID
  • Device name and versions affected

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=5004Q00002nSKefQAG&entry.80707362=00189862

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. 

peter

unread,
Jul 26, 2023, 2:54:27 AM7/26/23
to Mobile Ads SDK Forum Advisor, google-adm...@googlegroups.com
Just to report that 
I have 40 users has the request update error, but only 3 messages shown 

And I can't see error code, working on it by rethrown my error extended and override toString

Mobile Ads SDK Forum Advisor

unread,
Jul 26, 2023, 9:02:37 AM7/26/23
to peterw...@gmail.com, google-adm...@googlegroups.com
Hi Peter.

Could you kindly confirm if the reported issue is locally reproducible to your end? If so, kindly share to us at least a test project, so we could further investigate. Please share it to us using the steps below:
Reply all
Reply to author
Forward
0 new messages