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 the adwords customer
        $customerService = $user->GetService("CustomerService");
        $customer = $customerService->get();

        $user->SetClientCustomerId($customer->customerId);

        $customerService = $user->GetService("CustomerService");
        $customer = $customerService->get();

        $managedCustomerService = 
$user->GetService('ManagedCustomerService', ADWORDS_VERSION);
        // Create selector.
        $selector = new \Selector();
        // Specify the fields to retrieve.
        $selector->fields = array('CustomerId', 'Name', 'CanManageClients');
        // Make the get request.
        $managedCustomerPage = $managedCustomerService->get($selector);

Does this look right?  Can you see anything we are doing incorrectly?

Thanks,
James

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/56467a41-92ea-4c1c-9954-5a353375e0f8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to