沙盒与v8到v9的区别? [英] Sandbox difference from v8 to v9?

查看:224
本文介绍了沙盒与v8到v9的区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在从版本8升级到广告中心API的第9版,并且已经拥有一些沙盒帐户,我已将所有.jars升级到新版本并将端点更新为v9网址。

We are upgrading from version 8 to version 9 of the Ad Center API and already had some sandbox accounts, I've upgraded all of our .jars to the new version and updated the endpoints to the v9 urls.

我要求帐户的所有广告系列并返回错误代码105"InvalidCredentials","验证失败。提供的凭据无效或帐户处于非活动状态"。  但是我可以用我在这里使用的帐户
登录用户界面。

I'm asking for all campaigns for an account and getting back a error code 105 "InvalidCredentials", "Authentication failed. Either supplied credentials are invalid or the account is inactive".  But I'm able to log in the the UI with the account I'm using here.

代码示例:

GetCampaignsByAccountIdResponse getCampaignsByAccountIdResponse = campaignManagement.getCampaignsByAccountId(getCampaignsByAccountIdRequest);

GetCampaignsByAccountIdResponse getCampaignsByAccountIdResponse = campaignManagement.getCampaignsByAccountId(getCampaignsByAccountIdRequest);

标题:

Headers:

[< ns1:ApplicationToken soapenv :演员= QUOT; HTTP://schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand属性= QUOT; 0"的xsi:type = QUOT; XSD:串QUOT; xmlns:ns1 ="名称:https://bingads.microsoft.com/CampaignManagement/v9"的xmlns:的xsi = QUOT; HTTP://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd =" http://www.w3.org/2001/XMLSchema" xmlns:soapenv =" http://schemas.xmlsoap.org/soap/envelope/">< / ns1:ApplicationToken>,< ns1:DeveloperToken soapenv:actor =" http://schemas.xmlsoap .ORG /肥皂/演员/下一步] soapenv:mustUnderstand属性= QUOT; 0"
xsi:type =" xsd:string" xmlns:ns1 ="名称:https://bingads.microsoft.com/CampaignManagement/v9"的xmlns:的xsi = QUOT; HTTP://www.w3.org/2001/XMLSchema-instance"的xmlns:XSD = QUOT; HTTP://www.w3.org/2001/XMLSchema" xmlns:soapenv =" http://schemas.xmlsoap.org/soap/envelope/"> BBD37VB98< / ns1:DeveloperToken> ;,
< ns1:UserName soapenv:actor =" http:/ /schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand属性= QUOT; 0"的xsi:type = QUOT; XSD:串QUOT; xmlns:ns1 ="名称:https://bingads.microsoft.com/CampaignManagement/v9"的xmlns:的xsi = QUOT; HTTP://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd =" http://www.w3.org/2001/XMLSchema" xmlns:soapenv =" http://schemas.xmlsoap.org/soap/envelope/"> USER_NAME< / ns1:UserName>,< ns1:密码soapenv:actor =" http://schemas.xmlsoap .ORG /肥皂/演员/下一步] soapenv:mustUnderstand属性= QUOT; 0"
xsi:type =" xsd:string" xmlns:ns1 ="名称:https://bingads.microsoft.com/CampaignManagement/v9"的xmlns:的xsi = QUOT; HTTP://www.w3.org/2001/XMLSchema-instance"的xmlns:XSD = QUOT; HTTP://www.w3.org/2001/XMLSchema" xmlns:soapenv =" http://schemas.xmlsoap.org/soap/envelope/"> PASSWORD< / ns1:Password>,
< ns1:CustomerAccountId soapenv:actor =" http:/ /schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand属性= QUOT; 0"的xsi:type = QUOT; XSD:长" xmlns:ns1 ="名称:https://bingads.microsoft.com/CampaignManagement/v9"的xmlns:的xsi = QUOT; HTTP://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd =" http://www.w3.org/2001/XMLSchema" xmlns:soapenv =" http://schemas.xmlsoap.org/soap/envelope/"> CUSTOMER_ACCOUNT_ID< / ns1:CustomerAccountId>,< ns1:CustomerId soapenv:actor =" http://schemas.xmlsoap .ORG /肥皂/演员/下一步]
soapenv:mustUnderstand =" 0"的xsi:type = QUOT; XSD:长" xmlns:ns1 ="名称:https://bingads.microsoft.com/CampaignManagement/v9"的xmlns:的xsi = QUOT; HTTP://www.w3.org/2001/XMLSchema-instance"的xmlns:XSD = QUOT; HTTP://www.w3.org/2001/XMLSchema"
xmlns:soapenv =" http://schemas.xmlsoap.org/soap/envelope/"> CUSTOMER_ID< / ns1:CustomerId>]

[<ns1:ApplicationToken soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand="0" xsi:type="xsd:string" xmlns:ns1="Name: https://bingads.microsoft.com/CampaignManagement/v9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"></ns1:ApplicationToken>, <ns1:DeveloperToken soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand="0" xsi:type="xsd:string" xmlns:ns1="Name: https://bingads.microsoft.com/CampaignManagement/v9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">BBD37VB98</ns1:DeveloperToken>, <ns1:UserName soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand="0" xsi:type="xsd:string" xmlns:ns1="Name: https://bingads.microsoft.com/CampaignManagement/v9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">USER_NAME</ns1:UserName>, <ns1:Password soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand="0" xsi:type="xsd:string" xmlns:ns1="Name: https://bingads.microsoft.com/CampaignManagement/v9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">PASSWORD</ns1:Password>, <ns1:CustomerAccountId soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand="0" xsi:type="xsd:long" xmlns:ns1="Name: https://bingads.microsoft.com/CampaignManagement/v9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">CUSTOMER_ACCOUNT_ID</ns1:CustomerAccountId>, <ns1:CustomerId soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand="0" xsi:type="xsd:long" xmlns:ns1="Name: https://bingads.microsoft.com/CampaignManagement/v9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">CUSTOMER_ID</ns1:CustomerId>]

感谢您的支持提前帮助。

Thanks for your help in advance.

推荐答案

您好。

如果您使用的是生产JAR,可能会发生这种情况使用沙箱凭据。如果您使用
中的步骤生成JAR
入门使用带有Bing Ads Services的Java
,请务必使用正确的WSDL(沙箱或生产)。

This could occur if you are using production JARs with sandbox credentials. If you are generating the JARs using the steps in Getting Started Using Java with Bing Ads Services, be sure to use the correct WSDL (either sandbox or production).

有关105错误以及如何升级的详细信息,请参阅MSDN上的本指南:

http://msdn.microsoft.com/en-US/library/aa983155.aspx

For more information on 105 errors and how to escalate, please see this guide on MSDN:
http://msdn.microsoft.com/en-US/library/aa983155.aspx

我希望这有帮助! 

I hope this helps! 


这篇关于沙盒与v8到v9的区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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