Hi there,
This is happening some times:
Server raised fault: 'InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ com.google.ads.api.services.common.error.InternalApiError.<init>(InternalApiErro'
The python code is
adgroup_service = client.GetService('AdGroupService', version='v201409')
adgroup_operations = [{
'operator':'SET',
'operand': {
'xsi_type':'AdGroup',
'id':adgroupid,
'biddingStrategyConfiguration': {
'biddingStrategyId': strategy_id
}
}
} for text_sorted,acc_id,adgroupid,kw_id in chunk]
logger.info('%s %s mutating bidstrategy %s operations' % (n,acc_id,len(adgroup_operations)) ) r = adgroup_service.mutate(adgroup_operations)
The things that is strange here is the following:
A) Whether this code throws an error or not depends on the account. For some accounts it always throws an error, for other accounts it never throws an error.
B) For the accounts where an error is thrown, most of the times the adgroup biddingstrategies ARE mutated! My issue here is that mutates where an error is thrown are really slow (I assume due to some sort of internal timeout?)
Some guidance would be very useful.
Best,
Joao