You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Google Ads Performance Downloader
2
2
3
-
A Python script for downloading performance data and account structure from an [MCC account](https://ads.google.com/home/tools/manager-accounts/) using the Google Adwords API ([v201806](https://developers.google.com/adwords/api/docs/reference/release-notes/v201806)) to local files.
3
+
A Python script for downloading performance data and account structure from an [MCC account](https://ads.google.com/home/tools/manager-accounts/) using the Google Adwords API ([v201809](https://developers.google.com/adwords/api/docs/reference/release-notes/v201809)) to local files.
4
4
5
5
The [mara Google ads performance pipeline](https://github.com/mara/google-ads-performance-pipeline) can be, then, used for loading and transforming the downloaded data into a dimensional schema.
6
6
@@ -9,8 +9,8 @@ By default, it creates two data sets:
9
9
10
10
1.**Ad Performance** consists of measures such as impressions, clicks, conversions and cost. The script creates one file per day in a specified time range:
For the last 30 days, the script always re-downloads the files as data still changes (e.g cost or attributed conversions). Beyond that, files are only downloaded when they do not yet exist.
16
16
**Note**: If you are using an attribution window larger than 30 days adjust the `redownload_window` config accordingly.
@@ -39,7 +39,7 @@ By default, it creates two data sets:
39
39
40
40
2.**Account Structure** information. This file is always overwritten by the script:
41
41
42
-
data/google-ads-account-structure-v3.csv.gz
42
+
data/google-ads-account-structure-v4.csv.gz
43
43
44
44
Each line contains one ad together with its ad group, campaign and account:
45
45
@@ -75,7 +75,7 @@ Optionally, you can apply labels on all hierarchy levels for segmenting the acco
75
75
The Google Ads Performance Downloader requires:
76
76
77
77
Python (>= 3.6)
78
-
googleads (==10.0.0)
78
+
googleads (==15.0.2)
79
79
click (>=6.0)
80
80
81
81
The easiest way to install google-ads-downloader is using pip
@@ -165,7 +165,7 @@ All options:
165
165
data will be redownloaded. Default: "30"
166
166
--output_file_version TEXT A suffix that is added to output files,
167
167
denoting a version of the data format. Default:
168
-
"v3"
168
+
"v4"
169
169
--max_retries TEXT How often try retry at max in case of 500
170
170
errors. Default: "5"
171
171
--retry_backoff_factor TEXT How many seconds to wait between retries (is
0 commit comments