Skip to content

Commit a5d4d7e

Browse files
author
David Wihl
committed
Ad Manager v202105 release
1 parent 9bfa25c commit a5d4d7e

File tree

220 files changed

+582
-337
lines changed

Some content is hidden

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

220 files changed

+582
-337
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
28.0.0 -- 05/11/2021
2+
* Added support for Ad Manager v202105.
3+
* Removed support for Ad Manager v202005.
4+
* Removed examples for Ad Manager v202008.
5+
16
27.0.0 -- 02/17/2021
27
* Added support for Ad Manager v202102.
38
* Removed support for Ad Manager v202002.

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
# The googleads Python client library
22

3-
**Note:** DoubleClick for Publishers was recently renamed to Google Ad Manager, and this library
4-
was modified to follow suit. Please see the [migration guide](https://github.com/googleads/googleads-python-lib/wiki/dfp-rebrand)
5-
for more details.
6-
73
This client library simplifies accessing Google's SOAP Ads APIs - AdWords,
84
and DoubleClick for Publishers. The library provides easy ways to store your
95
authentication and create SOAP web service clients. It also contains example
106
code to help you get started integrating with our APIs.
117

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).
9+
> Upgrade to the [Google Ads API](https://developers.google.com/google-ads/api/docs/client-libs).**
10+
1211
**NOTE**: As of v20.0.0 this library is _not_ compatible with Python versions less than Python 3.6.
1312
Also `suds` is no longer supported in this library, `zeep` is now the only supported SOAP client.
1413

examples/ad_manager/v202008/activity_group_service/create_activity_groups.py renamed to examples/ad_manager/v202105/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='v202008')
41+
version='v202105')
4242

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

examples/ad_manager/v202008/activity_group_service/get_active_activity_groups.py renamed to examples/ad_manager/v202105/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='v202008')
26+
'ActivityGroupService', version='v202105')
2727
# Create a statement to select activity groups.
28-
statement = (ad_manager.StatementBuilder(version='v202008')
28+
statement = (ad_manager.StatementBuilder(version='v202105')
2929
.Where('status = :status')
3030
.WithBindVariable('status', 'ACTIVE'))
3131

examples/ad_manager/v202008/activity_group_service/get_all_activity_groups.py renamed to examples/ad_manager/v202105/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='v202008')
26+
'ActivityGroupService', version='v202105')
2727

2828
# Create a statement to select activity groups.
29-
statement = ad_manager.StatementBuilder(version='v202008')
29+
statement = ad_manager.StatementBuilder(version='v202105')
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/v202008/activity_group_service/update_activity_groups.py renamed to examples/ad_manager/v202105/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='v202008')
40+
version='v202105')
4141

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

examples/ad_manager/v202008/activity_service/create_activities.py renamed to examples/ad_manager/v202105/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='v202008')
40+
activity_service = client.GetService('ActivityService', version='v202105')
4141

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

examples/ad_manager/v202008/activity_service/get_active_activities.py renamed to examples/ad_manager/v202105/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='v202008')
25+
activity_service = client.GetService('ActivityService', version='v202105')
2626
# Create a statement to select activities.
27-
statement = (ad_manager.StatementBuilder(version='v202008')
27+
statement = (ad_manager.StatementBuilder(version='v202105')
2828
.Where('status = :status')
2929
.WithBindVariable('status', 'ACTIVE'))
3030

0 commit comments

Comments
 (0)