question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

apache-airflow-providers-google uses deprecated Google Ads API V8

See original GitHub issue

Apache Airflow Provider(s)

google

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

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:11 (10 by maintainers)

github_iconTop GitHub Comments

4reactions
lwyszomicommented, Mar 14, 2022

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.

1reaction
anthonyjgraffcommented, Apr 6, 2022

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!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found