airflow.providers.google.ads.example_dags.example_ads
¶
Example Airflow DAG that shows how to use GoogleAdsToGcsOperator.
Module Contents¶
- airflow.providers.google.ads.example_dags.example_ads.CLIENT_IDS = ['1111111111', '2222222222'][source]¶
- airflow.providers.google.ads.example_dags.example_ads.GCS_OBJ_PATH = folder_name/google-ads-api-results.csv[source]¶
- airflow.providers.google.ads.example_dags.example_ads.GCS_ACCOUNTS_CSV = folder_name/accounts.csv[source]¶
- airflow.providers.google.ads.example_dags.example_ads.QUERY = Multiline-String[source]¶
Show Value
1 SELECT 2 segments.date, 3 customer.id, 4 campaign.id, 5 ad_group.id, 6 ad_group_ad.ad.id, 7 metrics.impressions, 8 metrics.clicks, 9 metrics.conversions, 10 metrics.all_conversions, 11 metrics.cost_micros 12 FROM 13 ad_group_ad 14 WHERE 15 segments.date >= '2020-02-01' 16 AND segments.date <= '2020-02-29'