Hi Anthony,  

Thank you for the response.  I tried following your instructions, but I 
get: 

WebFault: Server raised fault: '[SelectorError.INVALID_FIELD_NAME @ 
serviceSelector; trigger:'AccountLabel']'

I changed the line you mention, line 58, to 

selector = {'fields': ['CustomerId', 'Name', 'AccountLabel']}

What is the correct way to do this?  Sorry, I'm not sure I understand how 
your selectors work.  Thank you!

On Friday, September 11, 2015 at 9:22:52 AM UTC-5, Anthony Madrigal wrote:
>
> Hi William,
>
> You can get the AccountLabel 
> <https://developers.google.com/adwords/api/docs/reference/v201506/ManagedCustomerService.AccountLabel>
>  
> of your accounts contained in your top MCC by using the 
> *ManagedCustomerService. *
>
> You can follow this example 
> <https://github.com/googleads/googleads-python-lib/blob/master/examples/adwords/v201506/account_management/get_account_hierarchy.py>
>  
> as a starting point. There are only a few modifications needed to get it, 
> such as adding *AccountLabel *in the selector in line 58 and in the print 
> statement in line 83 of that example.
>
> Cheers,
> Anthony
> 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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/71c5a33d-d7bf-40fe-a00a-7b02000b269f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to