我正在尝试获取.NET客户端库代码示例以返回条件性能报告但无法使代码运行。单击AdWords.Examples.CSharp.OAuth测试页上的“下载条件报告按钮”时出现错误。
错误如下:
System.Net.HttpWebRequest.GetResponse()+ 1399 Google.Api.Ads.AdWords.Util.Reports.ReportUtilities.DownloadReport(String downloadUrl,String postBody)位于C:\ Development \ Projects \ google.adwords.api \ src \ AdWords \ Util \ Reports \ New \ ReportUtilities.cs中: 183
[AdWordsReportsException:AdWordsReportsException:发生了一个或多个AdWords报告下载错误。
ReportDownloadError.INVALID_VERSION。 (错误:ReportDownloadError.INVALID_VERSION,FieldPath :, Trigger:)]
Google.Api.Ads.AdWords.Util.Reports.ReportUtilities.DownloadReport(String downloadUrl,String postBody)位于C:\ Development \ Projects \ google.adwords.api \ src \ AdWords \ Util \ Reports \ New \ ReportUtilities的.cs:204 C:\ Development \ Projects \ google.adwords.api \ src \ AdWords \ Util \ Reports \ New \ ReportUtilities.cs中的Google.Api.Ads.AdWords.Util.Reports.ReportUtilities.GetReport():166 C:\ Development \ Projects \ google.adwords.api \ src \ Common \ Util \ Reports \ AdsReportUtilities.cs中的Google.Api.Ads.Common.Util.Reports.AdsReportUtilities.GetResponse():162 C:\ Development \ Projects \ google.adwords.api \ src \ AdWords \ Util \ Reports \ New \ ReportUtilities.cs中的Google.Api.Ads.AdWords.Util.Reports.ReportUtilities.GetResponse():310 C:\ Development \ Projects \ google.adwords.api \ examples \ AdWords \ csharp \ oauth \ Default.aspx中的Google.Api.Ads.AdWords.Examples.CSharp.OAuth.Default.OnDownloadReportButtonClick(对象发件人,EventArgs eventArgs)。 CS:100
[ApplicationException:无法下载报告。] C:\ Development \ Projects \ google.adwords.api \ examples \ AdWords \ csharp \ oauth \ Default.aspx中的Google.Api.Ads.AdWords.Examples.CSharp.OAuth.Default.OnDownloadReportButtonClick(对象发件人,EventArgs eventArgs)。 CS:104 System.Web.UI.WebControls.Button.OnClick(EventArgs e)+9712662 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)+204 System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)+12 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl,String eventArgument)+15 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)+35 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint,Boolean includeStagesAfterAsyncPoint)+1639
我错过了什么或做错了什么?
我的主要目标是检索可以在网页上显示的XML Feed。
任何线索?
答案 0 :(得分:0)