Skip to content

Commit d95b2ef

Browse files
authored
Changes for release 12_0. (#716)
1 parent 0067362 commit d95b2ef

File tree

1,449 files changed

+194598
-4141
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,449 files changed

+194598
-4141
lines changed

ChangeLog

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
* 18.2.0
2+
- Google Ads API v12 release.
3+
- Bump proto-plus to 1.22.1.
4+
- Remove example for Add Dynamic Page Feed.
5+
- Remove example for Add Smart Display Ad.
6+
- Remove example for Add Local Campaign.
7+
- Remove usage of GenerateProductMixes in Forecast Reach example.
8+
- Update example Create Experiment to rename ExperimentArm.trial to ExperimentArm.experiment.
9+
- Update example Add Smart Campaign to support KeywordThemeSuggestion changes.
10+
111
* 18.1.0
212
- Google Ads API v11_1 release.
313
- Bump protobuf dependency to version 4.21.5.

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="v11")
128+
googleads_client = GoogleAdsClient.load_from_storage(version="v12")
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="v11")
61+
googleads_client = GoogleAdsClient.load_from_storage(version="v12")
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="v11")
182+
googleads_client = GoogleAdsClient.load_from_storage(version="v12")
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="v11")
58+
googleads_client = GoogleAdsClient.load_from_storage(version="v12")
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="v11")
189+
googleads_client = GoogleAdsClient.load_from_storage(version="v12")
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="v11")
88+
googleads_client = GoogleAdsClient.load_from_storage(version="v12")
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="v11")
68+
googleads_client = GoogleAdsClient.load_from_storage(version="v12")
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="v11")
62+
googleads_client = GoogleAdsClient.load_from_storage(version="v12")
6363

6464
parser = argparse.ArgumentParser(
6565
description=(

examples/account_management/link_manager_to_client.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,12 @@ 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 = customer_manager_link_service.customer_manager_link_path(
89-
customer_id, manager_customer_id, manager_link_id,
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+
)
9094
)
9195

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

113117
parser = argparse.ArgumentParser(
114118
description=(

0 commit comments

Comments
 (0)