Private message regarding: Desktop app refresh token expires after 7 days

2022-08-02 Thread 'VM Suse' via Google Ads API and AdWords API Forum
Hi Peter,

thanks for coming back to me.

Basically I use this app just to get the marketing metrics for internal 
reporting. I do not have any homepage or Application privacy policy link. 
And what does it mean when application becomes public? anyone can just get 
our internal marketing data?

Is there other way how to automate connection to Google Ads Api?

Best regards,

Vitaly

On Monday, August 1, 2022 at 7:55:27 PM UTC+2 Google Ads API and AdWords 
API Forum wrote:

> Hi Vitaly,
>
> Thank you for reaching out to our team.
>
> You may refer here 
>  for 
> the reasons on why a refresh token may expire :
>
>- 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.
>
> For your scenario, you need to change the publishing status to 
> *production* to avoid this issue. I hope this helps.
>
> Best regards,
> Peter Laurence
> Google Ads API Team
>
> On Monday, August 1, 2022 at 11:39:54 AM UTC-4 Google Ads API and AdWords 
> API Forum wrote:
>
>> Reposting the last inquiry (
>> https://groups.google.com/g/adwords-api/c/fEc8gZrW4M4) from the forum as 
>> it wasn't routed to our support queue.
>>
>> Cheers,
>> Peter Laurence
>> Google Ads API Team
>>
>> On Monday, August 1, 2022 at 5:27:09 AM UTC-4 vitaly@suse.com wrote:
>>
>>> Hello,
>>>
>>> I am using desktop app client id and client secret to create refresh 
>>> token. But it was expired after 7 days. It was written that the when the 
>>> refresh token is created using the desktop app client id and client secret 
>>> it suppose NOT to expire. Please assist here
>>>
>>> Thanks
>>>
>>> Vitaly
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/de77f533-9b1c-4de4-86a7-fe88b2c3e5b7n%40googlegroups.com.


Desktop app refresh token expires after 7 days

2022-08-01 Thread 'VM Suse' via Google Ads API and AdWords API Forum
Hello,

I am using desktop app client id and client secret to create refresh token. 
But it was expired after 7 days. It was written that the when the refresh 
token is created using the desktop app client id and client secret it 
suppose NOT to expire. Please assist here

Thanks

Vitaly

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1b1a897d-a269-4d03-b8d7-4be404c45021n%40googlegroups.com.


RE: Refresh Token expires after 7 days

2021-09-06 Thread Google Ads API Forum Advisor
Hi Philipp,

Thanks for reaching out to us.

You may refer to this document to read more information about refresh token 
expiration. Since you mentioned that the refresh token expires after 7 days, 
then it appears that the scenario below is happening at your end.

"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."

As you set the publishing status to "Testing" so the refresh token expires 
every 7 days and receives an “invalid_grant” error. That being said, please go 
to the Google API Console and navigate to the OAuth consent screen and then 
change the publishing status to “In production” to avoid the refresh token 
expiring in 7 days.

Let us know if you have any further questions.

Regards,

Yasar
Google Ads API Team
ref:_00D1U1174p._5004Q2MlSmG: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 
"AdWords API and Google Ads 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/jzJ820QZ1P6F00_SUkd1BKTl-3vdO6n0k19A%40sfdc.net.


Refresh Token expires after 7 days

2021-09-03 Thread Philipp Sowinski
Hi,

I want to run a cron task which uploads offline conversions every day.
Unfortunately my refresh token expires after 7 days.

What can I do?

This is the error message I get
"google.auth.exceptions.RefreshError: ('invalid_grant: Token has been 
expired or revoked.', {'error': 'invalid_grant', 'error_description': 
'Token has been expired or revoked.'})"

I am sure, there must be a permanent way?

Thank you
Philipp

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/006991fe-9cfa-42c9-a9f4-d39701f96220n%40googlegroups.com.