Hi, I'm not aware of any way to explicitly filter null values. However, you could filter for *Impressions GREATER_THAN 0* and achieve almost the same thing, since I would expect to get a *DestinationUrl* back for any criterion with impressions. You could also filter by *MaxCpc GREATER_THAN 0* instead of trying to filter out null values for that field.
Best regards, Josh, AdWords API Team On Saturday, May 10, 2014 2:38:30 AM UTC-4, Ranjit Behera wrote: > > > Thanks Josh, > > Can u pls tell me how can i apply filter to restrict NULL values in > MaxCpc and DestinationUrl columns. > > I tried with below code : > > $selector->predicates[] = new Predicate('DestinationUrl ','NOT_EQUALS', > NULL); > $selector->predicates[] = new Predicate('MaxCpc ','NOT_EQUALS', NULL); > > above code dint work. > > > On Friday, May 9, 2014 7:23:35 PM UTC+5:30, 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.