Skip to content

Commit

Permalink
Upgrade google-ads version (#37787)
Browse files Browse the repository at this point in the history
(cherry picked from commit 0c09338)
  • Loading branch information
molcay authored and ephraimbuddy committed Mar 6, 2024
1 parent 73f51aa commit 3e1c0f3
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions airflow/providers/google/ads/hooks/ads.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
from airflow.providers.google.common.hooks.base_google import get_field

if TYPE_CHECKING:
from google.ads.googleads.v15.services.services.customer_service import CustomerServiceClient
from google.ads.googleads.v15.services.services.google_ads_service import GoogleAdsServiceClient
from google.ads.googleads.v15.services.types.google_ads_service import GoogleAdsRow
from google.ads.googleads.v16.services.services.customer_service import CustomerServiceClient
from google.ads.googleads.v16.services.services.google_ads_service import GoogleAdsServiceClient
from google.ads.googleads.v16.services.types.google_ads_service import GoogleAdsRow
from google.api_core.page_iterator import GRPCIterator


Expand Down Expand Up @@ -72,7 +72,7 @@ class GoogleAdsHook(BaseHook):
:param api_version: The Google Ads API version to use.
"""

default_api_version = "v15"
default_api_version = "v16"

def __init__(
self,
Expand Down
2 changes: 1 addition & 1 deletion airflow/providers/google/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ dependencies:
- gcloud-aio-bigquery>=6.1.2
- gcloud-aio-storage>=9.0.0
- gcsfs>=2023.10.0
- google-ads>=22.1.0
- google-ads>=23.1.0
- google-analytics-admin
# Google-api-core 2.16.0 back-compat issue: https://github.com/googleapis/python-api-core/issues/576
- google-api-core>=2.11.0,!=2.16.0
Expand Down
2 changes: 1 addition & 1 deletion generated/provider_dependencies.json
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@
"gcloud-aio-bigquery>=6.1.2",
"gcloud-aio-storage>=9.0.0",
"gcsfs>=2023.10.0",
"google-ads>=22.1.0",
"google-ads>=23.1.0",
"google-analytics-admin",
"google-api-core>=2.11.0,!=2.16.0",
"google-api-python-client>=1.6.0",
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,7 @@ google = [ # source: airflow/providers/google/provider.yaml
"gcloud-aio-bigquery>=6.1.2",
"gcloud-aio-storage>=9.0.0",
"gcsfs>=2023.10.0",
"google-ads>=22.1.0",
"google-ads>=23.1.0",
"google-analytics-admin",
"google-api-core>=2.11.0,!=2.16.0",
"google-api-python-client>=1.6.0",
Expand Down

0 comments on commit 3e1c0f3

Please sign in to comment.