Hi Kommid,

Thank you for reaching out to us.

You are correct that the refresh token expires after 7 days if you have set the 
publishing status of it to testing. For you to change it, You can go to the 
Google API Console and navigate to the OAuth consent screen then change the 
publishing status to “In production” following these instructions to avoid the 
refresh token expiring in 7 days. If this is indeed the same with the 
instructions you are referring to then I’m afraid that there are no ways to 
extend the 7 days expiration of the refresh token if you do not change the 
publishing status to “In production”.

Also, you can read a little more in the big red bar at the top of our OAuth 
page here: 
https://developers.google.com/google-ads/api/docs/first-call/oauth-cloud-project

If your public application uses scopes that permit access to certain user data, 
it must complete a verification process. If you're an Apps Script developer, 
and the project owner is using a Google Workspace account and the project is 
only used by Google Accounts in the project owner's domain, then your project 
is automatically internal-only. Learn more about OAuth Client Verification 
Applicability. If your app is only for your organization or Google Workspace 
domain, you can mark it as internal-only in the OAuth consent screen 
configuration:

Go to the Cloud Console OAuth consent screen page.
Click the Project selector drop-down at the top of the page.
On the Select from dialog that appears, select your project.
Under User type, select Internal, and then click Save.

An internal application will only allow access to users from your organization 
(@your-organization.com). For information on OAuth Verification, and how to 
verify your projects, please refer to the below links:
How to verify: OAuth API verification FAQs - Google Cloud Platform Console Help
General information: Unverified apps - Google Cloud Platform Console Help

Best regards,

Heidi
Google Ads API Team
ref:_00D1U1174p._5004Q2d2rB8: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/rgT7F000000000000000000000000000000000000000000000RFS88D00TDlIRcUHQxuClr3FZxKn5w%40sfdc.net.
  • OA... Kommid
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... Kommid
      • ... Kommid
      • ... Kommid
        • ... Kommid
          • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to