Hi again,

Thanks for your answer, even if it seems our problem is not about to be 
saved...
In case of, if it can help, here is the parameters we were setting in v13 to 
"fit" the web interface behavior :

   public static final CampaignStatus[] CAMPAIGN_STATUSES = new 
CampaignStatus[] { 
         CampaignStatus.Active,
         CampaignStatus.Paused };
   public static final AdGroupStatus[] AD_GROUP_STATUSES = new 
AdGroupStatus[] { 
         AdGroupStatus.Enabled,
         AdGroupStatus.Paused };
   public static final KeywordStatus[] KEYWORD_STATUSES = new 
KeywordStatus[] { 
         KeywordStatus.Disapproved,
         KeywordStatus.Paused, 
         KeywordStatus.Active, 
         KeywordStatus.InActive };
   protected DefinedReportJob prepareDefinedReportJob(String country, Date 
beginDate, Date endDate, String login) {
      DefinedReportJob job = new DefinedReportJob();
      job.setSelectedReportType("Keyword");
      job.setIncludeZeroImpression(true);
      job.setName("SEM stream Keywords Report for " + country + " and " + 
login);
      job.setAggregationTypes(new String[] { "Summary" });
      job.setCrossClient(true);
      job.setClientEmails(new String[] { login });
      job.setAdWordsType(AdWordsType.SearchOnly);
      job.setStartDay(beginDate);
      job.setEndDay(endDate);
      job.setCampaignStatuses(CAMPAIGN_STATUSES);
      job.setAdGroupStatuses(AD_GROUP_STATUSES);
      job.setKeywordStatuses(KEYWORD_STATUSES);
      job.setSelectedColumns(SELECTED_COLUMNS);
      return job;
   }

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [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

Reply via email to