Skip to content

Commit 697c338

Browse files
I've updated the internal API version references from v19 to v20.
This change updates all internal references to the Google Ads API from v19 to v20 within the examples/travel directory.
1 parent eb4a0a8 commit 697c338

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

examples/travel/add_hotel_ad.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ def add_hotel_campaign(
232232
# GoogleAdsClient will read the google-ads.yaml configuration file in the
233233
# home directory if none is specified.
234234
googleads_client: GoogleAdsClient = GoogleAdsClient.load_from_storage(
235-
version="v19"
235+
version="v20"
236236
)
237237

238238
try:

examples/travel/add_hotel_ad_group_bid_modifiers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def main(client: GoogleAdsClient, customer_id: str, ad_group_id: str) -> None:
9898
# GoogleAdsClient will read the google-ads.yaml configuration file in the
9999
# home directory if none is specified.
100100
googleads_client: GoogleAdsClient = GoogleAdsClient.load_from_storage(
101-
version="v19"
101+
version="v20"
102102
)
103103

104104
try:

examples/travel/add_hotel_listing_group_tree.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ def create_ad_group_criterion(
502502
# GoogleAdsClient will read the google-ads.yaml configuration file in the
503503
# home directory if none is specified.
504504
googleads_client: GoogleAdsClient = GoogleAdsClient.load_from_storage(
505-
version="v19"
505+
version="v20"
506506
)
507507

508508
try:

examples/travel/add_performance_max_for_travel_goals_campaign.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1010,7 +1010,7 @@ def print_response_details(mutate_response: Any) -> None:
10101010
# GoogleAdsClient will read the google-ads.yaml configuration file in the
10111011
# home directory if none is specified.
10121012
googleads_client: GoogleAdsClient = GoogleAdsClient.load_from_storage(
1013-
version="v19"
1013+
version="v20"
10141014
)
10151015

10161016
try:

examples/travel/add_things_to_do_ad.py

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

269269
try:

0 commit comments

Comments
 (0)