Google Ads API's isRetriable flag does not return true for certain type of errors

36 views
Skip to first unread message

Paid Media

unread,
Jun 3, 2022, 2:56:50 AM6/3/22
to Google Ads API and AdWords API Forum
Hi Google Ads team,

In one of the use cases when we are making use of Google Ads API for Audience sync to Ad platform throws ConcurrentModificationException. We expect this error should be retriable and hence wants to retry the API call. But, the corresponding API response does NOT return isRetriable flag value as TRUE. 

Could you explain why is that the case? And do you have a list which indicates the retriable errors in Google Ads APIs?

Thanks,
Paid Media

Google Ads API Forum Advisor

unread,
Jun 3, 2022, 9:48:48 AM6/3/22
to paid.m...@gmail.com, adwor...@googlegroups.com
Hi, 

To investigate issues on using audience sync to Ad platform in Ads API, could you please provide the complete API request and response logs with request-id and login-customer-id that generated on your end? If you haven't yet, logging can be enabled by navigating to the Client libraries > Your client library (ex. Java) > Logging documentation, which you can access from this link. You can provide it via the Reply privately to author option. If this option is not available, then send it instead on this email address googleadsa...@google.com.

Moving forward to this question "And do you have a list which indicates the retriable errors in Google Ads APIs ", I can refer you to these Error types.

Best regards,
Google Logo
Jinky
Google Ads API Team
 


ref:_00D1U1174p._5004Q2bbcQ3:ref

Paid Media

unread,
Jun 3, 2022, 10:06:37 AM6/3/22
to Google Ads API and AdWords API Forum
Hi

We have already gone through this article Error types. In this only internal_error is mentioned as one of the retriable errors. But we are looking for the full list of retriable errors so that we can handle them correctly. Could you please provide such a list?
If such a list doesn't exist then could you please provide another way to identify via API which error can be retried or not?

Google Ads API Forum Advisor

unread,
Jun 3, 2022, 10:30:48 AM6/3/22
to paid.m...@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for the reply. I am afraid that we don't have a document where retryable errors are listed. However, there are only two known retryable errors currently where temporary problems may be resolved by retrying the request after a short pause and they are internal_error and CONCURRENT_MODIFICATION.
Reply all
Reply to author
Forward
0 new messages