Skip to content

Commit 7ab1396

Browse files
committed
Ad Manager v202308 release
1 parent c11d039 commit 7ab1396

File tree

204 files changed

+320
-313
lines changed

Some content is hidden

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

204 files changed

+320
-313
lines changed

ChangeLog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
39.0.0 -- 08/14/2023
2+
* Added support for v202308.
3+
* Removed support for v202208.
4+
* Removed examples for v202211.
5+
* Updated setup.py to support the latest 1.x.x google-auth-oauthlib version.
6+
17
38.0.0 -- 05/10/2023
28
* Added support for v202305.
39
* Removed support for v202205.

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

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

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

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

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

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

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

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

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

examples/ad_manager/v202211/activity_service/get_all_activities.py renamed to examples/ad_manager/v202308/activity_service/get_all_activities.py

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

2323
def main(client):
2424
# Initialize appropriate service.
25-
activity_service = client.GetService('ActivityService', version='v202211')
25+
activity_service = client.GetService('ActivityService', version='v202308')
2626

2727
# Create a statement to select activities.
28-
statement = ad_manager.StatementBuilder(version='v202211')
28+
statement = ad_manager.StatementBuilder(version='v202308')
2929

3030
# Retrieve a small amount of activities at a time, paging
3131
# through until all activities have been retrieved.

0 commit comments

Comments
 (0)