Inquiry Regarding OAuth 2 Authentication and Refresh Tokens in Google Ads API

23 views
Skip to first unread message

Mary Shiya Shaji

unread,
Mar 25, 2024, 5:21:51 AM3/25/24
to Google Ads API and AdWords API Forum
Hi,
We are currently working on integrating with the Google Ads API, and we're using OAuth 2 for authentication. However, we've encountered an issue where we are not receiving refresh tokens when downloading the client credentials from Google Cloud Platform (GCP).

We've successfully obtained access tokens, but we're facing challenges with token expiration and the refresh token mechanism due to the absence of refresh tokens.

Could you please guide how to proceed in this situation? We haven't found clear documentation or examples on obtaining refresh tokens when using client credentials downloaded from GCP.

Any assistance, documentation, or best practices you can provide to help us obtain refresh tokens would be greatly appreciated. Additionally, we'd like to know if there are any specific considerations or limitations regarding the use of refresh tokens in the Google Ads API OAuth 2 authentication flow.

Thanks and Regards,
Mary Shiya

Google Ads API Forum Advisor

unread,
Mar 25, 2024, 10:10:08 AM3/25/24
to shiyas...@gmail.com, adwor...@googlegroups.com
Hi Mary,

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

By reviewing your query, I understand that you are looking for assistance in obtaining the refresh tokens when downloading the client credentials from Google Cloud Platform (GCP). I would suggest you refer to the document Make an API call to get more information on how to fetch refresh tokens.

Kindly note that the concerns related to the Google Cloud Platform are out of scope for the Google Ads API support team as our team specializes in Google Ads API related concerns and technical implementations only. I would recommend you reach out to the GCP Product support team as they are better equipped to address your concerns.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02s0CGM:ref" (ADR-00228521)

Thanks,
 
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages