There was a get_customer method on CustomerService in API v12, but now it 
is gone in v13 and I could not find any information about the updated 
method or sample code to get the customer details.
My old code on v12:
customer_service = client.get_service('CustomerService')
account_list = customer_service.list_accessible_customers().resource_names
all_accounts = []
for customer in account_list:
try:
customer_detail = customer_service.get_customer(resource_name=customer)
all_accounts.append(customer_detail)
except Exception as e:
logger.error(e)

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/347f630c-c4c5-4257-ae0a-78c91a1c3cbdn%40googlegroups.com.

Reply via email to