Hi

I'm trying to get the .NET client library code samples to return a criteria 
performance report but can't get the code to function. I'm getting an error 
when clicking the "Download Criteria Report button" on the 
AdWords.Examples.CSharp.OAuth test page.
The error is as following:

System.Net.HttpWebRequest.GetResponse() +1399
   Google.Api.Ads.AdWords.Util.Reports.ReportUtilities.DownloadReport(String 
downloadUrl, String postBody) in 
C:\Development\Projects\google.adwords.api\src\AdWords\Util\Reports\New\ReportUtilities.cs:183

[AdWordsReportsException: AdWordsReportsException: One or more AdWords Report 
download errors have occurred. 

ReportDownloadError.INVALID_VERSION. (Error: 
ReportDownloadError.INVALID_VERSION, FieldPath: , Trigger: )

]
   Google.Api.Ads.AdWords.Util.Reports.ReportUtilities.DownloadReport(String 
downloadUrl, String postBody) in 
C:\Development\Projects\google.adwords.api\src\AdWords\Util\Reports\New\ReportUtilities.cs:204
   Google.Api.Ads.AdWords.Util.Reports.ReportUtilities.GetReport() in 
C:\Development\Projects\google.adwords.api\src\AdWords\Util\Reports\New\ReportUtilities.cs:166
   Google.Api.Ads.Common.Util.Reports.AdsReportUtilities.GetResponse() in 
C:\Development\Projects\google.adwords.api\src\Common\Util\Reports\AdsReportUtilities.cs:162
   Google.Api.Ads.AdWords.Util.Reports.ReportUtilities.GetResponse() in 
C:\Development\Projects\google.adwords.api\src\AdWords\Util\Reports\New\ReportUtilities.cs:310
   
Google.Api.Ads.AdWords.Examples.CSharp.OAuth.Default.OnDownloadReportButtonClick(Object
 sender, EventArgs eventArgs) in 
C:\Development\Projects\google.adwords.api\examples\AdWords\csharp\oauth\Default.aspx.cs:100

[ApplicationException: Failed to download report.]
   
Google.Api.Ads.AdWords.Examples.CSharp.OAuth.Default.OnDownloadReportButtonClick(Object
 sender, EventArgs eventArgs) in 
C:\Development\Projects\google.adwords.api\examples\AdWords\csharp\oauth\Default.aspx.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 

What am i missing or doing wrong?

My main goal is to retrieve an XML feed that i can display on a webpage.

Regards 
Marianne

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/0e040199-ec2b-416d-a1e1-fbdab339091e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • AdWords ReportD... Marianne Hammer Larsen
    • Re: AdWord... 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum

Reply via email to