Hi Team, 
Thanks for the quick Response.

I am using CampaignCriterionServiceInterface for my Use Case., where I can 
to a filter on a specific CampaignId but I wanted to do a filter and get 
the results for a set of CampaignIDs
and I tried both containsAny and containsAll. Both of them gives exception  
*"<message>[SelectorError.INVALID_PREDICATE_OPERATOR 
@ serviceSelector; trigger:'CampaignId']</message>"*
And the selector which I created is as below:
 CampaignCriterionServiceInterface campaignCriterionService = 
adWordsServices.get(session,CampaignCriterionServiceInterface.class);
    SelectorBuilder builder = new SelectorBuilder();
    Selector selector = 
builder.fields("CampaignId","UserListName","UserListId")
            .equals("CriteriaType",CriterionType._USER_LIST)
            .equals("IsNegative","false")
           // .equals("CampaignId","11614823499")
            //.containsAll()
            .containsAny("CampaignId","11614823","113245217","116130924")
            .offset(offset).limit(PAGE_SIZE).build();

Can you please let me know how can I use multiple CampaignID at Same time?

Regards,
Anurag Sinha

On Thursday, September 2, 2021 at 7:20:52 PM UTC+5:30 adsapi wrote:

> Hello,
>
> Can you please provide us with your customer ID so that we can take a 
> closer look at the issue you're having?
>
> Thanks,
> Matt
> Google Ads API Team
>
> [image: Google Logo] 
> Matt 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2Mk98O:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/d12605e0-4448-41ec-bf05-f0ce0c643217n%40googlegroups.com.

Reply via email to