apache-airflow-providers-google uses deprecated Google Ads API V8
See original GitHub issueApache Airflow Provider(s)
Versions of Apache Airflow Providers
apache-airflow-providers-google = 6.4.0
Apache Airflow version
2.1.3
Operating System
Debian Buster
Deployment
Other Docker-based deployment
Deployment details
No response
What happened
apache-airflow-providers-google 6.4.0 has the requirement google-ads >=12.0.0,<14.0.1
The latest version of the Google Ads API supported by this is V8 - this was deprecated in November 2021, and is due to be disabled in April / May (see https://developers.google.com/google-ads/api/docs/sunset-dates)
What you expected to happen
Update the requirements to so that the provider uses a version of the Google Ads API which hasn’t been deprecated
At the moment, the only non-deprecated version is V10 - support for this was added in google-ads=15.0.0
How to reproduce
No response
Anything else
No response
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project’s Code of Conduct
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:11 (10 by maintainers)
Top Results From Across the Web
apache-airflow-providers-google Documentation
This is a provider package for google provider. All classes for this provider package are in airflow.providers.google python package.
Read more >apache-airflow-providers-google Documentation
Your existing operators should work as before, but due to the urgency of the v5 API being deprecated it was not tested too...
Read more >apache-airflow-providers-google Documentation
All classes for this provider package are in airflow.providers.google python package. ... google-api-python-client ... Google Ads v8 is the new default API.
Read more >Source code for airflow.providers.google.ads.hooks.ads
[docs]class GoogleAdsHook(BaseHook): """ Hook for the Google Ads API. This hook requires two connections: - gcp_conn_id - provides service account details ...
Read more >Google Ads Operators - Apache Airflow
To query the Google Ads API and generate a CSV report of the results use GoogleAdsToGcsOperator . tests/system/providers/google/ads/example_ads.py[source].
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I think this will be a good step to start upgrading all google packages to the latest version. I will try to prioritize this upgrades as soon as possible but hard to say any dates for now.
Google Ads Python has relaxed it’s dependencies as of v15.1.1 (which was released earlier today) - will take another look at upgrading the dependencies!