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" ?>
<reportDefinition 
xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201409";>
    <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:values>example.com</ns2:values>
        </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

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b24472f8-9d9c-4f88-afe1-41e7a2eda538%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to