tests.system.google.marketing_platform.example_campaign_manager¶
Example Airflow DAG that shows how to use CampaignManager.
This system test relies on a service account with proper settings in Campaign Manager 360. That’s why before running this system test locally, make sure your service account corresponds all the secrets that the DAG reads. If your service account doesn’t have access but you know another one which has then simply specify it in the environment variable CM360_IMPERSONATION_CHAIN.
Attributes¶
Functions¶
|
Module Contents¶
- tests.system.google.marketing_platform.example_campaign_manager.DAG_ID = 'campaign_manager'[source]¶
- tests.system.google.marketing_platform.example_campaign_manager.SECRET_ACCOUNT_ID = 'cm360_account_id'[source]¶
- tests.system.google.marketing_platform.example_campaign_manager.SECRET_DCLID = 'cm360_dclid'[source]¶
- tests.system.google.marketing_platform.example_campaign_manager.SECRET_ENCRYPTION_ENTITY_ID = 'cm360_encryption_entity_id'[source]¶
- tests.system.google.marketing_platform.example_campaign_manager.SECRET_FLOODLIGHT_ACTIVITY_ID = 'cm360_floodlight_activity_id'[source]¶
- tests.system.google.marketing_platform.example_campaign_manager.SECRET_FLOODLIGHT_CONFIGURATION_ID = 'cm360_floodlight_configuration_id'[source]¶
- tests.system.google.marketing_platform.example_campaign_manager.SECRET_USER_PROFILE_ID = 'cm360_user_profile_id'[source]¶
- tests.system.google.marketing_platform.example_campaign_manager.ACCOUNT_ID = "{{ task_instance.xcom_pull('get_account_id') }}"[source]¶
- tests.system.google.marketing_platform.example_campaign_manager.DCLID = "{{ task_instance.xcom_pull('get_dclid') }}"[source]¶
- tests.system.google.marketing_platform.example_campaign_manager.ENCRYPTION_ENTITY_ID = "{{ task_instance.xcom_pull('get_encryption_entity_id') }}"[source]¶
- tests.system.google.marketing_platform.example_campaign_manager.FLOODLIGHT_ACTIVITY_ID = "{{ task_instance.xcom_pull('get_floodlight_activity_id') }}"[source]¶
- tests.system.google.marketing_platform.example_campaign_manager.FLOODLIGHT_CONFIGURATION_ID = "{{ task_instance.xcom_pull('get_floodlight_configuration_id') }}"[source]¶
- tests.system.google.marketing_platform.example_campaign_manager.USER_PROFILE_ID = "{{ task_instance.xcom_pull('get_user_profile_id') }}"[source]¶