Hi,
Upon checking your account, both values from the Campaign Performance Report and the Campaign Location Target Report are identical with the values in Google Ads UI. We don't recommend comparing those reports as the Campaigns Performance report includes all statistics aggregated by default at the campaign level, while the Campaign Location Target Report summarizes the performance of campaigns by location-based CampaignCriterion.
Also, you may refer to this guide to see the reports in the Google Ads UI to the comparable AdWords API reports (Campaigns report and Campaigns Location Target Report section).
Please let me know if you have further concerns.
Regards,
Hiroyuki
Google Ads API Team
report_downloader = client.GetReportDownloader(version='v201809')
report_query = (adwords.ReportQueryBuilder() .Select('CampaignId', 'CampaignName', 'Cost') .From('CAMPAIGN_PERFORMANCE_REPORT') .Where('Cost').GreaterThan('0') .Where('AdvertisingChannelSubType').EqualTo('UNIVERSAL_APP_CAMPAIGN') .During(start_date='20190701', end_date='20190801') .Build())
report_downloader.DownloadReportWithAwql( report_query, 'CSV', sys.stdout, skip_report_header=False, skip_column_header=False, skip_report_summary=False, include_zero_impressions=True)
Введите код...
report_downloader = client.GetReportDownloader(version='v201809')
report_query = ( adwords.ReportQueryBuilder().Select('CampaignId', 'CampaignName' 'Id','Cost').From('CAMPAIGN_LOCATION_TARGET_REPORT') .Where('CampaignId').In('1987714293') .During(start_date='20190701', end_date='20190801') .Build())
report_downloader.DownloadReportWithAwql( report_query, 'CSV', sys.stdout, skip_report_header=False, skip_column_header=False, skip_report_summary=False, include_zero_impressions=True)