Get the label, if any for an account using Python API

2015-09-11 Thread William Engels
I am working with a top level MCC that controls many sub MCC accounts. Different accounts sometimes have an account label associated with them. In the MCC UI, this is the "Account labels" slot (when you mouseover the header it reads "Account labels let you organize your managed accounts into

Re: Get the label, if any for an account using Python API

2015-09-14 Thread William Engels
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', '

Re: Get the label, if any for an account using Python API

2015-09-14 Thread William Engels
Awesome, yes I got it to work. Much appreciated. On Monday, September 14, 2015 at 12:59:51 PM UTC-5, Anthony Madrigal wrote: > > Hi William, > > Sorry for the confusion. Even though AccountLabel is the object type, when > adding the field to the selector, you should use *AccountLabels.* > > Chee