我正在使用适用于 java 的 adwords API,但是当我尝试“变异”我的广告系列时,我收到此错误:AxisFault
故障代码:{http://schemas.xmlsoap.org/soap/envelope/}服务器故障子代码:故障字符串:[EntityNotFound.INVALID_ID @操作[0].operand;触发器:'CampaignId:93996448',EntityNotFound.INVALID_ID @操作[1].operand;trigger:'CampaignId: * ', EntityNotFound.INVALID_ID@operations[2].operand; trigger:'CampaignId: * ', EntityNotFound.INVALID_ID @ operations[3].operand; trigger:'CampaignId: * ', EntityNotFound.INVALID_ID@operations[4].operand; trigger:'CampaignId: * ', EntityNotFound.INVALID_ID @ operations[5].operand; trigger:'CampaignId: * ', EntityNotFound.INVALID_ID@operations[6].operand; 触发器:'CampaignId:*', EntityNotFound.INVALID_ID @操作[7].operand; 触发器:'CampaignId:* '
我不明白问题出在哪里,因为我已经将 adwords API 与 PHP 一起使用,并且从来没有出现过问题。
我创建了“CampaignCriterionOperation”操作的linkedList 2.add(new CampaignCriterionOperation(Operator.ADD,campaignCriterionType, new CampaignCriterion(campaign.getId(), location,campaignCriterionType)));
然后我改变campaing CampaignCriterionOperation[] operations = new CampaignCriterionOperation[operations2.size()]; CampaignCriterionReturnValue 结果=campaignServiceOperation.mutate(operations2.toArray(operations));