Closed github-sang closed 1 year ago
Thanks for opening your first issue here! Be sure to follow the issue template!
cc: @bhirsz
Thanks for the report, I will pass it to the team. I can see that the hardcoded api_version isn't up to date anyway (https://developers.google.com/doubleclick-advertisers/deprecation) and it should be handled better. I can't promise the support for v2 since it is long deprecated (depends on how much work is required to fix it).
Hi @bhirsz,
That link is the deprecation schedule for Campaign Manager 360 which yes sunset v2 a long time ago.
For Display & Video 360 (https://developers.google.com/bid-manager/release-notes), v2 is the latest version with v1.1 being deprecated.
Here is the instructions on the difference between v1.1 and v2 (https://developers.google.com/bid-manager/how-tos/v2-migration)
Cheers.
Looks like DV360 v1.1 API will be fully sunsetted on Feb 28, 2022, at which point the current, stable GoogleDisplayVideo360 operators won't work.
https://ads-developers.googleblog.com/2022/08/deprecation-of-bid-manager-api-v11.html
PRs are welcome
I'm closing this issue as completed after https://github.com/apache/airflow/pull/30326 as this issue is about v1 -> v2
if there are problems with latest Google provider please open new issue with reproduce example
Apache Airflow Provider(s)
google
Versions of Apache Airflow Providers
apache-airflow-providers-google 8.4.0
Apache Airflow version
airflow-2.3.4
Operating System
Ubuntu 18.04.6 LTS
Deployment
Composer
Deployment details
Create a new Google Cloud Composer environment (image version composer-1.19.15-airflow-2.3.4)
What happened
Attempting to run any DAG that uses the GoogleDisplayVideo360 (hooks|operators|sensors) trying to connect to v2 of the API (https://developers.google.com/bid-manager/reference/rest) results in the DAG failing with the following error in the log:
What you think should happen instead
The operator should connect to version 2 of the Display & Video 360 API successfully and execute the operation
How to reproduce
api_version='v2'
as a paramAnything else
No response
Are you willing to submit PR?
Code of Conduct