|
22 | 22 |
|
23 | 23 | from google.ads.googleads.client import GoogleAdsClient |
24 | 24 | from google.ads.googleads.errors import GoogleAdsException |
25 | | -from google.ads.googleads.v20.services.services.customer_client_link_service.client import ( |
| 25 | +from google.ads.googleads.v21.services.services.customer_client_link_service.client import ( |
26 | 26 | CustomerClientLinkServiceClient, |
27 | 27 | ) |
28 | | -from google.ads.googleads.v20.services.types.customer_client_link_service import ( |
| 28 | +from google.ads.googleads.v21.services.types.customer_client_link_service import ( |
29 | 29 | CustomerClientLinkOperation, |
30 | 30 | MutateCustomerClientLinkResponse, |
31 | 31 | ) |
32 | | -from google.ads.googleads.v20.resources.types.customer_client_link import ( |
| 32 | +from google.ads.googleads.v21.resources.types.customer_client_link import ( |
33 | 33 | CustomerClientLink, |
34 | 34 | ) |
35 | | -from google.ads.googleads.v20.services.services.google_ads_service.client import ( |
| 35 | +from google.ads.googleads.v21.services.services.google_ads_service.client import ( |
36 | 36 | GoogleAdsServiceClient, |
37 | 37 | ) |
38 | | -from google.ads.googleads.v20.services.types.google_ads_service import ( |
| 38 | +from google.ads.googleads.v21.services.types.google_ads_service import ( |
39 | 39 | SearchPagedResponse, |
40 | 40 | GoogleAdsRow, |
41 | 41 | ) |
42 | | -from google.ads.googleads.v20.services.services.customer_manager_link_service.client import ( |
| 42 | +from google.ads.googleads.v21.services.services.customer_manager_link_service.client import ( |
43 | 43 | CustomerManagerLinkServiceClient, |
44 | 44 | ) |
45 | | -from google.ads.googleads.v20.services.types.customer_manager_link_service import ( |
| 45 | +from google.ads.googleads.v21.services.types.customer_manager_link_service import ( |
46 | 46 | CustomerManagerLinkOperation, |
47 | 47 | MutateCustomerManagerLinkResponse, |
48 | 48 | ) |
49 | | -from google.ads.googleads.v20.resources.types.customer_manager_link import ( |
| 49 | +from google.ads.googleads.v21.resources.types.customer_manager_link import ( |
50 | 50 | CustomerManagerLink, |
51 | 51 | ) |
52 | 52 |
|
@@ -179,7 +179,7 @@ def main( |
179 | 179 |
|
180 | 180 | # GoogleAdsClient will read the google-ads.yaml configuration file in the |
181 | 181 | # home directory if none is specified. |
182 | | - googleads_client = GoogleAdsClient.load_from_storage(version="v20") |
| 182 | + googleads_client = GoogleAdsClient.load_from_storage(version="v21") |
183 | 183 | try: |
184 | 184 | main(googleads_client, args.customer_id, args.manager_customer_id) |
185 | 185 | except GoogleAdsException as ex: |
|
0 commit comments