Re: refresh token expiration time

2024-03-21 Thread Cristian Andrei Grigore
I'm still waiting for a response. On Friday, March 15, 2024 at 12:18:43 PM UTC+2 Cristian Andrei Grigore wrote: > Hello, > > Thank you for your answer. > > However, I don't want to set the User Type to External. I want to use > Internal. So I have: > 1. OAuth consent screen - User Type - Intern

Re: refresh token expiration time

2024-03-15 Thread Cristian Andrei Grigore
Hello, Thank you for your answer. However, I don't want to set the User Type to External. I want to use Internal. So I have: 1. OAuth consent screen - User Type - Internal 2. Credentials - OAuth 2.0 Client IDs - Type Desktop According to this Offline access

Re: refresh token expiration time

2024-03-14 Thread Cristian Andrei Grigore
n. I would like to inform > you that the refresh token expires every 7 days when your Google project's > publishing status is Testing. Kindly refer to the document Refresh token > expiration > <https://developers.google.com/identity/protocols/oauth2#expiration> to > g

RE: refresh token expiration time

2024-03-14 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
shing status is Testing. Kindly refer to the document Refresh token expiration to get more information. Please note that if you want to avoid the refresh token expiring in 7 days, go to the Google API Console and navigate to the OAuth consent screen and then change the publishing status t

Refresh token expiration time

2024-03-14 Thread Cristian Andrei Grigore
My use-case is a no GUI script that fetches data from the Google Ads API. I understand that one of the steps is to Fetch a refresh token . What is the expiration time for the refresh token

Re: Refresh token expiration.

2022-09-12 Thread Gleb Bilous
Thank you for your response! Thank you so much for the answer. My app got the "Testing: status, but one of my accounts receives a long token for this app and the other one restrict to a 7-day token. But it is the same app that is not in production. понедельник, 12 сентября 2022 г. в 14:54:59 UT

RE: Refresh token expiration.

2022-09-12 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Gleb, Thank you for posting your concern. If you want to have a refresh token with longer life, then you need to follow this link. As for this question "is it possible that I missed something and google can actually issue endless refresh tokens for both my accounts?", you may check on your

Refresh token expiration.

2022-09-11 Thread Gleb Bilous
Hello there. Our team is working closely with google environment overall and adWords ended. About 6 months ago we created a new account and connected it with adWords project. With the previous account we received permanent refresh tokens, but on the new one, we need to create a new token every

Re: Refresh Token Expiration Problem

2022-06-30 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi all, Thank you for reaching us out. I am Sherwin from Google Ads API support team and I work with Nirmita. I hope that all of you are doing well today. @Patrik. I really understand where you are coming from. We really appreciate your comments regarding setting up the oauth however, that is t

Re: Refresh Token Expiration Problem

2022-06-30 Thread pmoe...@binaerpark.de
I have the same problem. The problem with state 'in production' is that a lot of stuff is required (what makes sense if it really is public and in production). But we just use it internally and only from one account, A service account would make more sense but is only available for Google worksp

RE: Refresh Token Expiration Problem

2022-06-29 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi, Thank you for reaching out to the Google Ads API team. Moving forward, it appears that you've encountered the invalid_grant error. It means that the token has been expired or revoked. The common cause of this error is when a Google Cloud Platform project with an OAuth consent screen config

Refresh Token Expiration Problem

2022-06-29 Thread 'Marwen HMIDI' via Google Ads API and AdWords API Forum
Hello google ads api team I'm extracting data from google ads api And I encountred this issue: google.auth.exceptions.RefreshError: ('invalid_grant: Token has been expired or revoked.', {'error': 'invalid_grant', 'error_description': 'Token has been expired or revoked.'}) The cause of this probl

RE: Refresh token expiration

2022-01-11 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Shashikanth, Thank you for posting your concern. You may check on your end if you encounter one of the reasons specified on this document why your refresh token is expiring. If upon checking you determine that you did not encounter the possible reasons said in the document, then I would sug

Refresh token expiration

2022-01-11 Thread Patient News
Hi, I am using google-ads-api package by npm to display reporting information in our application. I found an issue that even after changing the publishing status to 'production', the OAuth2 access would revoke automatically after about one month. I will have to create a new refresh token to ma

Re: OAuth2 refresh token expiration?

2021-01-05 Thread Google Ads API Forum Advisor Prod
Hi Samir, The refresh token could be expired if one of these occurs. Also thanks Zweitze for the explanation. Thanks and regards, Xiaoming, Google Ads API Team Xiaoming Google Ads API Team ref:_00D1U1174p._5004Q2AH6DO:ref -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on

Re: OAuth2 refresh token expiration?

2021-01-05 Thread Zweitze
If a RefreshToken is not used for six months, it expires. See also the OAuth2 documentation . And do take notice of the other reasons when a RefreshToken may become invalid. On Monday, January 4, 2021 at 9:15:32 PM UTC+1 adsapi

RE: OAuth2 refresh token expiration?

2021-01-04 Thread Google Ads API Forum Advisor Prod
Hi Samir, Thank you for reaching out. As you are using the Google Ads API client library, the refresh token would be regenerated automatically when you issue a call and the system detects that the refresh token has expired. Thanks and regards, Xiaoming, Google Ads API Team Xiaoming Google Ads

OAuth2 refresh token expiration?

2021-01-04 Thread Samir Sabri
Hello As we have a setup for using Ads API via OAuth2, would the refresh token get expired after a while? do we need to maintain the credentials from time to time or is it active for ever? Thanks in advance. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: h