RE: Keeping the access token valid during API calls

2021-12-09 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi Deepa, Thanks for commenting on this forum thread. Could you provide us with the complete request and response logs with the request-id, so our team can better check? If you are using a client library, you may first enable logging by navigating to the Client libraries > Your client library

Re: Keeping the access token valid during API calls

2021-12-08 Thread Deepa Varma
...@gmail.com wrote: > Yes i​ got your​ email > > ส่งจากโทรศัพท์มือถือ Huawei ของฉัน > > > ---- ข้อความต้นฉบับ -------- > เรื่อง: Re: Keeping the access token valid during API calls > จาก: 'Nazar Pryymak' via AdWords API and Google Ads API Forum > ถึง: AdWord

Re: Keeping the access token valid during API calls

2019-10-30 Thread Sirinart khongyadee
Yes i​ got your​ emailส่งจากโทรศัพท์มือถือ Huawei ของฉัน ข้อความต้นฉบับ เรื่อง: Re: Keeping the access token valid during API callsจาก: 'Nazar Pryymak' via AdWords API and Google Ads API Forum ถึง: AdWords API and Google Ads API Forum สำเนา: Few minutes ago I resend it an

Re: Keeping the access token valid during API calls

2019-10-29 Thread 'Nazar Pryymak' via AdWords API and Google Ads API Forum
Few minutes ago I resend it and received information that my message was sent (see screnshoot below ). Let me know iif you received my message privately : -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=

RE: Keeping the access token valid during API calls

2019-10-29 Thread Google Ads API Forum Advisor Prod
Hi Nazar, We haven't received the response yet. Could you please retry sharing the requested information using Reply privately to author option for me to assist you better? Regards, Nikisha Patel, Google Ads API Team ref:_00D1U1174p._5001UKOTgj:ref -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=

Re: Keeping the access token valid during API calls

2019-10-29 Thread 'Nazar Pryymak' via AdWords API and Google Ads API Forum
Hi Nikisha, I have replied to you privately with detailed information about accounts Thanks, Br, Nazar -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this

RE: Keeping the access token valid during API calls

2019-10-28 Thread Google Ads API Forum Advisor Prod
Hi Nazar, Please find my response to your queries below: It looks like that we were running few applications in parallel and all of them where automatically updating token via your lib. Is it possible that due to that refresh token was revoked? It might be possible that the refresh token was r

Re: Keeping the access token valid during API calls

2019-10-28 Thread nazar pryymak
Hi Nikisha, Thanks a lot for detailed answer. I am using your library and getting GoogleAdsClient with data stored in the file according this example : google.ads.google_ads.client.Google

Re: Keeping the access token valid during API calls

2019-10-25 Thread nazar pryymak
Hi Shwetha, I have created ads test account and yesterday in response I have received response : google.auth.exceptions.RefreshError: ('invalid_grant: Token has been expired or revoked.', '{\n "error": "invalid_grant",\n "error_description": "Token has been expired or revoked."\n}') This err

Re: Keeping the access token valid during API calls

2017-05-25 Thread Josh Averbeck
Hi Shwetha, My above code works, I actually had an error on my end but it works. The guide you linked to does not detail how to get a new oauth2 token and generate a new session using the user's refresh token. The code that I posted above does do just that though. Thanks! On Monday, May 22,

Re: Keeping the access token valid during API calls

2017-05-22 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi Josh, This guide provides an example on implementing OAuth2 authentication using web flow. Could you try using the code snippet provided in that guide to get your OAuth2 tokens? If this d

Re: Keeping the access token valid during API calls

2017-05-21 Thread Josh Averbeck
Hi Danny, I'm running into the same problems with regenerating oauth2tokens using a refresh token. I tried your code but you have to remove scopes because that is only for installed application flow. It throws an error if you the scopes withScopes() method because of conflicts. Here's the code

Re: Keeping the access token valid during API calls

2017-02-10 Thread Danny
Hi Adam I "think" I might've solved my own issue with the solution I presented where the refresh token is set to the OAuth2 object, which is then passed to the AdWordsSessionBuilder. Based on this, I assume when you use the returned AdWordsSession object to make API calls (containing the refres

Re: Keeping the access token valid during API calls

2017-02-09 Thread Adam Haining
I've tried all of this as well, and if I try to force renewing the token before it expires, it just gives me the current token. Then after it expires, I just always get the message: invalid_grant Token has been expired or revoked. Specific examples on how to do this would be greatly appreciated

Re: Keeping the access token valid during API calls

2017-02-09 Thread Danny
Thanks - I'll look into that. But could you also clarify whether the code snippet I shared would work, if I create the session with the OAuth2 object containing the refresh token? On Thursday, 9 February 2017 13:16:37 UTC-8, Shwetha Vastrad (AdWords API Team) wrote: > > Hi Danny, > > You can ch

Re: Keeping the access token valid during API calls

2017-02-09 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi Danny, You can check if the access token is about to expire and then refresh this token as needed. The OAuth2TokenRefresher.php provides functionality to retrieve OAuth2 acces

Keeping the access token valid during API calls

2017-02-09 Thread Danny
Hi I'm currently running into API call issues whenever my access token expires. I've already saved the client's refresh token and I'm trying to figure out whether AdWords will automatically renew the access token if you build the session with the OAuth2 object that contains the refresh token d