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 > <https://developers.google.com/adwords/api/docs/appendix/selectorfields#v201607-ManagedCustomerService> > to > filter only accounts with the specified label in the response. The selector > should look like this: > > SelectorBuilder selectorBuilder = > new SelectorBuilder() > .fields(ManagedCustomerField.CustomerId > ,ManagedCustomerField.AccountLabels > ,ManagedCustomerField.Name) > .equals(ManagedCustomerField.AccountLabels, "AccountLabelId") > .offset(offsetMC) > .limit(PAGE_SIZE); > > Regards, > Shwetha, 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 https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/143ad5a3-c685-4786-b454-2b2187d077bb%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.