Google Analytics 360 operators allow you to lists all accounts to which the user has access. For more information about the Google Analytics 360 API check official documentation.
To list accounts from Analytics you can use the :class:`~airflow.providers.google.marketing_platform.operators.analytics.GoogleAnalyticsListAccountsOperator`.
.. exampleinclude:: ../../../../airflow/providers/google/marketing_platform/example_dags/example_analytics.py :language: python :dedent: 4 :start-after: [START howto_marketing_platform_list_accounts_operator] :end-before: [END howto_marketing_platform_list_accounts_operator]
You can use :ref:`Jinja templating <jinja-templating>` with :template-fields:`airflow.providers.google.marketing_platform.operators.analytics.GoogleAnalyticsListAccountsOperator`
To list Google Ads links you can use the :class:`~airflow.providers.google.marketing_platform.operators.analytics.GoogleAnalyticsRetrieveAdsLinksListOperator`.
.. exampleinclude:: ../../../../airflow/providers/google/marketing_platform/example_dags/example_analytics.py :language: python :dedent: 4 :start-after: [START howto_marketing_platform_retrieve_ads_links_list_operator] :end-before: [END howto_marketing_platform_retrieve_ads_links_list_operator]
You can use :ref:`Jinja templating <jinja-templating>` with :template-fields:`airflow.providers.google.marketing_platform.operators.analytics.GoogleAnalyticsRetrieveAdsLinksListOperator`