Hi Team,

I am also Not able to use predicate GREATER_THAN with convertedclicks under 
ADGROUP_PERFORMANCE_REPORT.

$selector->predicates[] = new Predicate('ConvertedClicks', 'GREATER_THAN', 
array('0'));
OR
$selector->predicates[] = new Predicate('ConvertedClicks', 'GREATER_THAN', 
'0');

Getting error : "An error has occurred: Report download failed. Underlying 
errors are Type = 'ReportDownloadError.INVALID_REPORT_DEFINITION_XML', 
Trigger = 'Invalid ReportDefinition Xml: cvc-complex-type.2.4.b: The 
content of element 'predicates' is not complete. One of 
'{"https://adwords.google.com/api/adwords/cm/v201509":values}' is 
expected.', FieldPath = ''. 

Can anyone suggest me solution?

Thanks,


On Monday, 12 May 2014 23:11:41 UTC+5:30, Anash P. Oommen (AdWords API 
Team) wrote:
>
> Hi Ranjit,
>
> For destination url, a DestinationUrl STARTS_WITH 'http' might work.
>
> Cheers,
> Anash P. Oommen,
> AdWords API Advisor.
>
> On Friday, May 9, 2014 11:38:30 PM UTC-7, 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 [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].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/bc08468e-37f1-44b6-9623-da7c457a0513%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to