Re: Internal API error while Mutating BiddingStrategy

2015-03-17 Thread João Aparício
Alright thanks :-) On Monday, March 16, 2015 at 9:06:41 PM UTC, Josh Radcliff (AdWords API Team) wrote: > > Hi, > > Sorry, I forgot you're already targeting by ad group. In that case, > there's no need to worry about campaign-level batching since an ad group > only exists in one campaign. > > T

Re: Internal API error while Mutating BiddingStrategy

2015-03-16 Thread Josh Radcliff (AdWords API Team)
Hi, Sorry, I forgot you're already targeting by ad group. In that case, there's no need to worry about campaign-level batching since an ad group only exists in one campaign. Thanks, Josh, AdWords API Team On Monday, March 16, 2015 at 2:05:05 PM UTC-4, João Aparício wrote: > > Hi again Josh, >

Re: Internal API error while Mutating BiddingStrategy

2015-03-16 Thread João Aparício
Hi again Josh, Are you saying that even though those operations target a certain AdGroupId, grouping together adgroups that belong to the same campaign is faster? On Monday, March 16, 2015 at 5:23:52 PM UTC, Josh Radcliff (AdWords API Team) wrote: > > Hi, > > Glad to hear that reducing the #

Re: Internal API error while Mutating BiddingStrategy

2015-03-16 Thread Josh Radcliff (AdWords API Team)
Hi, Glad to hear that reducing the # of operations helped. You may also want to consider grouping operations as specified in the best practices guide , if you are not already doing so. Thanks, Josh, AdWords

Re: Internal API error while Mutating BiddingStrategy

2015-03-16 Thread João Aparício
Hi Josh, No, that doesn't work. The unexpected_internal_api_error happens repeatedly (even though, like I said, some times the bidding strategy IS changed even though an error is thrown), and retrying doesn't help. What did help was lowering the number of operations in the mutate chunk from 50

Re: Internal API error while Mutating BiddingStrategy

2015-03-15 Thread Josh Radcliff (AdWords API Team)
Hi Joao, An *UNEXPECTED_INTERNAL_API_ERROR* is, as you suspected, often due to a timeout occurring while we process your request. As a general rule, you should implement error handling and retry logic as specified in our best practices guide

Internal API error while Mutating BiddingStrategy

2015-03-15 Thread João Aparício
Hi there, This is happening some times: Server raised fault: 'InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ com.google.ads.api.services.common.error.InternalApiError.(InternalApiErro' The python code is adgroup_service = client.GetService('AdGroupService', version='v201409