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 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 June 2014 13:54, Ray Tsang (AdWords API Team) <
>> adwordsapiadvisor+...@google.com> wrote:
>>
>>> Peter,
>>>
>>> Please check the InnerException 
>>> <http://msdn.microsoft.com/en-us/library/system.exception.innerexception.aspx>
>>>  
>>> property.  It should contain the cause, which should be an instance of the 
>>> WebException 
>>> <http://msdn.microsoft.com/en-us/library/system.net.webexception(v=vs.110).aspx>
>>>  
>>> class.
>>>
>>> Thanks,
>>>
>>> Ray
>>>
>>>
>>> On Wednesday, June 18, 2014 11:45:41 AM UTC-4, Peter Kingswell wrote:
>>>>
>>>> forgot to ask - how do I tell from the ReportsException object that 
>>>> it's a 401?
>>>>
>>>>
>>>> On 18 June 2014 11:42, Peter Kingswell <peterkingsw...@gmail.com> 
>>>> 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 NOT_ADS_USER_ERROR or 
>>>>> USER_PERMISSION_DENIED.  
>>>>>
>>>>> What does 401 actually mean, just bad credentials?  Also, the 
>>>>> exception really shouldn't say "see errors field for more details" if 
>>>>> that 
>>>>> field is a zero-length array.
>>>>>
>>>>> Regarding Client Login we're currently transitioning our customers to 
>>>>> OAuth.
>>>>>
>>>>> Cheers, Peter
>>>>>  
>>>>>
>>>>> On 18 June 2014 11:05, Ray Tsang (AdWords API Team) <
>>>>> adwordsapiadvisor+...@google.com> wrote:
>>>>>
>>>>>> 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 - *ClientLogin* authorization 
>>>>>> is sunsetting soon 
>>>>>> <https://developers.google.com/adwords/api/docs/guides/clientlogin-to-oauth2-migration-guide>!
>>>>>>  
>>>>>>  You *must* migrate to use OAuth 2.0 authorization instead.
>>>>>>
>>>>>> Cheers,
>>>>>>
>>>>>> Ray
>>>>>>
>>>>>> On Tuesday, June 17, 2014 3:59:43 PM UTC-4, Ray Tsang (AdWords API 
>>>>>> Team) wrote:
>>>>>>>
>>>>>>> Peter,
>>>>>>>
>>>>>>> Please refer to this documentation:
>>>>>>> https://github.com/googleads/googleads-adwords-dotnet-lib/wi
>>>>>>> ki/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 error consistent 
>>>>>>> or intermittent?  If it's AWQL, you can also send me the AWQL itself as 
>>>>>>> well.
>>>>>>>
>>>>>>> Thanks,
>>>>>>>
>>>>>>> Ray
>>>>>>>
>>>>>>> On Tuesday, June 17, 2014 1:51:02 PM UTC-4, Ray Tsang (AdWords API 
>>>>>>> Team) wrote:
>>>>>>>>
>>>>>>>> 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.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 useful for determining the problem.
>>>>>>>>>
>>>>>>>>> I tried peeking around the exception's privates but couldn't see 
>>>>>>>>> any clues.
>>>>>>>>>
>>>>>>>>> Anyone else see this?
>>>>>>>>>
>>>>>>>>> Cheers, Peter
>>>>>>>>>
>>>>>>>>   -- 
>>>>>> -- 
>>>>>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>>>>>> 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 a topic in 
>>>>>> the Google Groups "AdWords API Forum" group.
>>>>>> To unsubscribe from this topic, visit https://groups.google.com/d/
>>>>>> topic/adwords-api/8gjwrEtAfqs/unsubscribe.
>>>>>> To unsubscribe from this group and all its topics, send an email to 
>>>>>> adwords-api+unsubscr...@googlegroups.com.
>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>
>>>>>
>>>>>
>>>>  -- 
>>> -- 
>>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>>> 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 a topic in the 
>>> Google Groups "AdWords API Forum" group.
>>> To unsubscribe from this topic, visit 
>>> https://groups.google.com/d/topic/adwords-api/8gjwrEtAfqs/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to 
>>> adwords-api+unsubscr...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to