Hi Carmela,

So you're saying once I complete the app verification process, then I can 
get a refresh token that never expires?

To complete the verification process, I will need to input Application Home 
Page and Application Privacy Policy, and also create a Youtube video for 
demo. I am only using this app just to get marketing data for internal 
reporting, so I don't have an application home page, nor do I have an 
application privacy policy. What can I do in this situation?

Thanks,
Minyen


On Monday, November 7, 2022 at 7:38:54 PM UTC-6 adsapi wrote:

> Hi Minyen,
>
> Thank you for raising this concern to us. This is Carmela from the Google 
> Ads API team.
>
> With regard to your concern, I understand that you encountered the 
> invalid_grant error. To answer your questions in general and give you 
> information about the said error, it means the token has expired or 
> revoked. Its common cause is when 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. You 
> mentioned that you already tried changing your Google Project from 
> "Testing" to "In Production" status. Having said that, I would suggest 
> following these instructions 
> <https://support.google.com/cloud/answer/7454865> as this is the way to 
> prevent refresh tokens expiring in 7 days.
>
> For more information about the refresh token expiration, you may then see 
> this documentation 
> <https://developers.google.com/identity/protocols/oauth2#expiration>. 
> Also, you may refer here to this guide 
> <https://developers.google.com/google-ads/api/docs/oauth/cloud-project> for 
> the steps if you want to know how you can regenerate credentials and 
> refresh tokens.
>
> I hope this helps. Let us know if you have further questions.
>  
> Regards,
> [image: Google Logo] 
> Carmela 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2g16R4: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 
"Google Ads API and AdWords 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/e666f91a-cbae-4927-b7a8-3c5db47ffcd7n%40googlegroups.com.
  • Us... Minyen Hsieh
    • ... Minyen Hsieh
      • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
        • ... Minyen Hsieh

Reply via email to