有没有办法从 APIError 中获取标准信息?
MutateJobService mutateJobService = (MutateJobService)user.GetService(AdWordsService.v201309.MutateJobService);
JobResult jobResult = mutateJobService.getResult(new BulkMutateJobSelector { includeStats = true, jobIds = jobIDs });
SimpleMutateResult results = (SimpleMutateResult)jobResult.Item;
if (results.errors != null)
{
foreach (ApiError apiError in results.errors)
{
// get criterion info
}
}
我发现很难获得有关特定错误的详细信息(这对于记录目的显然很重要)。任何帮助表示赞赏。