Skip to content

Commit 2e100cb

Browse files
authored
Changes for release v16_0. (#841)
1 parent 720b39e commit 2e100cb

File tree

1,535 files changed

+234893
-2964
lines changed

Some content is hidden

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

1,535 files changed

+234893
-2964
lines changed

ChangeLog

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
* 23.1.0
2+
- Google Ads API v16 release.
3+
- Use native `open` function to load README in setup.py.
4+
- Remove `namespace_packages` parameter in call to `setup` in setup.py.
5+
- Remove `upload_image` and `upload_media_bundle` examples.
6+
- Combine detect and apply recommendations examples.
7+
- Update extensions-related examples to use assets instead.
8+
19
* 23.0.0
210
- Remove support for Python 3.7
311
- Add support for Python 3.11 and 3.12

examples/account_management/create_customer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def main(client, manager_customer_id):
5858
if __name__ == "__main__":
5959
# GoogleAdsClient will read the google-ads.yaml configuration file in the
6060
# home directory if none is specified.
61-
googleads_client = GoogleAdsClient.load_from_storage(version="v15")
61+
googleads_client = GoogleAdsClient.load_from_storage(version="v16")
6262

6363
parser = argparse.ArgumentParser(
6464
description=("Creates a new client under the given manager.")

examples/account_management/get_account_hierarchy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def print_account_hierarchy(
179179
if __name__ == "__main__":
180180
# GoogleAdsClient will read the google-ads.yaml configuration file in the
181181
# home directory if none is specified.
182-
googleads_client = GoogleAdsClient.load_from_storage(version="v15")
182+
googleads_client = GoogleAdsClient.load_from_storage(version="v16")
183183

184184
parser = argparse.ArgumentParser(
185185
description="This example gets the account hierarchy of the specified "

examples/account_management/get_change_details.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ def main(client, customer_id):
186186
if __name__ == "__main__":
187187
# GoogleAdsClient will read the google-ads.yaml configuration file in the
188188
# home directory if none is specified.
189-
googleads_client = GoogleAdsClient.load_from_storage(version="v15")
189+
googleads_client = GoogleAdsClient.load_from_storage(version="v16")
190190

191191
parser = argparse.ArgumentParser(
192192
description="This example gets specific details about the most recent "

examples/account_management/get_change_summary.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def main(client, customer_id):
8585
if __name__ == "__main__":
8686
# GoogleAdsClient will read a google-ads.yaml configuration file in the
8787
# home directory if none is specified.
88-
googleads_client = GoogleAdsClient.load_from_storage(version="v15")
88+
googleads_client = GoogleAdsClient.load_from_storage(version="v16")
8989

9090
parser = argparse.ArgumentParser(
9191
description=(

examples/account_management/invite_user_with_access_role.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def main(client, customer_id, email_address, access_role):
5959
if __name__ == "__main__":
6060
# GoogleAdsClient will read the google-ads.yaml configuration file in the
6161
# home directory if none is specified.
62-
googleads_client = GoogleAdsClient.load_from_storage(version="v15")
62+
googleads_client = GoogleAdsClient.load_from_storage(version="v16")
6363

6464
parser = argparse.ArgumentParser(
6565
description=(

examples/account_management/link_manager_to_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def main(client, customer_id, manager_customer_id):
112112
if __name__ == "__main__":
113113
# GoogleAdsClient will read the google-ads.yaml configuration file in the
114114
# home directory if none is specified.
115-
googleads_client = GoogleAdsClient.load_from_storage(version="v15")
115+
googleads_client = GoogleAdsClient.load_from_storage(version="v16")
116116

117117
parser = argparse.ArgumentParser(
118118
description=(

examples/account_management/list_accessible_customers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def main(client):
4444
if __name__ == "__main__":
4545
# GoogleAdsClient will read the google-ads.yaml configuration file in the
4646
# home directory if none is specified.
47-
googleads_client = GoogleAdsClient.load_from_storage(version="v15")
47+
googleads_client = GoogleAdsClient.load_from_storage(version="v16")
4848

4949
try:
5050
main(googleads_client)

examples/account_management/update_user_access.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def modify_user_access(client, customer_id, user_id, access_role):
137137
if __name__ == "__main__":
138138
# GoogleAdsClient will read the google-ads.yaml configuration file in the
139139
# home directory if none is specified.
140-
googleads_client = GoogleAdsClient.load_from_storage(version="v15")
140+
googleads_client = GoogleAdsClient.load_from_storage(version="v16")
141141

142142
parser = argparse.ArgumentParser(
143143
description="This code example updates the access role of a user, "

examples/advanced_operations/add_ad_customizer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ def create_ad_with_customizations(
263263
if __name__ == "__main__":
264264
# GoogleAdsClient will read the google-ads.yaml configuration file in the
265265
# home directory if none is specified.
266-
googleads_client = GoogleAdsClient.load_from_storage(version="v15")
266+
googleads_client = GoogleAdsClient.load_from_storage(version="v16")
267267

268268
parser = argparse.ArgumentParser(
269269
description=(

0 commit comments

Comments
 (0)