Hello all,
I am attempting to download a URL_PERFORMANCE_REPORT with a CONTAINS predicate on the URL field, but I keep getting the following error:
HTTP Response Code: 400, FieldPath: selector, Trigger: Url, Type: SelectorError.INVALID_PREDICATE_FIELD_NAME
Here is an example of my request:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<ns2:selector>
<ns2:fields>CampaignName</ns2:fields>
<ns2:fields>AdGroupName</ns2:fields>
<ns2:fields>Url</ns2:fields>
<ns2:fields>Clicks</ns2:fields>
<ns2:fields>Cost</ns2:fields>
<ns2:fields>Conversions</ns2:fields>
<ns2:fields>ConversionValue</ns2:fields>
<ns2:predicates>
<ns2:field>Url</ns2:field>
<ns2:operator>CONTAINS</ns2:operator>
</ns2:predicates>
<ns2:dateRange>
<ns2:min>20150101</ns2:min>
<ns2:max>20150111</ns2:max>
</ns2:dateRange>
</ns2:selector>
<ns2:reportName>URL_PERFORMANCE_REPORT #1422383552807</ns2:reportName>
<ns2:reportType>URL_PERFORMANCE_REPORT</ns2:reportType>
<ns2:dateRangeType>CUSTOM_DATE</ns2:dateRangeType>
<ns2:downloadFormat>TSV</ns2:downloadFormat>
</reportDefinition>
I am using v201409 of the Java library.
Am I doing something wrong, or is this predicate not allowed?
Thanks!
Charlie