本文介绍了Adcenter - 从v5.1升级到v6时,Campaign导入失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我将MSN API从v5.1升级到v6。在导入广告系列时,它会在GetCampaignsByAccountId中出现以下错误:
< s:Envelope xmlns:s =" http://schemas.xmlsoap.org/soap/envelope/" >< S:车身> < s:故障>< faultcode> s:客户端< / faultcode>< faultstring xml:lang ="en-US">此故障的创建者未指定原因。< / faultstring> ;< detail>< ApiFaultDetail xmlns =""xmlns:i =" xmlns =" https://adapi.microsoft.com" > cb691878-274f-4eb2-97 6f-ac9fd2570cf8< / TrackingId>< BatchErrors />< OperationErrors>< OperationError>< Code> 1030< / Code>< Details i:nil ="true"/>< ErrorCode> ; CampaignServiceAccountIdHasToBeSpecified< / ErrorCode>< Message>必须为此操作指定帐户ID。< / Message>< / OperationError>< / OperationErrors>< / ApiFaultDetail>< / detail>< / s:故障>< / s:正文>< / s:信封>

即使我正在指定帐户ID,如以下SOAP请求中所示


< s:Envelope xmlns:s =" i:nil ="true"xmlns:h ="https://adcenter.microsoft.com/v6 "xmlns:i =" http://www.w3.org/2001/XMLS chema-instance"/>< h:CustomerAccountId i:nil ="true"xmlns:h =""xmlns:i =" http://www.w3.org/2001/XMLSchema-instance"/>< h:CustomerId i:nil ="true"xmlns:h ="https://adcenter.microsoft.com/v6 "xmlns:i =" http://www.w3.org/2001/XMLSchema-instance"/>< h:DeveloperToken xmlns:h = " xmlns:h =" https://adcenter.microsoft.com/v6" > ****< /小时:密码>< H :用户名 xmlns:h =" https://adcenter.microsoft.com/v6" > API_SendTraffic1< /小时:用户名>< ; / s:标题>< s:正文>< GetCampaignsByAccountIdRequest xmlns =" https://adcenter.microsoft.com/v6" >< ACCOUNTID> 12684< / ACCOUNTID>< / GetCampaignsByAccountIdRequest>< / s:Body>< / s:Envelope >

请帮助我知道我做错了什么。

谢谢
Navdeep

Hi,

I upgraded MSN APIs from v5.1 to v6. While importing campaigns it gives me the following error at GetCampaignsByAccountId :
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring xml:lang="en-US">The creator of this fault did not specify a Reason.</faultstring><detail><ApiFaultDetail xmlns="https://adcenter.microsoft.com/v6" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><TrackingId xmlns="https://adapi.microsoft.com">cb691878-274f-4eb2-976f-ac9fd2570cf8</TrackingId><BatchErrors/><OperationErrors><OperationError><Code>1030</Code><Details i:nil="true"/><ErrorCode>CampaignServiceAccountIdHasToBeSpecified</ErrorCode><Message>Account Id has to be specified for this operation.</Message></OperationError></OperationErrors></ApiFaultDetail></detail></s:Fault></s:Body></s:Envelope>


even though I am specifying Account ID as shown in the following SOAP request


<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:ApplicationToken i:nil="true" xmlns:h="https://adcenter.microsoft.com/v6" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"/><h:CustomerAccountId i:nil="true" xmlns:h="https://adcenter.microsoft.com/v6" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"/><h:CustomerId i:nil="true" xmlns:h="https://adcenter.microsoft.com/v6" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"/><h:DeveloperToken xmlns:h="https://adcenter.microsoft.com/v6">*******</h:DeveloperToken><h:Password xmlns:h="https://adcenter.microsoft.com/v6">****</h:Password><h:UserName xmlns:h="https://adcenter.microsoft.com/v6">API_SendTraffic1</h:UserName></s:Header><s:Body><GetCampaignsByAccountIdRequest xmlns="https://adcenter.microsoft.com/v6"><AccountId>12684</AccountId></GetCampaignsByAccountIdRequest></s:Body></s:Envelope>

Please help me knowing what am I doing wrong.

Thanks
Navdeep

推荐答案


这篇关于Adcenter - 从v5.1升级到v6时,Campaign导入失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-14 21:25