Skip to content

Commit 56d4926

Browse files
committed
Ad Manager v202202 release.
1 parent b3b42a6 commit 56d4926

File tree

206 files changed

+469
-331
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

206 files changed

+469
-331
lines changed

ChangeLog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
31.0.0 -- 02/16/2022
2+
* The minimum supported version of Python is now 3.7.0.
3+
* Added support for Ad Manager v202202.
4+
* Removed support for Ad Manager v202102.
5+
* Removed examples for Ad Manager v202105.
6+
17
30.0.0 -- 11/16/2021
28
* Added support for Ad Manager v202111.
39
* Removed support for Ad Manager v202011.

README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,9 @@ and DoubleClick for Publishers. The library provides easy ways to store your
55
authentication and create SOAP web service clients. It also contains example
66
code to help you get started integrating with our APIs.
77

8-
> **The Google AdWords API will [sunset on April 27, 2022](https://ads-developers.googleblog.com/2021/04/upgrade-to-google-ads-api-from-adwords.html).
8+
> **The Google AdWords API will [sunset on April 27, 2022](https://ads-developers.googleblog.com/2021/04/upgrade-to-google-ads-api-from-adwords.html).
99
> Upgrade to the [Google Ads API](https://developers.google.com/google-ads/api/docs/client-libs).**
1010
11-
**NOTE**: As of v20.0.0 this library is _not_ compatible with Python versions less than Python 3.6.
12-
Also `suds` is no longer supported in this library, `zeep` is now the only supported SOAP client.
13-
1411
## Getting started
1512
1. Download and install the library
1613

@@ -164,7 +161,7 @@ adwords_client = adwords.AdWordsClient(
164161

165162
### Python Versions
166163

167-
This library only supports Python 3.6+.
164+
This library only supports Python 3.7+.
168165

169166
### External Dependencies:
170167

examples/ad_manager/v202105/activity_group_service/create_activity_groups.py renamed to examples/ad_manager/v202202/activity_group_service/create_activity_groups.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
def main(client, advertiser_company_id):
3939
# Initialize appropriate service.
4040
activity_group_service = client.GetService('ActivityGroupService',
41-
version='v202105')
41+
version='v202202')
4242

4343
# Create a short-term activity group.
4444
short_term_activity_group = {

examples/ad_manager/v202105/activity_group_service/get_active_activity_groups.py renamed to examples/ad_manager/v202202/activity_group_service/get_active_activity_groups.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
def main(client):
2424
# Initialize appropriate service.
2525
activity_group_service = client.GetService(
26-
'ActivityGroupService', version='v202105')
26+
'ActivityGroupService', version='v202202')
2727
# Create a statement to select activity groups.
28-
statement = (ad_manager.StatementBuilder(version='v202105')
28+
statement = (ad_manager.StatementBuilder(version='v202202')
2929
.Where('status = :status')
3030
.WithBindVariable('status', 'ACTIVE'))
3131

examples/ad_manager/v202105/activity_group_service/get_all_activity_groups.py renamed to examples/ad_manager/v202202/activity_group_service/get_all_activity_groups.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@
2323
def main(client):
2424
# Initialize appropriate service.
2525
activity_group_service = client.GetService(
26-
'ActivityGroupService', version='v202105')
26+
'ActivityGroupService', version='v202202')
2727

2828
# Create a statement to select activity groups.
29-
statement = ad_manager.StatementBuilder(version='v202105')
29+
statement = ad_manager.StatementBuilder(version='v202202')
3030

3131
# Retrieve a small amount of activity groups at a time, paging
3232
# through until all activity groups have been retrieved.

examples/ad_manager/v202105/activity_group_service/update_activity_groups.py renamed to examples/ad_manager/v202202/activity_group_service/update_activity_groups.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@
3737
def main(client, activity_group_id, advertiser_company_id):
3838
# Initialize appropriate service.
3939
activity_group_service = client.GetService('ActivityGroupService',
40-
version='v202105')
40+
version='v202202')
4141

4242
# Create statement object to select a single activity groups by ID.
43-
statement = (ad_manager.StatementBuilder(version='v202105')
43+
statement = (ad_manager.StatementBuilder(version='v202202')
4444
.Where('id = :activityGroupId')
4545
.WithBindVariable('activityGroupId', int(activity_group_id))
4646
.Limit(1))

examples/ad_manager/v202105/activity_service/create_activities.py renamed to examples/ad_manager/v202202/activity_service/create_activities.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
def main(client, activity_group_id):
3939
# Initialize appropriate service.
40-
activity_service = client.GetService('ActivityService', version='v202105')
40+
activity_service = client.GetService('ActivityService', version='v202202')
4141

4242
# Create a daily visits activity.
4343
daily_visits_activity = {

examples/ad_manager/v202105/activity_service/get_active_activities.py renamed to examples/ad_manager/v202202/activity_service/get_active_activities.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222

2323
def main(client):
2424
# Initialize appropriate service.
25-
activity_service = client.GetService('ActivityService', version='v202105')
25+
activity_service = client.GetService('ActivityService', version='v202202')
2626
# Create a statement to select activities.
27-
statement = (ad_manager.StatementBuilder(version='v202105')
27+
statement = (ad_manager.StatementBuilder(version='v202202')
2828
.Where('status = :status')
2929
.WithBindVariable('status', 'ACTIVE'))
3030

0 commit comments

Comments
 (0)