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 
> (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/f6f23faf-47e3-4c50-bc1f-ccbfc82e052c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to