Hello, There is no programmatic way to tell whether an error should be retried or not. For each use case where you're accessing the API, you should determine yourself how to handle various error cases.
You can use our common errors <https://developers.google.com/adwords/api/docs/common-errors> page as a starting point, which goes into details on certain kinds of errors, but it is not exhaustive. Regards, Mike, AdWords API Team On Tuesday, November 18, 2014 4:35:34 PM UTC-5, Kristopher Windsor wrote: > > Hi, > > When the Adwords API throws an Exception, I'd like to know if I should > retry (intermittent errors) or not (bad input on my end). > I am using the PHP client library. > > For example, I should retry for this case: > InternalApiError.UNEXPECTED_INTERNAL_API_ERROR > > But not for this case: > BiddingError.BID_TOO_MANY_FRACTIONAL_DIGITS > > Is there some way to determine if I should retry, other than just building > a big list of retry-able / non-retry-able Exceptions? > > Thanks, > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/f7081869-0014-4109-b9a8-190f20fda729%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.