This app tried to access sensitive info in your Google Account. To keep your account safe, Google blocked this access.`
Could you please let me know if this is because of the OAuth verification not completed?
Thanks & Regards
Sithara
Hi Sithara,
Thanks for reaching out to the Google Ads API team. I hope you are doing well today.
Please see my response to your questions below.
1.) As per https://developers.google.com/google-ads/api/docs/oauth/cloud-project, is it necessary to need to undergo a Google OAuth verification when the publishing status Is set to production in GCP ?
2.) Could you please let me know if this is because of the OAuth verification not completed?
-How to verify: OAuth API verification FAQs - Google Cloud Platform Console Help
-General information: Unverified apps - Google Cloud Platform Console Help
I hope this helps.
Regards,
|
||||||
Hi Sithara,
Thanks for getting back to us.
If you set the publish status to In Production in order to generate refresh tokens that persist longer than 7 days. So that does indeed sound like the right setting for your use case. Note that we have examples of how you can generated refresh token with our Google Ads API client libraries here:
https://developers.google.com/google-ads/api/docs/samples/generate-user-credentials
If you leave the project unverified, you will see an unverified warning when you authenticate and your project will be subject to an OAuth user quota. But if this is an internal script that will not be authenticating many individual external users, that is normally sufficient for most developers. However, if your app is going to be used in any of the following scenarios, you do not need to submit it for review:
Let me know if you have any follow up questions, so that our team can assist you further.
Regards,
|
||||||
This app tried to access sensitive info in your Google Account. To keep your account safe, Google blocked this access.`
|
||||||