Yeah I've tried that, my issue is that I need to retrieve a group of 
keywords that belong in multiple ad groups using a single call. So I would 
basically be submitting something like the following:

 Predicate predicate1 = new Predicate(); 
   predicate.setField("AdGroupId"); 
   predicate.setOperator(PredicateOperator.IN); 
   predicate.setValues(new String[]{adGroupId1, adGroupId2, 
adGroupId3} ); 

Predicate predicate2 = new Predicate(); 
   predicate.setField("CriterionId"); 
   predicate.setOperator(PredicateOperator.IN); 
   predicate.setValues(new String[]{criterionId1, criterionId2, 
criterionId3} );

Predicate[] preditcates = new Predicate[]{predicate1,predicate2};

selector.setPredicates(predicates);

Would the system be smart enough to realize which ad group each criterion 
belongs to?



-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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

Reply via email to