|
34 | 34 |
|
35 | 35 | from google.ads.googleads.client import GoogleAdsClient |
36 | 36 | from google.ads.googleads.errors import GoogleAdsException |
37 | | -from google.ads.googleads.v19.services.types.google_ads_service import ( |
| 37 | +from google.ads.googleads.v20.services.types.google_ads_service import ( |
38 | 38 | GoogleAdsServiceClient, |
39 | 39 | SearchGoogleAdsStreamResponse, |
40 | 40 | ) |
41 | | -from google.ads.googleads.v19.services.types.user_list_service import ( |
| 41 | +from google.ads.googleads.v20.services.types.user_list_service import ( |
42 | 42 | UserListOperation, |
43 | 43 | UserListServiceClient, |
44 | 44 | ) |
45 | | -from google.ads.googleads.v19.resources.types.user_list import UserList |
46 | | -from google.ads.googleads.v19.services.types.offline_user_data_job_service import ( |
| 45 | +from google.ads.googleads.v20.resources.types.user_list import UserList |
| 46 | +from google.ads.googleads.v20.services.types.offline_user_data_job_service import ( |
47 | 47 | OfflineUserDataJobOperation, |
48 | 48 | OfflineUserDataJobServiceClient, |
49 | 49 | AddOfflineUserDataJobOperationsResponse, |
50 | 50 | ) |
51 | | -from google.ads.googleads.v19.resources.types.offline_user_data_job import ( |
| 51 | +from google.ads.googleads.v20.resources.types.offline_user_data_job import ( |
52 | 52 | OfflineUserDataJob, |
53 | 53 | ) |
54 | | -from google.ads.googleads.v19.common.types.offline_user_data import ( |
| 54 | +from google.ads.googleads.v20.common.types.offline_user_data import ( |
55 | 55 | UserData, |
56 | 56 | UserIdentifier, |
57 | 57 | AddressInfo, |
@@ -634,7 +634,7 @@ def normalize_and_hash(s: str, remove_all_whitespace: bool) -> str: |
634 | 634 | # used for help text, so it's fine if it fails. |
635 | 635 | try: |
636 | 636 | consent_status_enum_names = [ |
637 | | - e.name for e in GoogleAdsClient.load_from_storage(version="v19").enums.ConsentStatusEnum |
| 637 | + e.name for e in GoogleAdsClient.load_from_storage(version="v20").enums.ConsentStatusEnum |
638 | 638 | ] |
639 | 639 | except Exception: |
640 | 640 | consent_status_enum_names = ["UNSPECIFIED", "UNKNOWN", "GRANTED", "DENIED"] |
|
0 commit comments