import com.google.api.ads.adwords.lib.jaxb.v201809.Selector;
import com.google.api.ads.adwords.lib.jaxb.v201809.DateRange;
import com.google.api.ads.adwords.lib.jaxb.v201809.ReportDefinition;
import
com.google.api.ads.adwords.lib.jaxb.v201809.ReportDefinitionDateRangeType;
import
com.google.api.ads.adwords.lib.jaxb.v201809.ReportDefinitionReportType;
import com.google.api.ads.adwords.lib.jaxb.v201809.DownloadFormat;
DateRange dateRange = new DateRange();
dateRange.setMin("20190326");
dateRange.setMax("20190326");
Selector selector = new Selector();
selector.setDateRange(dateRange);
ReportDefinition reportDefinition = new ReportDefinition();
reportDefinition.setReportName("my_report");
reportDefinition.setDateRangeType(ReportDefinitionDateRangeType.CUSTOM_DATE);
reportDefinition.setReportType(ReportDefinitionReportType.valueOf("CAMPAIGN_PERFORMANCE_REPORT");
reportDefinition.setDownloadFormat(DownloadFormat.CSV);
================================================================================
However, I received all the reports regardless custom date...
please solve this problem :(
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/48daff3e-3bf2-49e3-b164-a51fcaab8608%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.