Facebook Ads To GCS Operators

Prerequisite Tasks

To use these operators, you must do a few things:

FacebookAdsReportToGcsOperator

Use the FacebookAdsReportToGcsOperator to execute a Facebook ads report fetch and load to GCS.

google/tests/system/google/cloud/transfers/example_facebook_ads_to_gcs.py

    run_operator = FacebookAdsReportToGcsOperator(
        task_id="run_fetch_data",
        owner="airflow",
        bucket_name=BUCKET_NAME,
        parameters=PARAMETERS,
        fields=FIELDS,
        object_name=GCS_OBJ_PATH,
    )

Reference

For further information, look at:

Was this entry helpful?