Google Ads API - How can I know that user remove the third party apps access

286 views
Skip to first unread message

Shibbir Ahmed

unread,
Dec 15, 2022, 4:17:21 AM12/15/22
to Google Ads API and AdWords API Forum
Hello 

I am using this package https://github.com/googleads/google-ads-php to get the refresh and acces token after provide the permission by user. I saved that access and refresh token to the databser. 

Now user might be remove the access of third party apps like from this link: https://myaccount.google.com/permissions?continue=https%3A%2F%2Fmyaccount.google.com%2Fsecurity%3Fhl%3Den_GB&hl=en_GB

How can I know usign that refresh or access token that user is remove the access or not? 

Thanks. 

Google Ads API Forum Advisor

unread,
Dec 15, 2022, 5:13:14 AM12/15/22
to creati...@gmail.com, adwor...@googlegroups.com
Hi Shabbir,

Thank you for reaching us out. I am Sherwin from Google Ads API support team. I hope that you are doing well today.

With regard to your concern, please note that the refresh and access token are used for Authorization. It cannot be shared with any account. Add to that it is not possible to check these the user access using these tokens.

I hope that clears up.

Kind regards,
Google Logo
Sherwin Vincent
Google Ads API Team
 


ref:_00D1U1174p._5004Q2h3Ifh:ref

Shibbir Ahmed

unread,
Dec 15, 2022, 5:15:19 AM12/15/22
to Google Ads API and AdWords API Forum
Hello Sherwin

Thanks for your quick reply. 

Then, can you tell me is there any way I can know that if user remove the third party apss access or not? 

Thans. 

Google Ads API Forum Advisor

unread,
Dec 15, 2022, 5:47:13 AM12/15/22
to creati...@gmail.com, adwor...@googlegroups.com
Hi Shibbir,

Thank you for the quick response.

With regard to your concern you may check this document about revoking a token. Add to that, you can check this article for managing a third-party apps & services with access to your account.

I hope this helps.

Shibbir Ahmed

unread,
Dec 15, 2022, 6:28:26 AM12/15/22
to Google Ads API and AdWords API Forum
Thanks for your reply. I will take a loot at it. 
Reply all
Reply to author
Forward
0 new messages