Re: (OAuth) Token has been expired or revoked

2022-03-07 Thread Alex Garcia
For anyone having this problem. You actually need to create NEW OAuth 
credentials, after you have upgraded the OAuth from TESTING to IN 
PRODUCTION.

I did that, and now it works. If you used the old credentials, the Refresh 
Token is going to expire after 7 days.

On Monday, March 7, 2022 at 6:44:12 AM UTC+1 adsapi wrote:

> Hi Alex,
>
> Thank you for reaching out to Google Ads API Forums.
>
> It appears that your concern is related to refresh token expiration. With 
> this, I would recommend posting your concern here 
> , this was also 
> included inside the support link my colleague provided. This is a public 
> forum which is dedicated to Oauth2 and refresh token related questions. I 
> hope this helps.
>
> Let us know if you have any questions.
>
> Regards,
> [image: Google Logo] 
> Carmela 
> Google Ads API Team 
>   
>
>
>
>
>
>
>
>
>  
>
> ref:_00D1U1174p._5004Q2XjtpY: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/8fb3bd9d-cf88-46e5-a722-e1f8da7b87e0n%40googlegroups.com.


Re: (OAuth) Token has been expired or revoked

2022-03-06 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Alex,

Thank you for reaching out to Google Ads API Forums.

It appears that your concern is related to refresh token expiration. With this, 
I would recommend posting your concern here, this was also included inside the 
support link my colleague provided. This is a public forum which is dedicated 
to Oauth2 and refresh token related questions. I hope this helps.

Let us know if you have any questions.

Regards,

Carmela
Google Ads API Team
ref:_00D1U1174p._5004Q2XjtpY: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/AWsOb0R8D18E00h5cqIEcWQquv406Mgd-qdQ%40sfdc.net.


Re: (OAuth) Token has been expired or revoked

2022-03-04 Thread Alex Garcia
The link provided requires to pay to get access to support. We are not 
willing to do so, to get help.

On Friday, March 4, 2022 at 3:39:38 AM UTC+1 adsapi wrote:

> Hi Alex,
>
> Thank you for providing more details to your concern.
>
> Based on the provided screenshot, I can see that you have already "*In 
> production*" publishing status so the 7 days expiration seems not 
> applicable on the error that you encountered. But please note that there 
> are different reasons why the refresh token is expiring and you can see it 
> on this document 
> 
> .
>
> However, since the issue is more specific to refresh tokens, then I would 
> suggest reaching out to the more equipped team for this concern via this 
> link 
> 
> .
>
> Regards,
> [image: Google Logo] 
> Ernie John 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2XjtpY: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/e6bc0619-4883-4ee9-b14e-a5353c38ea39n%40googlegroups.com.


Re: (OAuth) Token has been expired or revoked

2022-03-03 Thread Alex Garcia
In order to get access to Google Ads API Console support team you need to 
pay for a higher tier of support.

Can you please confirm that the Project is indeed, "In production" status? 
With the screenshot provided.

It seems like the verification process got stuck and it's not moving 
forward, but I think the Project is already "In production".

On Thursday, March 3, 2022 at 9:32:04 AM UTC+1 adsapi wrote:

> Hi Alex,
>
> Thank you for your follow up question.
>
> The 7 day expiration should only apply to the (TESTING) refresh token. As 
> for the client_id and client_secret, there should be no need to generate 
> new ones.
>
> Should you have additional questions related to the tokens and the 
> credentials, and factors that may affect expiration, you may reach out 
> instead to the Google API Console support team. I hope this helps.
>
> Best regards,
>
> [image: Google Logo] 
> Peter Laurence 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2XjtpY: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/027c67c2-4cd5-4faf-bb33-95787d722aean%40googlegroups.com.


Re: (OAuth) Token has been expired or revoked

2022-03-02 Thread Alex Garcia
Can you please confirm the following?

When we change the status of the Project OAuth from TESTING to IN 
PRODUCTION, should we generate a NEW Google Client ID and Google Client 
Secret?

We did the test with the OLD Google Client ID and Google Client Secret 
(after changing from TESTING to IN PRODUCTION), and that might be the cause 
for it to doesn't work as expected (expired after 7 days).

On Tuesday, March 1, 2022 at 4:32:16 AM UTC+1 adsapi wrote:

> Hello Alex,
>
> Thank you for reaching out to us.
>
> Please note that this forum channel can only provide assistance to 
> issues/concerns related to the AdWords API 
>  / Google 
> Ads API .
>
> I'm afraid that concerns related to refresh token expiration is already 
> outside of our team's expertise. We recommend that you reach out to the 
> Console Team via this link 
> 
>  instead.
>
> As an aside, for the OAuth2 desktop app flow 
> ,
>  
> you can persist a refresh token (see also factors 
>  
> that 
> may affect refresh token expiration) to obtain a new access token whenever 
> necessary. When using one of our client libraries 
> , 
> you can authorize your app by filling out a configuration file.
>
> Regards,
> [image: Google Logo] 
> Mark Kevin 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2XjtpY: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/f14b3a7b-0e20-4f0c-a7a0-921ede05cbabn%40googlegroups.com.


Re: (OAuth) Token has been expired or revoked

2022-02-28 Thread Alex Garcia
By the way, the change from Testing to In Production, we did it 7 days ago, 
and we checked to day, for the refresh token expiration.

So even with the "In production" status, we are still getting our refresh 
token disabled after 7 days, which makes no sense.

On Monday, February 28, 2022 at 1:46:30 PM UTC+1 Alex Garcia wrote:

> We are having problems with the refresh token.
>
> Based on this info: 
> https://developers.google.com/identity/protocols/oauth2#expiration
>
> *A Google Cloud Platform project with an OAuth consent screen configured 
> for an external user type and a publishing status of "Testing" is issued a 
> refresh token expiring in 7 days.*
>
> We have changed the status from Testing to In Production:
>
> [image: check.jpg]
>
> But still getting the refresh token expired after 7 days. This is the 
> error message we get when trying to authenticate:
>
> ERROR: Client error: `POST https://oauth2.googleapis.com/token` 
>  resulted in a `400 Bad Request` 
> response:
> {
>   "error": "invalid_grant",
>   "error_description": "Token has been expired or revoked."
> }
>
> How can we solve this issue?
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/aef049bb-ca7b-4a46-b103-3f6204945f8bn%40googlegroups.com.