From eb9b0c92d81ee054b3a543fe47a2a0609ce14bbc Mon Sep 17 00:00:00 2001 From: Alexandru Pisarenco Date: Mon, 8 Jul 2019 16:27:11 +0200 Subject: [PATCH] Add AdGroupId to ad performance report download --- .gitignore | 1 + google_ads_downloader/downloader.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index a84e33f..94b0ec9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ *.egg-info/ __pycache__ .idea +.vscode .venv/ build dist diff --git a/google_ads_downloader/downloader.py b/google_ads_downloader/downloader.py index cacc0db..4df7474 100644 --- a/google_ads_downloader/downloader.py +++ b/google_ads_downloader/downloader.py @@ -103,7 +103,7 @@ def download_data_sets(api_client: AdWordsApiClient): """ download_performance(api_client, PerformanceReportType.AD_PERFORMANCE_REPORT, - fields=['Date', 'Id', 'Device', 'AdNetworkType2', + fields=['Date', 'Id', 'AdGroupId', 'Device', 'AdNetworkType2', 'ActiveViewImpressions', 'AveragePosition', 'Clicks', 'Conversions', 'ConversionValue', 'Cost', 'Impressions'],