Hi, Could you please elaborate what do you mean by "logged in user"? Ideally, using the code snippet in your post (also mentioned here <https://github.com/googleads/googleads-php-lib#how-do-i-set-different-client-customer-ids-than-specified-in-authini>), you can change the client customer ID at runtime. This is assuming you already have the new client customer ID saved in your environment (variable/properties file/database etc). If you already have access to an AdWords account using the API, you can use CustomerService.getCustomers <https://developers.google.com/adwords/api/docs/reference/v201609/CustomerService#getcustomers> to fetch the Customer <https://developers.google.com/adwords/api/docs/reference/v201609/CustomerService.Customer> object, which would contain the customerId <https://developers.google.com/adwords/api/docs/reference/v201609/CustomerService.Customer#customerid> (i.e. the 10 digit AdWords account ID) of the user's account.
Regards, Vishal, AdWords API Team -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords 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 Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/486db48c-3ed4-4009-90a8-dd5a26f08721%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.