Hi Chris, Thanks, I'll pass that on to the core engineering team for consideration.
Best, - Eric On Jul 8, 9:39 pm, chris h <back5...@gmail.com> wrote: > ORing together STARTS_WITH or CONTAINS is a common use case. > > On Jul 8, 6:26 pm, AdWords API Advisor <adwordsapiadvi...@google.com> > wrote: > > > > > Hi Chris, > > > There currently isn't the ability to OR together two different > > predicates. However, for using OR logic on different values of the > > same field you can take advantage of the values array and the IN > > operator. > > > AdGroupId IN (12345, 67890) > > > Is there a use case you have in mind where you would need to OR > > predicates? > > > Best, > > - Eric > > > On Jul 7, 10:56 pm, chris h <back5...@gmail.com> wrote: > > > > I think it would be useful to support a logical OR between predicates. > > > Not sure how it would be expressed using current API semantics. Am I > > > overlooking a way to achieve the same thing using the API is it > > > stands? > > > - Chris > > > > On Jul 7, 4:52 pm, AdWords API Advisor <adwordsapiadvi...@google.com> > > > wrote: > > > > > Hi Chris, > > > > > Yes, the rows must match all predicates to be returned in the report. > > > > This information currently isn't contained in the documentation, but > > > > it should likely appear within the Selector.predicates documentation. > > > > I'll work with the documentation team to ensure this is updated. > > > > > Best, > > > > - Eric > > > > > On Jul 7, 2:51 pm, chris h <back5...@gmail.com> wrote: > > > > > > Eric, > > > > > > If a list of predicates is supplied, are the ANDed together? > > > > > > meta-question: where would I find the answer to that in the > > > > > documentation? > > > > > > Thanks, > > > > > Chris > > > > > > On Jul 7, 2:09 pm, AdWords API Advisor <adwordsapiadvi...@google.com> > > > > > wrote: > > > > > > > Hi Chris, > > > > > > > The values are always passed as strings, as defined in the Predicate > > > > > > object: > > > > > > > http://code.google.com/apis/adwords/v2009/docs/reference/ReportDefini... > > > > > > > Best, > > > > > > - Eric Koleda, AdWords API Team > > > > > > > On Jul 6, 1:16 pm, chris h <back5...@gmail.com> wrote: > > > > > > > > Also, are values always strings? even when field is of another > > > > > > > type? > > > > > > > > On Jul 6, 1:21 am, adwordsapiadvi...@google.com wrote: > > > > > > > > > Hi Chris, > > > > > > > > >http://code.google.com/p/google-api-adwords-java/source/browse/trunk/... > > > > > > > > shows the use of PredicateOperator.EQUALS. The usage of other > > > > > > > > operators > > > > > > > > are similar. > > > > > > > > > Cheers, > > > > > > > > Anash P. Oommen, > > > > > > > > AdWords API Team -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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