Hi,

Thank you for the response. The code you replied with is what is running. 
The problem is I am supporting multiple users and this error occurs when 
they do not properly enter the correct credentials. When they do enter the 
correct details the code proceeds as expected. In both cases the google ads 
client appears to be set up properly. I need a way of reporting back to the 
user the results of the call, i.e. if it is a bad request I should be able 
to alert the user that they entered their credentials incorrectly. Would it 
be possible to test the credentials I receive from the end user with a 
separate GRPC call?

Best,
Jack 

On Sunday, May 1, 2022 at 8:16:19 PM UTC-7 adsapi wrote:

> Hi Jack,
>
> Thank you for reaching out. I am a member of the Google Ads API team.
>
> Moving forward to your concern, *"I am wondering if there is a way to 
> configure the CustomerServiceClient to either disable this feature or 
> change the number retry attempts.", *I am afraid that there's no possible 
> way to configure the CustomerServiceClient in this way. However, this 
> should be implemented on the developers end.
>
> Also, please see the statements below: 
>    
>    - I noticed in your provided logs that you have encountered the 
>    *invalid_grant* error. That said, since this is an issue on 
>    implementation of your authentication, then I would suggest checking this 
>    documentation 
>    <https://developers.google.com/google-ads/api/docs/first-call/overview> 
> which 
>    contains the authentication process. 
>    - I also noticed that your *request body is empty. *That said, please 
>    try this java code 
>    
> <https://github.com/googleads/google-ads-java/blob/19ee2c57bb283fcd3d3580a501083bd0d11fedf3/google-ads-examples/src/main/java/com/google/ads/googleads/examples/accountmanagement/ListAccessibleCustomers.java#L71-L96>
>  on 
>    your end. 
>
>
> Regards,
> [image: Google Logo] 
> Carmela 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2aOfyr:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/867a569b-3030-4ffe-b85f-a90c01042942n%40googlegroups.com.
  • Li... Jack Reidy
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... Jack Reidy
        • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
          • ... Dean Povey
            • ... Dean Povey

Reply via email to