Re: structure report in V201008

2011-01-17 Thread codeninja
adwords api team,

is this a real issue or i am doing something wrong here?

thanks.

On Jan 13, 4:36 pm, codeninja shettytej...@gmail.com wrote:
 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_PERFORMA 
 NCE_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


Re: structure report in V201008

2011-01-17 Thread AdWords API Advisor
Hi,

Could you post a request id (or the sanitized soap xml) for a call
where you create a report definition?

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Jan 18, 1:03 am, codeninja shettytej...@gmail.com wrote:
 adwords api team,

 is this a real issue or i am doing something wrong here?

 thanks.

 On Jan 13, 4:36 pm, codeninja shettytej...@gmail.com wrote:



  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_PERFORMA 
  NCE_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


structure report in V201008

2011-01-13 Thread codeninja
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