Gosh, I don't know - did you try it? I'd be fascinated to know if that works. Given the same problem, I would likely just retrieve all keywords for the adgroups and filter them out at my end. Maybe that's a little brute-force, but I've already got that retrieval code working :)
On Apr 27, 11:38 am, JB <[email protected]> wrote: > 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en
