Use CustomerService.get(). You don't need a customer id and the results contain a customer id.
Note: when I get an AdWords login, I ask first for ManagedCustomerService.get(), to get all the customers in the MCC. When the results are empty (it doesn't return an error!) I call CustomerService.get(). And I think you are right, you shouldn't bother users with questions like the customerid. On Tuesday, July 29, 2014 2:24:29 PM UTC+2, [email protected] wrote: > > Hello, > > we are developing an web app. There we need access to different adwords > accounts. We don't want to use an MCC. We want to treat each account > separately. > > Is there a possibility to receive the client customer id after the the > client has permitted the access by oauth2 or have the customer to provide > its id additionally? > > Thanks in advance > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 [email protected] To unsubscribe from this group, send email to [email protected] 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
