Skip to content

Commit ba301a2

Browse files
committed
Ad Manager v202305 release
1 parent d5582cd commit ba301a2

File tree

205 files changed

+373
-369
lines changed

Some content is hidden

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

205 files changed

+373
-369
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
38.0.0 -- 05/10/2023
2+
* Added support for v202305.
3+
* Removed support for v202205.
4+
* Removed examples for v202208.
5+
16
37.0.0 -- 02/16/2023
27
* Added support for v202302.
38
* Removed support for v202202.
File renamed without changes.

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

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

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

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

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

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

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

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

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

examples/ad_manager/v202208/activity_service/get_all_activities.py renamed to examples/ad_manager/v202305/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='v202208')
25+
activity_service = client.GetService('ActivityService', version='v202305')
2626

2727
# Create a statement to select activities.
28-
statement = ad_manager.StatementBuilder(version='v202208')
28+
statement = ad_manager.StatementBuilder(version='v202305')
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)