2016-02-07 47 views
0

我的Java客户端Linux机器上运行,并且后面的Web代理工作(使用鱿鱼Web代理)Bing Ads广告背后

我的代理配置为打开“服务端点”,在页面中的Web代理API https://msdn.microsoft.com/en-us/library/bing-ads-overview-web-service-addresses.aspx 而到了重定向URL:https://login.live.com/oauth20_desktop.srf

我得到附加的错误:

com.microsoft.bingads.InternalException: Internal BingAds SDK exception has occured 
at com.microsoft.bingads.internal.LiveComOAuthService.getAccessTokens(LiveComOAuthService.java:101) ~[microsoft.bingads-10.4.2.jar:na] 
at com.microsoft.bingads.internal.OAuthWithAuthorizationCode.requestAccessAndRefreshTokens(OAuthWithAuthorizationCode.java:110) ~[microsoft.bingads-10.4.2.jar:na] 
at com.microsoft.bingads.internal.OAuthWithAuthorizationCode.refreshTokensIfNeeded(OAuthWithAuthorizationCode.java:142) ~[microsoft.bingads-10.4.2.jar:na] 

我使用的Bing Ads API SDK 1.4.2

我的问题是如何添加到我的代理以使我的通话成功

回答

1

您是否仍在观察此问题?对于疑难解答,它可能有助于使用Fiddler等工具来捕获网络流量。您可以设置代理如下:

System.setProperty("https.proxyHost", "127.0.0.1"); 
System.setProperty("https.proxyPort", "8888"); 

欲了解更多信息,请参阅troubleshooting guide,或随意contact support随时随地。

相关问题