We retry when we see these errors: ReportDownloadError.ERROR_GETTING_RESPONSE_FROM_BACKEND ReportDownloadError.INTERNAL_SERVER_ERROR ReportDownloadError.ERROR_WRITING_REPORT_TO_FILE InternalApiError.UNEXPECTED_INTERNAL_API_ERROR AuthorizationError.CUSTOMER_SYNC_DISABLED DatabaseError.CONCURRENT_MODIFICATION RateExceededError.RATE_EXCEEDED AuthenticationError.OAUTH_TOKEN_INVALID
Also, any error that contains the following strings: "temporary error" "try again" "404" Oliver On Tuesday, November 18, 2014 9:35:34 PM UTC, 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 [email protected] To unsubscribe from this group, send email to [email protected] 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 [email protected]. 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/85d91b22-860b-4cc3-9f06-ca9dca9ce6e6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
