Hi,
I wish to set a predicate for a report.
Using the Selector from -
com.google.api.ads.adwords.lib.jaxb.v201309.Selector (as in the report
examples) -
Selector selector = new Selector();
List<String> columnsList = Lists.newArrayList("CampaignId",
"Impressions",
"Clicks");
selector.getFields().addAll(columnsList);
reportDefinition.setReportType(ReportDefinitionReportType.CAMPAIGN_PERFORMANCE_REPORT);
reportDefinition.setDownloadFormat(DownloadFormat.XML);
reportDefinition.setSelector(selector);
In this Selector object there is no setter for Predicates and the attribute
itself is not visible.
How should I set the predicate -
Predicate adGroupIdPredicate = new Predicate("AdGroupId",
PredicateOperator.IN,adgroupIDs);
Thanks
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/groups/opt_out.