Re: Get all accounts linked to MCC with Label "BLA"

2016-09-29 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi, You can use AccountLabelService get method to retrieve a list of account labels that are created by this manager account. The response will contain the id and name of the account labels. I haven't

Re: Get all accounts linked to MCC with Label "BLA"

2016-09-29 Thread Aba
Also, selectorBuilder does not work with predicate it seems ??? On Thursday, September 29, 2016 at 4:17:00 PM UTC-4, Aba wrote: > > Hi Shwetha , > > What if I don't know the LabelID before hand , I just know the labelName. > > > On Thursday, September 29, 2016 at 4:07:16 PM UTC-4, Shwetha Vastrad

Re: Get all accounts linked to MCC with Label "BLA"

2016-09-29 Thread Aba
Hi Shwetha , What if I don't know the LabelID before hand , I just know the labelName. On Thursday, September 29, 2016 at 4:07:16 PM UTC-4, Shwetha Vastrad (AdWords API Team) wrote: > > Hi, > > You can add a predicate >

Re: Get all accounts linked to MCC with Label "BLA"

2016-09-29 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi, You can add a predicate to filter only accounts with the specified label in the response. The selector should look like this: SelectorBuilder selectorBuilder = new SelectorBuild

Get all accounts linked to MCC with Label "BLA"

2016-09-29 Thread Aba
Hi all, I am trying to retrieve all accounts with label "BLA" that are linked to my MCC . I have managed to do so by creating the following selector : SelectorBuilder selectorBuilder = new SelectorBuilder() .fields(ManagedCustomerField.CustomerId ,ManagedCustomerF