tests.system.providers.google.ads.example_ads

Example Airflow DAG that shows how to use GoogleAdsToGcsOperator.

Module Contents

tests.system.providers.google.ads.example_ads.ENV_ID[source]
tests.system.providers.google.ads.example_ads.PROJECT_ID[source]
tests.system.providers.google.ads.example_ads.DAG_ID = example_google_ads[source]
tests.system.providers.google.ads.example_ads.BUCKET_NAME[source]
tests.system.providers.google.ads.example_ads.CLIENT_IDS = ['1111111111', '2222222222'][source]
tests.system.providers.google.ads.example_ads.GCS_OBJ_PATH = folder_name/google-ads-api-results.csv[source]
tests.system.providers.google.ads.example_ads.GCS_ACCOUNTS_CSV = folder_name/accounts.csv[source]
tests.system.providers.google.ads.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'
tests.system.providers.google.ads.example_ads.FIELDS_TO_EXTRACT = ['segments.date.value', 'customer.id.value', 'campaign.id.value', 'ad_group.id.value',...[source]
tests.system.providers.google.ads.example_ads.create_bucket[source]
tests.system.providers.google.ads.example_ads.test_run[source]

Was this entry helpful?