[ 
https://issues.apache.org/jira/browse/AIRFLOW-6732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17063238#comment-17063238
 ] 

ASF subversion and git services commented on AIRFLOW-6732:
----------------------------------------------------------

Commit 6b9b214e4c3b3afa8ea2e1a5c1e24993013d60ac in airflow's branch 
refs/heads/master from Todd de Quincey
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=6b9b214 ]

[AIRFLOW-6732] Add GoogleAdsHook and GoogleAdsToGcsOperator (#7692)

* [AIRFLOW-6732] Add GoogleAdsHook and GoogleAdsToGcsOperator

Provide ability to connect to Google Ads API using service account and execute 
arbitrary search (API call) using Google Ads Query language.
Convert the API results to CSV and store in designated GCS bucket.

Add google-ads to setup.py as a gcp package.

* Update operators-and-hooks-ref for Google Ads hook and operator

* Make updates for minor  PR comments

- Add api_version as an attribute of GoogleAdsHook
- Update CLIENT_IDS in example_google_ads DAG to make it clear that they are 
dummy values
- Add Google Ads API link in hook and operator docstrings

* Add tests

* Add flush to tempfile

Required to ensure the csvfile within the context manager is correctly flushed 
before being uploaded to GCS. Without this flush, the written data is not 
correctly saved before upload

* Fix docs

* Move code to google.ads directory

* fixup! Move code to google.ads directory

* fixup! fixup! Move code to google.ads directory

* fixup! fixup! fixup! Move code to google.ads directory

* fixup! fixup! fixup! fixup! Move code to google.ads directory

Co-authored-by: Todd de Quincey <[email protected]>
Co-authored-by: Todd de Quincey <[email protected]>
Co-authored-by: Tomek Urbaszek <[email protected]>

> Add Google Ads operators
> ------------------------
>
>                 Key: AIRFLOW-6732
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6732
>             Project: Apache Airflow
>          Issue Type: New Feature
>          Components: gcp, operators
>    Affects Versions: 2.0.0
>            Reporter: Tomasz Urbaszek
>            Assignee: Todd de Quincey
>            Priority: Minor
>             Fix For: 2.0.0
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to