Hi Janice, What is the error you are getting?
Best, - Eric Koleda, AdWords API Team On Feb 4, 12:56 am, Janice <[email protected]> wrote: > Why I can't generate the Demographic Report yun the Google Adword API > Service in my code? > > It always return an error because of job parameter name. but i use > thishttp://code.google.com/apis/adwords/docs/developer/adwords_api_report... > as my reference. Other types of reports works. except this one. > > Here is my code: I try to use CustomerName field only. > > _reportJob = new DefinedReportJob(); > _reportJob.name = "Demographic Report"; > _reportJob.selectedReportType = "Demographic"; > _reportJob.aggregationTypes = new String[] { "AdGroup", > "Daily" }; > _reportJob.selectedColumns = new String[] { > > "PlacementDomain","DemographicAge","DemographicGender","Campaign","AdGroup" > ,"Clicks","CPC","Impressions", > > "CTR","CPC","Cost","Conversions","CostPerConversion","ConversionRate"}; > _reportJob.adWordsType = AdWordsType.SearchOnly; > _reportJob.adWordsTypeSpecified = true; > _reportJob.endDay = DateTime.Today; // defaults to today > _reportJob.startDay = DateTime.Today.AddDays(-1); -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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
