问题描述
当我尝试更新广告系列时,日志文件显示错误消息。
When I tried to update campaign, the log file shows error message.
错误代码:CampaignServiceCampaignTypeImmutable;错误消息:广告系列的广告系列类型字段无法更新。
Error Code: CampaignServiceCampaignTypeImmutable; Error Message: The campaign type field of a campaign cannot be updated.
我的代码如下:
If(updatedList.Count> 0){
If(updatedList.Count > 0){
BatchError [] campaignError = cms.UpdateCampaigns((long)accid,true,updatedList.ToArray());
BatchError [] campaignError = cms.UpdateCampaigns((long)accid, true, updatedList.ToArray());
foreach(campaignError2中的BatchError b)
foreach (BatchError b in campaignError2)
{
if(b == null){continue; }
if(b == null) { continue; }
Logger.Log("错误代码:" + b.ErrorCode +" ;;错误消息:" + b.Message +" ;; Detail:" + b。详情+"。");
Logger.Log("Error Code: " + b.ErrorCode+ "; Error Message: " + b.Message +"; Detail: " + b.Details + ".");
}
}
请告知如何解决此问题。谢谢。
Please advise how to fix this problem. Thanks.
推荐答案
谢谢。
这篇关于[C#} Bing Ads API无法更新显示错误代码的广告系列:1155 - 无法更新广告系列的广告系列类型字段。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!