[C#} Bing Ads API无法更新显示错误代码的广告系列:1155 - 无法更新广告系列的广告系列类型字段。 [英] [C#}Bing Ads API cannot update campaign showing error code : 1155 - the campaign type field of a campaign cannot be updated.

查看:62
本文介绍了[C#} Bing Ads API无法更新显示错误代码的广告系列:1155 - 无法更新广告系列的广告系列类型字段。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试更新广告系列时,日志文件显示错误消息。

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.

推荐答案

任何人都可以帮助我吗?请 

anyone can help me? please 

谢谢。


这篇关于[C#} Bing Ads API无法更新显示错误代码的广告系列:1155 - 无法更新广告系列的广告系列类型字段。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆