Hi,

Thank you for reaching out to the Google Ads API support team.

Based on the provided information, I understand that you are encountering an 
invalid_grant error, The invalid_grant error usually indicates an issue with 
the refresh token. That said, you’ll need to regenerate credentials and refresh 
tokens. You may refer here to this guide for the steps on how you can 
regenerate credentials and refresh tokens. You may also check this sample code 
for generating user credentials.

Additionally, I could see that you are using a V19 version. I would suggest you 
upgrade to the latest version, ’v21’, as soon as possible to benefit from new 
features. You may refer to this documentation on deprecation and sunset for 
more information regarding the specific deprecation and sunset dates for each 
available version.

If the issue persists, please provide the complete API logs (request and 
response with request-id and request header) generated at your end when calling 
the API so that we can check from our end and assist you further.

If you are using a client library and haven't enabled the logging yet, I would 
request you to enable logging for the specific client library that you are 
using. You can refer to the guides Java, .Net, PHP, Python, Ruby or Perl to 
enable logging at your end. For REST interface requests, you can enable logging 
via the curl command by using the -i flag.

You can send the details via Reply privately to the author option, or direct 
private reply to this email.


Thanks,

Google Ads API Team


Feedback
How was our support today?


[2025-09-02 13:32:08Z GMT] This message is in relation to case 
"ref:!00D1U01174p.!500Ht01u5axd:ref" (ADR-00331587)

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 visit 
https://groups.google.com/d/msgid/adwords-api/P2yVW000000000000000000000000000000000000000000000T1YQXK001PpB7yECQPK-ABMLrA-Quw%40sfdc.net.
  • Ke... yakuo
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to