Thank you for yur answer, Peter.
I already followed that guide, it brought me to the current situation. I'm 
not 100% sure of it, but it seems that the non-expiring token can be 
obtained only if the app is in the production status, while mine is in the 
testing status. Is that correct?
If it is, switching to production would mean creating a dedicated privacy 
policy page, a video, and possibly something else. This will require time, 
likely some days of work for my company, for something nobody will ever 
need.
If it isn't, then I probably did something wrong previously, and I will try 
again from scratch.
At the moment the script is working, but if the refresh token expires next 
week, it means I will have to dedicate every week some time to this task, 
and I can't have the company depend on me in this way. It's wrong for them, 
and it's wrong for me.

Best
Davide

On Tuesday, March 9, 2021 at 3:43:04 AM UTC+1 adsapiforumadvisor wrote:

> Hi Davide,
>
> I work with Xiaoming and allow me to assist you.
>
> We understand the inconvenience that you are encountering. However, as 
> stated in this guide 
> <https://developers.google.com/google-ads/api/docs/oauth/service-accounts> 
> and in the *Key Point* section, a non-expiring refresh token should be 
> maintained when using the desktop app flow instead. Otherwise, when using 
> service accounts, you may need to create a refresh token once it expires.
>
> Best regards,
>
> [image: Google Logo] 
> Peter Laurence Napa Oliquino 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2DIxeA: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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/4d757b3a-907a-4d9f-bb6f-dbad8489a3acn%40googlegroups.com.

Reply via email to