Re: How To Automate Refresh Tokens using REST API

2022-07-27 Thread Mike M
Thank you so much, guys, on the assistance here. This explains a lot. I'll work with the GCP Support process more out of curiosity than anything else. I mean, my code is now revised so that when I get an invalid_grant message in the JSON during the Access Token generation, I'll get an email aler

Re: How To Automate Refresh Tokens using REST API

2022-07-27 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Mike, I work with Jinky. This support channel can only point you to documentation on GCP's website and attempt to assist you. With that being said, since only one user will use your GCP project you can publish it without going through verification, and my team researched this. Moreover, the

Re: How To Automate Refresh Tokens using REST API

2022-07-27 Thread Mike M
Jinky, you may want to update the online docs to indicate a few things. First, I don't see Publishing Status anywhere -- not on editing the oAuth Client (Web Application), or on the oAuth Consent Screen (view mode or when I click Edit). Second, on the page that the docs have about Refresh Token

Re: How To Automate Refresh Tokens using REST API

2022-07-27 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Mike, Thank you for the reply. I work with Darwin and allow me to assist you here. With regard to your concern regarding the "publishing status", you will need to completely verify your app by following this guide in order for you to change the "publishing status". For the expiration of you

Re: How To Automate Refresh Tokens using REST API

2022-07-27 Thread Mike M
You had stated: "The refresh token generated in the Google Oauth Playground lasts only for 1 hour then it expires." This appears incorrect. We generated one with our Client ID and Client Secret and it has lasted for several hours now. We also read your doc... https://developers.google.com/iden

Re: How To Automate Refresh Tokens using REST API

2022-07-26 Thread Mike M
I also tried to research why my Refresh Token expired. I mean, the whole point of a Refresh Token is so that you generate Access Tokens and they are the ones to expire, not your Refresh Token. I looked at the bullet items from this page from Google's docs and none of those bullet items applied t

Re: How To Automate Refresh Tokens using REST API

2022-07-26 Thread Mike M
On the tail end of this request, to fully automate this Refresh Token renewal, do you think that I may need to generate a Service Account instead of doing it the Web Application oAuth Client technique? https://developers.google.com/google-ads/api/docs/client-libs/php/oauth-service We have purch

How To Automate Refresh Tokens using REST API

2022-07-26 Thread Mike M
I've been using 2 API calls to batch upload google offline click conversions. One generates the Access Token. The other is the API call to upload the offline click conversions. All was well for a few weeks until suddenly we started getting invalid_grant messages when trying to generate the Acce