Hi Charlie, I just tried various predicates on the *Url* field in that report, and I can't get it to work either. I've contacted the reporting team to see if this is a documentation error or an issue with the report itself. I'll post back here once I hear from them.
In the meantime, I think your only option would be to filter the results on your side. Thanks, Josh, AdWords API Team On Tuesday, January 27, 2015 at 1:53:18 PM UTC-5, Charlie Saunders wrote: > > 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 adwords-api+unsubscr...@googlegroups.com. 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/9a95ddee-b0de-4935-9352-600388cf11aa%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.