Hi, This is certain possible, but it is more of a generic programming question and not specific to the AdWords API. When an error occurs during a request a SoapFault exception will be thrown, that you can catch and handle.
Best, - Eric Koleda, AdWords API Team On Jul 29, 9:09 am, phpguy <cpwils...@gmail.com> wrote: > Yesterday I began running a script that adds 75,000 adgroups. It > created 860 successfully and then had an "Internal API Server" error. > I restarted the script and it has now created 10,000 roughly and is > still running. > > My question: Is there a way to create a catch that when an internal > server api error occurs, it pauses for 10 minutes and then starts back > up at the last point where it failed in the code? I don't want to > restart all the code because it burns API units but if I can't do the > first option then I'd be interested in making the whole script start > automatically (prefer starting where it last encountered the error). > > Thanks for your help! -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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