Using Google Ads API v6 GoogleAdsService.Search in .NET:

I can retrieve a list of users (CustomerUserAccess resource) with access to 
the given account. The list includes email address, Google Ads user id and 
access role for each row.

select customer_user_access.user_id, customer_user_access.email_address, 
customer_user_access.access_role from customer_user_access

I'm aiming to filter these results in the query to the row for the current 
OAuth authenticated user e.g:

select customer_user_access.user_id, customer_user_access.email_address, 
customer_user_access.access_role from customer_user_access where 
customer_user_access.user_id = '<current user id>'.

Is there a way to retrieve the ads user id and / or email of the logged in 
user? The UserCredential object has null for the UserId property.

Thanks


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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 on the web visit 
https://groups.google.com/d/msgid/adwords-api/d74b4e86-662f-47dd-b71d-1f2395d25269n%40googlegroups.com.

Reply via email to