Re: How to tell if an account is MCC or non-MCC (client)

2016-01-06 Thread Yin Niu
Hi, Code looks fine to me. Please send your client *CustomerID* and the *SOAP request and response*. Please click *Reply privately to author* in the forum when responding. Thanks, Yin, AdWords API Team. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and G

Re: How to tell if an account is MCC or non-MCC (client)

2016-01-06 Thread James Andrews
Hello Yin, I'm working with Lena and we're using php not python. From looking at what you provide I believe it coded correctly in php. This is what we have. // Function to get the adwords user from credentials $user = $this->getAdwordsUser($account, $params); // Get th

Re: How to tell if an account is MCC or non-MCC (client)

2016-01-06 Thread Yin Niu
Hello, The code below checks the CanManageClients field. It should return true for MCC account and false for client account. SelectorBuilder builder = new SelectorBuilder(); Selector selector = builder .fields(ManagedCustomerField.CustomerId, ManagedCustomerField.Name, Managed

Re: How to tell if an account is MCC or non-MCC (client)

2016-01-06 Thread Lena Madenci
I have tried using canManageClients, however, when the account I am finding clients with is a Manager account, canManageClients returns true for all accounts, including accounts that I know are non-MCC accounts. On Tuesday, January 5, 2016 at 3:55:27 PM UTC-5, Yin Niu wrote: > > Hi Lena, > >

Re: How to tell if an account is MCC or non-MCC (client)

2016-01-05 Thread Yin Niu
Hi Lena, You could check the canManageClients field of ManagedCustomer

How to tell if an account is MCC or non-MCC (client)

2016-01-05 Thread Lena Madenci
I've been reading the docs on ManagedCustomerService and I am having issue understanding how to tell if a returned entity is a manager account or a client account. Is there any API call used for this, so that I can determine an Adwords user's account type based on a client_customer_id, for exam