I understood that you can still pull structure reports using
ReportDefinitionService in V201008. I am trying to pull all campaigns
using following code :


            // Create report definition.
            ReportDefinition reportDefinition = new
ReportDefinition();
            reportDefinition.setReportName(getName());
 
reportDefinition.setDateRangeType(ReportDefinitionDateRangeType.TODAY);
 
reportDefinition.setReportType(ReportDefinitionReportType.CAMPAIGN_PERFORMANCE_REPORT);
            reportDefinition.setDownloadFormat(DownloadFormat.XML);
            reportDefinition.setSelector(selector);

Columns are specified in selector. When I open up XML it only contains
one of the campaign from account, right now my account has close to 10
campaigns. Somewhere in the this group I read by default performance
report returns zero impressions records so thats how performance
report can be used to pull structure info. I tried specifying greater
than zero impressions explicitly too in predicate but xml file still
has one record.

Am I doing something wrong here?

Thanks.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.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 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

Reply via email to