Hi, Do your campaigns have any impressions for the date range of your report? If not, then you'll have to specify '*includeZeroImpressions': 'true'* in order to get those campaigns to show up in the report. See our Zero Impressions Guide <https://developers.google.com/adwords/api/docs/guides/zero-impression-reports> for more details.
Cheers, Josh, AdWords API Team On Wednesday, October 22, 2014 9:47:51 AM UTC-4, [email protected] wrote: > > Hello. I don't understand, why i get empty company? > This is my query: > > report_downloader = > self.adwords_client.GetReportDownloader(version='v201409') > > report = { > 'reportName': 'Last 7 days CAMPAIGN_PERFORMANCE_REPORT', > 'dateRangeType': 'LAST_7_DAYS', > 'reportType': 'CAMPAIGN_PERFORMANCE_REPORT', > 'downloadFormat': 'CSV', > *'includeZeroImpressions': 'false',* > 'selector': { > 'fields': [ > 'CampaignId', > 'CampaignName', > 'Impressions', > 'Clicks', > 'Ctr', > 'Amount', > ], > * 'predicates': {* > * 'field': 'Impressions',* > * 'operator': 'GREATER_THAN',* > * 'values': '0',* > }, > 'predicates': { > 'field': 'CampaignStatus', > 'operator': 'IN', > 'values': ['ENABLED'] > }, > }, > } > > print "RESULT: ", report_downloader.DownloadReport(report, > sys.stdout) > > > I get a result: > > RESULT: "Last 7 days CAMPAIGN_PERFORMANCE_REPORT (Oct 15, 2014-Oct 21, > 2014)" > Campaign ID,Campaign,Impressions,Clicks,CTR,Budget > Total, --,0,0,0.00%,0 > > > RESULT: "Last 7 days CAMPAIGN_PERFORMANCE_REPORT (Oct 15, 2014-Oct 21, > 2014)" > Campaign ID,Campaign,Impressions,Clicks,CTR,Budget > Total, --,0,0,0.00%,0 > > > RESULT: "Last 7 days CAMPAIGN_PERFORMANCE_REPORT (Oct 15, 2014-Oct 21, > 2014)" > > Campaign ID,Campaign,Impressions,Clicks,CTR,Budget > Total, --,0,0,0.00%,0 > > > > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/bf6a17f3-d398-480e-ad0b-6b8ad074be15%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
