Hi, The invalid grant error occurs because of a mismatch of credentials and tokens. I would recommend clearing the cache and using the newly generated refresh token. Yes for published status 'Testing' the refresh token expires in 7 days. For the refresh token expiration scenarios: https://developers.google.com/identity/protocols/oauth2#expiration Generating a refresh token: https://developers.google.com/google-ads/api/docs/first-call/refresh-token?hl=en Based on your usecase, you can generate a new refresh token once it is expired. Related links:
https://stackoverflow.com/questions/63822029/google-api-oauth-2-0-trying-to-get-accesstoken-using-curl https://developers.google.com/google-ads/api/docs/samples/authenticate-in-desktop-application#php https://stackoverflow.com/questions/65203323/how-to-get-refresh-token-in-google-oauth-2-0-api-with-php https://developers.google.com/identity/protocols/oauth2/native-app#exchange-authorization-code Thanks, Lakshmi Prathipati Google Ads API Team ref:_00D1U1174p._5004Q2ScPDp: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/jqi-L000000000000000000000000000000000000000000000R3PRUI00O8lFiq0ARjGB4Mv8HGKmNg%40sfdc.net.
