Exception on Ads pause and create

47 views
Skip to first unread message

Narendra Mohan

unread,
Oct 17, 2014, 4:54:16 AM10/17/14
to adwor...@googlegroups.com
Hi Team ,

We are getting below exception during below operations.

1.Pause Ad
2.Add Ad

Google.Api.Ads.AdWords.Lib.AdWordsApiException: An API exception has occurred. See ApiException and InnerException fields for more details. ---> System.Web.Services.Protocols.SoapException: [DatabaseError.DATABASE_ERROR @ ; trigger:'QuorumFailedException'] at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at Google.Api.Ads.Common.Lib.AdsSoapClient.MakeApiCall(String methodName, Object[] parameters) --- End of inner exception stack trace --- at Google.Api.Ads.Common.Lib.AdsSoapClient.MakeApiCall(String methodName, Object[] parameters) at Google.Api.Ads.Common.Lib.AdsSoapClient.Invoke(String methodName, Object[] parameters) at Google.Api.Ads.AdWords.v201402.MutateJobService.mutate(Operation[] operations, BulkMutateJobPolicy policy)

Please suggest me how can we avoid this exception ? 

We had a retry ( 5 times ) logic but still the ads are failing to Pause or Add.

Josh Radcliff (AdWords API Team)

unread,
Oct 18, 2014, 11:41:26 AM10/18/14
to adwor...@googlegroups.com
Hi,

That error generally indicates a transient problem, although I'm a bit surprised that it still failed after 5 retries. Do you sleep between your retries, preferably with an exponential backoff?

Thanks,
Josh, AdWords API Team

Josh Radcliff (AdWords API Team)

unread,
Oct 18, 2014, 11:43:23 AM10/18/14
to adwor...@googlegroups.com
I forgot to ask: could you pass along the date/times (including time zone) when you encountered this error, as well as the AdGroup ID and Ad IDs in your requests? That will allow me to check if there were any issues going on during the time you hit the errors.

Thanks,
Josh, AdWords API Team
Reply all
Reply to author
Forward
0 new messages