Re: ReportUtilities.DownloadClientReport throws ReportsException with empty Errors array

2014-06-19 Thread Ray Tsang (AdWords API Team)
Peter, Thanks for filing the issue! My colleague will see if there is something that can be enhanced in the library to propagate the error. Cheers, Ray On Thursday, June 19, 2014 2:06:30 PM UTC-4, Ray Tsang (AdWords API Team) wrote: > > Peter, > > Shoot! Could I trouble you to open an issue i

Re: ReportUtilities.DownloadClientReport throws ReportsException with empty Errors array

2014-06-19 Thread Ray Tsang (AdWords API Team)
Peter, Shoot! Could I trouble you to open an issue in GitHub against the client library? https://github.com/googleads/googleads-adwords-dotnet-lib/issues Thanks! Ray On Thursday, June 19, 2014 11:07:55 AM UTC-4, Peter Kingswell wrote: > > Hi Ray, > > InnerException is null. > > PK > > > On 18

Re: ReportUtilities.DownloadClientReport throws ReportsException with empty Errors array

2014-06-19 Thread Peter Kingswell
Hi Ray, InnerException is null. PK On 18 June 2014 13:54, Ray Tsang (AdWords API Team) < adwordsapiadvisor+...@google.com> wrote: > Peter, > > Please check the InnerException > > property. It should contain the cau

Re: ReportUtilities.DownloadClientReport throws ReportsException with empty Errors array

2014-06-18 Thread Ray Tsang (AdWords API Team)
Peter, Please check the InnerException property. It should contain the cause, which should be an instance of the WebException class

Re: ReportUtilities.DownloadClientReport throws ReportsException with empty Errors array

2014-06-18 Thread Peter Kingswell
Hi Ray, this is the only account (of hundreds) that has returned 401. Usually we catch AdWordsCredentialsExpiredException or look for REPORT_MISMATCH_ERROR or NOT_ADS_USER_ERROR or USER_PERMISSION_DENIED. What does 401 actually mean, just bad credentials? Also, the exception really shouldn't sa

Re: ReportUtilities.DownloadClientReport throws ReportsException with empty Errors array

2014-06-18 Thread Peter Kingswell
forgot to ask - how do I tell from the ReportsException object that it's a 401? On 18 June 2014 11:42, Peter Kingswell wrote: > Hi Ray, > > this is the only account (of hundreds) that has returned 401. Usually we > catch AdWordsCredentialsExpiredException or look for REPORT_MISMATCH_ERROR > or

Re: ReportUtilities.DownloadClientReport throws ReportsException with empty Errors array

2014-06-18 Thread Ray Tsang (AdWords API Team)
Peter, Thanks for providing the information! HTTP 401 error is a standard HTTP error for unauthorized access. The response payload is actually HTML - hence the error objects are empty because it isn't the same service errors that you normally get. Please recheck the credentials. Also - *Cli

Re: ReportUtilities.DownloadClientReport throws ReportsException with empty Errors array

2014-06-17 Thread Ray Tsang (AdWords API Team)
Peter, Please refer to this documentation: https://github.com/googleads/googleads-adwords-dotnet-lib/wiki/How-to-capture-SOAP-messages#option-2-use-fiddler You may also want to make sure gzip is disabled so that the captured text is readable. Secondly - are you using selectors or AWQL? Is the

Re: ReportUtilities.DownloadClientReport throws ReportsException with empty Errors array

2014-06-17 Thread Ray Tsang (AdWords API Team)
Peter, Please send me the request/response log and the application error log by using the reply to author feature. Thanks, Ray On Tuesday, June 17, 2014 10:17:05 AM UTC-4, Peter Kingswell wrote: > > Hi, > > for a particular account (can supply details) a > Google.Api.Ads.AdWords.Util.Reports.

ReportUtilities.DownloadClientReport throws ReportsException with empty Errors array

2014-06-17 Thread Peter Kingswell
Hi, for a particular account (can supply details) a Google.Api.Ads.AdWords.Util.Reports.ReportsException is thrown and as usual it says "Report download errors occurred, see errors field for more details.". The problem is that ReportsException.Errors is an empty array and hence not terribly u