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 [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
---
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 [email protected].
For more options, visit https://groups.google.com/d/optout.