Skip to content

Commit 15d3efa

Browse files
authored
Changes for release v13. (#747)
1 parent 9f52ec2 commit 15d3efa

File tree

2,127 files changed

+184264
-183208
lines changed

Some content is hidden

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

2,127 files changed

+184264
-183208
lines changed

ChangeLog

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
1-
* 18.2.0
1+
* 20.0.0
2+
- Remove support for Google Ads API v10.
3+
- Google Ads API v13 release.
4+
- Extend version range for proto-plus and google-api-core
5+
- Update add_customer_match_user_list example with more complex user identifiers
6+
- Remove add_expression_rule_user_list example
7+
- Update remarketing examples to use flexible rule user lists
8+
- Update get_ad_group_bid_modifiers example to remove preferred content criteria
9+
10+
* 19.0.0
211
- Google Ads API v12 release.
312
- Bump proto-plus to 1.22.1.
413
- Remove example for Add Dynamic Page Feed.

examples/account_management/approve_merchant_center_link.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def update_merchant_center_link_status(
125125
if __name__ == "__main__":
126126
# GoogleAdsClient will read the google-ads.yaml configuration file in the
127127
# home directory if none is specified.
128-
googleads_client = GoogleAdsClient.load_from_storage(version="v12")
128+
googleads_client = GoogleAdsClient.load_from_storage(version="v13")
129129

130130
parser = argparse.ArgumentParser(
131131
description=("Approves a Merchant Center link request.")

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="v12")
61+
googleads_client = GoogleAdsClient.load_from_storage(version="v13")
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="v12")
182+
googleads_client = GoogleAdsClient.load_from_storage(version="v13")
183183

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

examples/account_management/get_account_information.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def main(client, customer_id):
5555
if __name__ == "__main__":
5656
# GoogleAdsClient will read the google-ads.yaml configuration file in the
5757
# home directory if none is specified.
58-
googleads_client = GoogleAdsClient.load_from_storage(version="v12")
58+
googleads_client = GoogleAdsClient.load_from_storage(version="v13")
5959

6060
parser = argparse.ArgumentParser(
6161
description=(

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="v12")
189+
googleads_client = GoogleAdsClient.load_from_storage(version="v13")
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="v12")
88+
googleads_client = GoogleAdsClient.load_from_storage(version="v13")
8989

9090
parser = argparse.ArgumentParser(
9191
description=(

examples/account_management/get_pending_invitations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def main(client, customer_id):
6565
if __name__ == "__main__":
6666
# GoogleAdsClient will read the google-ads.yaml configuration file in the
6767
# home directory if none is specified.
68-
googleads_client = GoogleAdsClient.load_from_storage(version="v12")
68+
googleads_client = GoogleAdsClient.load_from_storage(version="v13")
6969

7070
parser = argparse.ArgumentParser(
7171
description=("Retrieves pending invitations for a customer account.")

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="v12")
62+
googleads_client = GoogleAdsClient.load_from_storage(version="v13")
6363

6464
parser = argparse.ArgumentParser(
6565
description=(

examples/account_management/link_manager_to_client.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,8 @@ def main(client, customer_id, manager_customer_id):
8585
)
8686
manager_link_operation = client.get_type("CustomerManagerLinkOperation")
8787
manager_link = manager_link_operation.update
88-
manager_link.resource_name = (
89-
customer_manager_link_service.customer_manager_link_path(
90-
customer_id,
91-
manager_customer_id,
92-
manager_link_id,
93-
)
88+
manager_link.resource_name = customer_manager_link_service.customer_manager_link_path(
89+
customer_id, manager_customer_id, manager_link_id,
9490
)
9591

9692
manager_link.status = client.enums.ManagerLinkStatusEnum.ACTIVE
@@ -112,7 +108,7 @@ def main(client, customer_id, manager_customer_id):
112108
if __name__ == "__main__":
113109
# GoogleAdsClient will read the google-ads.yaml configuration file in the
114110
# home directory if none is specified.
115-
googleads_client = GoogleAdsClient.load_from_storage(version="v12")
111+
googleads_client = GoogleAdsClient.load_from_storage(version="v13")
116112

117113
parser = argparse.ArgumentParser(
118114
description=(

0 commit comments

Comments
 (0)