Google Analytics 360 Operators

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.

Please note that the Google Analytics 360 API is replaced by Google Analytics 4 and will be turned down on July 1, 2024. Thus consider using new Google Analytics (GA4) Admin Operators.

Prerequisite Tasks

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

List the Accounts

To list accounts from Analytics you can use the GoogleAnalyticsListAccountsOperator.

tests/system/providers/google/marketing_platform/example_analytics.py[source]

list_account = GoogleAnalyticsListAccountsOperator(task_id="list_account")

You can use Jinja templating with api_version, gcp_conn_id, impersonation_chain

Was this entry helpful?