Google Analytics Admin
Manage Google Analytics accounts, properties, data streams, conversions, audiences, and access reports.
Authentication
| Method | Kind | Status | Details |
|---|---|---|---|
| OAuth 2.0 | oauth2 | available | — |
Call a tool
import { createClient } from "@open-connector/sdk";const oc = createClient({ baseUrl: "https://api.openconnector.dev", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await oc.executeTool({ slug: "GOOGLE_ANALYTICS_ADMIN_ACCOUNT_SUMMARIES_LIST", connectedAccountId: "conn_...", arguments: { /* match this tool's input schema */ },});import Composio from "@composio/client";const composio = new Composio({ baseURL: "https://api.openconnector.dev/composio", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await composio.tools.execute("GOOGLE_ANALYTICS_ADMIN_ACCOUNT_SUMMARIES_LIST", { connected_account_id: "conn_...", arguments: { /* match this tool's input schema */ },});oc tools execute GOOGLE_ANALYTICS_ADMIN_ACCOUNT_SUMMARIES_LIST --data '{ }'Tool catalog
Available tools
28 callable operations
Analyticsadmin AccountSummaries ListGOOGLE_ANALYTICS_ADMIN_ACCOUNT_SUMMARIES_LISTReturns summaries of all accounts accessible by the caller.Connection2 scopes
Returns summaries of all accounts accessible by the caller.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/analytics.edithttps://www.googleapis.com/auth/analytics.readonlyTags
Analyticsadmin Accounts DeleteGOOGLE_ANALYTICS_ADMIN_ACCOUNTS_DELETEMarks target Account as soft-deleted (ie: "trashed") and returns it. This API does not have a method to restore soft-deleted accounts. However, they can be restored using the Trash Can UI. If the accounts are not restored before the expiration time, the account and all child resources (eg: Properties, GoogleAdsLinks, Streams, AccessBindings) will be permanently purged. https://support.google.com/analytics/answer/6154772 Returns an error if the target is not found.Connection1 scope
Marks target Account as soft-deleted (ie: "trashed") and returns it. This API does not have a method to restore soft-deleted accounts. However, they can be restored using the Trash Can UI. If the accounts are not restored before the expiration time, the account and all child resources (eg: Properties, GoogleAdsLinks, Streams, AccessBindings) will be permanently purged. https://support.google.com/analytics/answer/6154772 Returns an error if the target is not found.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/analytics.editTags
Analyticsadmin Accounts GetGOOGLE_ANALYTICS_ADMIN_ACCOUNTS_GETLookup for a single Account.Connection2 scopes
Lookup for a single Account.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/analytics.edithttps://www.googleapis.com/auth/analytics.readonlyTags
Analyticsadmin Accounts ListGOOGLE_ANALYTICS_ADMIN_ACCOUNTS_LISTReturns all accounts accessible by the caller. Note that these accounts might not currently have GA properties. Soft-deleted (ie: "trashed") accounts are excluded by default. Returns an empty list if no relevant accounts are found. Note: The easiest way to retrieve a list of all properties you have access to is by using `ListAccountSummaries`.Connection2 scopes
Returns all accounts accessible by the caller. Note that these accounts might not currently have GA properties. Soft-deleted (ie: "trashed") accounts are excluded by default. Returns an empty list if no relevant accounts are found. Note: The easiest way to retrieve a list of all properties you have access to is by using `ListAccountSummaries`.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/analytics.edithttps://www.googleapis.com/auth/analytics.readonlyTags
Analyticsadmin Accounts PatchGOOGLE_ANALYTICS_ADMIN_ACCOUNTS_PATCHUpdates an account.Connection1 scope
Updates an account.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/analytics.editTags
Analyticsadmin Accounts ProvisionAccountTicketGOOGLE_ANALYTICS_ADMIN_ACCOUNTS_PROVISION_ACCOUNT_TICKETRequests a ticket for creating an account.Connection1 scope
Requests a ticket for creating an account.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/analytics.editTags
Analyticsadmin Accounts RunAccessReportGOOGLE_ANALYTICS_ADMIN_ACCOUNTS_RUN_ACCESS_REPORTReturns a customized report of data access records. The report provides records of each time a user reads Google Analytics reporting data. Access records are retained for up to 2 years. Data Access Reports can be requested for a property. Reports may be requested for any property, but dimensions that aren't related to quota can only be requested on Google Analytics 360 properties. This method is only available to Administrators. These data access records include GA UI Reporting, GA UI Explorations, GA Data API, and other products like Firebase & Admob that can retrieve data from Google Analytics through a linkage. These records don't include property configuration changes like adding a stream or changing a property's time zone. For configuration change history, see [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents). To give your feedback on this API, complete the [Google Analytics Access Reports feedback](https://docs.google.com/forms/d/e/1FAIpQLSdmEBUrMzAEdiEKk5TV5dEHvDUZDRlgWYdQdAeSdtR4hVjEhw/viewform) form.Connection2 scopes
Returns a customized report of data access records. The report provides records of each time a user reads Google Analytics reporting data. Access records are retained for up to 2 years. Data Access Reports can be requested for a property. Reports may be requested for any property, but dimensions that aren't related to quota can only be requested on Google Analytics 360 properties. This method is only available to Administrators. These data access records include GA UI Reporting, GA UI Explorations, GA Data API, and other products like Firebase & Admob that can retrieve data from Google Analytics through a linkage. These records don't include property configuration changes like adding a stream or changing a property's time zone. For configuration change history, see [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents). To give your feedback on this API, complete the [Google Analytics Access Reports feedback](https://docs.google.com/forms/d/e/1FAIpQLSdmEBUrMzAEdiEKk5TV5dEHvDUZDRlgWYdQdAeSdtR4hVjEhw/viewform) form.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/analytics.edithttps://www.googleapis.com/auth/analytics.readonlyTags
Analyticsadmin Accounts SearchChangeHistoryEventsGOOGLE_ANALYTICS_ADMIN_ACCOUNTS_SEARCH_CHANGE_HISTORY_EVENTSSearches through all changes to an account or its children given the specified set of filters. Only returns the subset of changes supported by the API. The UI may return additional changes.Connection1 scope
Searches through all changes to an account or its children given the specified set of filters. Only returns the subset of changes supported by the API. The UI may return additional changes.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/analytics.editTags
Analyticsadmin Properties AcknowledgeUserDataCollectionGOOGLE_ANALYTICS_ADMIN_PROPERTIES_ACKNOWLEDGE_USER_DATA_COLLECTIONAcknowledges the terms of user data collection for the specified property. This acknowledgement must be completed (either in the Google Analytics UI or through this API) before MeasurementProtocolSecret resources may be created.Connection1 scope
Acknowledges the terms of user data collection for the specified property. This acknowledgement must be completed (either in the Google Analytics UI or through this API) before MeasurementProtocolSecret resources may be created.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/analytics.editTags
Analyticsadmin Properties ConversionEvents CreateGOOGLE_ANALYTICS_ADMIN_PROPERTIES_CONVERSION_EVENTS_CREATEDeprecated: Use `CreateKeyEvent` instead. Creates a conversion event with the specified attributes.Connection1 scope
Deprecated: Use `CreateKeyEvent` instead. Creates a conversion event with the specified attributes.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/analytics.editTags
Analyticsadmin Properties ConversionEvents ListGOOGLE_ANALYTICS_ADMIN_PROPERTIES_CONVERSION_EVENTS_LISTDeprecated: Use `ListKeyEvents` instead. Returns a list of conversion events in the specified parent property. Returns an empty list if no conversion events are found.Connection2 scopes
Deprecated: Use `ListKeyEvents` instead. Returns a list of conversion events in the specified parent property. Returns an empty list if no conversion events are found.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/analytics.edithttps://www.googleapis.com/auth/analytics.readonlyTags
Analyticsadmin Properties CreateGOOGLE_ANALYTICS_ADMIN_PROPERTIES_CREATECreates a Google Analytics property with the specified location and attributes.Connection1 scope
Creates a Google Analytics property with the specified location and attributes.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/analytics.editTags
Analyticsadmin Properties CustomDimensions ArchiveGOOGLE_ANALYTICS_ADMIN_PROPERTIES_CUSTOM_DIMENSIONS_ARCHIVEArchives a CustomDimension on a property.Connection1 scope
Archives a CustomDimension on a property.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/analytics.editTags
Analyticsadmin Properties CustomDimensions CreateGOOGLE_ANALYTICS_ADMIN_PROPERTIES_CUSTOM_DIMENSIONS_CREATECreates a CustomDimension.Connection1 scope
Creates a CustomDimension.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/analytics.editTags
Analyticsadmin Properties CustomDimensions ListGOOGLE_ANALYTICS_ADMIN_PROPERTIES_CUSTOM_DIMENSIONS_LISTLists CustomDimensions on a property.Connection2 scopes
Lists CustomDimensions on a property.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/analytics.edithttps://www.googleapis.com/auth/analytics.readonlyTags
Analyticsadmin Properties CustomMetrics CreateGOOGLE_ANALYTICS_ADMIN_PROPERTIES_CUSTOM_METRICS_CREATECreates a CustomMetric.Connection1 scope
Creates a CustomMetric.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/analytics.editTags
Analyticsadmin Properties CustomMetrics ListGOOGLE_ANALYTICS_ADMIN_PROPERTIES_CUSTOM_METRICS_LISTLists CustomMetrics on a property.Connection2 scopes
Lists CustomMetrics on a property.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/analytics.edithttps://www.googleapis.com/auth/analytics.readonlyTags
Analyticsadmin Properties DataStreams CreateGOOGLE_ANALYTICS_ADMIN_PROPERTIES_DATA_STREAMS_CREATECreates a DataStream.Connection1 scope
Creates a DataStream.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/analytics.editTags
Analyticsadmin Properties DataStreams ListGOOGLE_ANALYTICS_ADMIN_PROPERTIES_DATA_STREAMS_LISTLists DataStreams on a property.Connection2 scopes
Lists DataStreams on a property.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/analytics.edithttps://www.googleapis.com/auth/analytics.readonlyTags
Analyticsadmin Properties DataStreams MeasurementProtocolSecrets CreateGOOGLE_ANALYTICS_ADMIN_PROPERTIES_DATA_STREAMS_MEASUREMENT_PROTOCOL_SECRETS_CREATECreates a measurement protocol secret.Connection1 scope
Creates a measurement protocol secret.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/analytics.editTags
Analyticsadmin Properties DataStreams MeasurementProtocolSecrets ListGOOGLE_ANALYTICS_ADMIN_PROPERTIES_DATA_STREAMS_MEASUREMENT_PROTOCOL_SECRETS_LISTReturns child MeasurementProtocolSecrets under the specified parent Property.Connection2 scopes
Returns child MeasurementProtocolSecrets under the specified parent Property.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/analytics.edithttps://www.googleapis.com/auth/analytics.readonlyTags
Analyticsadmin Properties FirebaseLinks CreateGOOGLE_ANALYTICS_ADMIN_PROPERTIES_FIREBASE_LINKS_CREATECreates a FirebaseLink. Properties can have at most one FirebaseLink.Connection1 scope
Creates a FirebaseLink. Properties can have at most one FirebaseLink.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/analytics.editTags
Analyticsadmin Properties FirebaseLinks ListGOOGLE_ANALYTICS_ADMIN_PROPERTIES_FIREBASE_LINKS_LISTLists FirebaseLinks on a property. Properties can have at most one FirebaseLink.Connection2 scopes
Lists FirebaseLinks on a property. Properties can have at most one FirebaseLink.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/analytics.edithttps://www.googleapis.com/auth/analytics.readonlyTags
Analyticsadmin Properties GoogleAdsLinks CreateGOOGLE_ANALYTICS_ADMIN_PROPERTIES_GOOGLE_ADS_LINKS_CREATECreates a GoogleAdsLink.Connection1 scope
Creates a GoogleAdsLink.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/analytics.editTags
Analyticsadmin Properties GoogleAdsLinks ListGOOGLE_ANALYTICS_ADMIN_PROPERTIES_GOOGLE_ADS_LINKS_LISTLists GoogleAdsLinks on a property.Connection2 scopes
Lists GoogleAdsLinks on a property.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/analytics.edithttps://www.googleapis.com/auth/analytics.readonlyTags
Analyticsadmin Properties KeyEvents CreateGOOGLE_ANALYTICS_ADMIN_PROPERTIES_KEY_EVENTS_CREATECreates a Key Event.Connection1 scope
Creates a Key Event.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/analytics.editTags
Analyticsadmin Properties KeyEvents ListGOOGLE_ANALYTICS_ADMIN_PROPERTIES_KEY_EVENTS_LISTReturns a list of Key Events in the specified parent property. Returns an empty list if no Key Events are found.Connection2 scopes
Returns a list of Key Events in the specified parent property. Returns an empty list if no Key Events are found.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/analytics.edithttps://www.googleapis.com/auth/analytics.readonlyTags
Analyticsadmin Properties ListGOOGLE_ANALYTICS_ADMIN_PROPERTIES_LISTReturns child Properties under the specified parent Account. Properties will be excluded if the caller does not have access. Soft-deleted (ie: "trashed") properties are excluded by default. Returns an empty list if no relevant properties are found.Connection2 scopes
Returns child Properties under the specified parent Account. Properties will be excluded if the caller does not have access. Soft-deleted (ie: "trashed") properties are excluded by default. Returns an empty list if no relevant properties are found.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/analytics.edithttps://www.googleapis.com/auth/analytics.readonlyTags