Hi, That error is occurring because you cannot use the *CONTAINS_IGNORE_CASE*operator with the *Status* field. If you use *EQUALS*, *IN* or *NOT_IN* the report should run successfully. The reason for this is that *CONTAINS_IGNORE_CASE* is meant for String fields, but *Status* will be an instance of the *UserStatus* enum.
Note also that the only valid values for *Status* are *ACTIVE, PAUSED, *and *DELETED*. You can see the valid values in the last column of the *Status* row in the report's documentation<https://developers.google.com/adwords/api/docs/appendix/reports#keywords> . Cheers, Josh, AdWords API Team On Friday, May 9, 2014 9:53:35 AM UTC-4, Ranjit Behera wrote: > > Hi, > > Am trying to apply predicates to Keyword Performance Report, below is my > Code : > > $selector->predicates[] = new Predicate('Impressions', > 'GREATER_THAN_EQUALS', '0'); > $selector->predicates[] = new Predicate('Status', > 'CONTAINS_IGNORE_CASE','PAUSED'); > > I Also tried : > > $selector->predicates[] = new Predicate('Impressions', > 'GREATER_THAN_EQUALS', '0'); > $selector->predicates[] = new Predicate('Status', > 'CONTAINS_IGNORE_CASE',array('PAUSED','ENABLED','LOW SEARCH VOLUME','LOW > QUALITY SCORE','BELOW FIRST PAGE BID')); > > But got this below Error : > > <?xml version="1.0" encoding="UTF-8"?> > <reportDownloadError> > <ApiError> > <type>SelectorError.INVALID_PREDICATE_OPERATOR</type> > <trigger>Status</trigger> > <fieldPath>selector</fieldPath> > </ApiError> > <ApiError> > <type>SelectorError.INVALID_PREDICATE_OPERATOR</type> > <trigger>Status</trigger> > <fieldPath>selector</fieldPath> > </ApiError> > <ApiError> > <type>SelectorError.INVALID_PREDICATE_ENUM_VALUE</type> > <trigger>ENABLED</trigger> > <fieldPath>selector</fieldPath> > </ApiError> > <ApiError> > <type>SelectorError.INVALID_PREDICATE_OPERATOR</type> > <trigger>Status</trigger> > <fieldPath>selector</fieldPath> > </ApiError> > <ApiError> > <type>SelectorError.INVALID_PREDICATE_ENUM_VALUE</type> > <trigger>LOW SEARCH VOLUME</trigger> > <fieldPath>selector</fieldPath> > </ApiError> > <ApiError> > <type>SelectorError.INVALID_PREDICATE_OPERATOR</type> > <trigger>Status</trigger> > <fieldPath>selector</fieldPath> > </ApiError> > <ApiError> > <type>SelectorError.INVALID_PREDICATE_ENUM_VALUE</type> > <trigger>LOW QUALITY SCORE</trigger> > <fieldPath>selector</fieldPath> > </ApiError> > <ApiError> > <type>SelectorError.INVALID_PREDICATE_OPERATOR</type> > <trigger>Status</trigger> > <fieldPath>selector</fieldPath> > </ApiError> > <ApiError> > <type>SelectorError.INVALID_PREDICATE_ENUM_VALUE</type> > <trigger>BELOW FIRST PAGE BID</trigger> > <fieldPath>selector</fieldPath> > </ApiError> > </reportDownloadError> > > How can apply this filter for Keyword Performance Report. > > Can anyone give a sammple code ?? > > Thanks. > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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. For more options, visit https://groups.google.com/d/optout.