Ranjit Behera
unread,May 9, 2014, 9:53:35 AM5/9/14Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to adwor...@googlegroups.com
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.