Dear Google Ads API Community,
I'm working on a project where I need to programmatically find my User ID or email ID using the Google Ads API. Specifically, I need to identify Customer IDs for which I have administrative access.
Currently, I can retrieve a list of accessible Customer IDs, but this includes accounts where I am not an admin. I also have access to information about admin, including their User IDs and emails for this list of accessible list of customer . If there's a method to determine my own User ID or email ID programmatically, I could compare it with the available admin details to identify Customer IDs where I am an admin.
Could someone please advise if there's a way to retrieve my User ID or email ID via the Google Ads API, or suggest an alternative approach to achieve this goal?
Thank you for your assistance.
Best regards,
Chandan Sharma
SELECT customer_user_access.user_id, customer_user_access.email_address, customer_user_access.access_role, customer_user_access.access_creation_date_time, customer_user_access.inviter_user_email_address FROM customer_user_accessI would suggest you refer to the Managing User Access document for more details. Additionally, you can utilize the Google Ads Query Builder and Query Validator to build and validate the queries for retrieving the data.
![]() |
Google Ads API Team |