Hi John, I am new to Google Ads API
I have had success running get_account_hierarchy.cs (the documentation code example). Please guide me on how you get to work with CustomerUserAccess resource. On Sunday, January 3, 2021 at 11:02:10 AM UTC-5 john...@gmail.com wrote: > 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/df27b531-3b4c-4bba-b906-d500cadfb27fn%40googlegroups.com.