nuclearpinguin commented on a change in pull request #7748: [AIRFLOW-6752] Add
GoogleAnalyticsRetrieveAdsLinksListOperator
URL: https://github.com/apache/airflow/pull/7748#discussion_r394178767
##########
File path:
airflow/providers/google/marketing_platform/example_dags/example_analytics.py
##########
@@ -20,12 +20,15 @@
from airflow import models
from airflow.providers.google.marketing_platform.operators.analytics import (
- GoogleAnalyticsListAccountsOperator,
+ GoogleAnalyticsListAccountsOperator,
GoogleAnalyticsRetrieveAdsLinksListOperator,
)
from airflow.utils import dates
default_args = {"start_date": dates.days_ago(1)}
+account_id = "12345"
+web_property_id = "web_property_id"
Review comment:
```
ACCOUNT_ID = os.environ.get("GA_ACCOUNT_ID", "123456789")
WEB_PROPERTY = os.environ.get("GA_WEB_PROPERTY", "UA-12345678-1")
```
This will work with env variables from config file :)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services