- 0.62.0 (latest)
- 0.61.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
A client to Google Analytics Admin API
The interfaces provided are listed below, along with usage samples.
AnalyticsAdminServiceClient
Service Description: Service Interface for the Analytics Admin API (GA4).
Sample for AnalyticsAdminServiceClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
AnalyticsAdminServiceClient.create()) {
AccountName name = AccountName.of("[ACCOUNT]");
Account response = analyticsAdminServiceClient.getAccount(name);
}
Classes
Account
A resource message representing a Google Analytics account.
Protobuf type google.analytics.admin.v1beta.Account
Account.Builder
A resource message representing a Google Analytics account.
Protobuf type google.analytics.admin.v1beta.Account
AccountName
AccountName.Builder
Builder for accounts/{account}.
AccountSummary
A virtual resource representing an overview of an account and all its child GA4 properties.
Protobuf type google.analytics.admin.v1beta.AccountSummary
AccountSummary.Builder
A virtual resource representing an overview of an account and all its child GA4 properties.
Protobuf type google.analytics.admin.v1beta.AccountSummary
AcknowledgeUserDataCollectionRequest
Request message for AcknowledgeUserDataCollection RPC.
Protobuf type google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest
AcknowledgeUserDataCollectionRequest.Builder
Request message for AcknowledgeUserDataCollection RPC.
Protobuf type google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest
AcknowledgeUserDataCollectionResponse
Response message for AcknowledgeUserDataCollection RPC.
Protobuf type google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse
AcknowledgeUserDataCollectionResponse.Builder
Response message for AcknowledgeUserDataCollection RPC.
Protobuf type google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse
AnalyticsAdminProto
AnalyticsAdminServiceClient
Service Description: Service Interface for the Analytics Admin API (GA4).
This class provides the ability to make remote calls to the backing service through method calls that map to API methods. Sample code to get started:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
AnalyticsAdminServiceClient.create()) {
AccountName name = AccountName.of("[ACCOUNT]");
Account response = analyticsAdminServiceClient.getAccount(name);
}
Note: close() needs to be called on the AnalyticsAdminServiceClient object to clean up resources such as threads. In the example above, try-with-resources is used, which automatically calls close().
The surface of this class includes several types of Java methods for each of the API's methods:
- A "flattened" method. With this type of method, the fields of the request type have been converted into function parameters. It may be the case that not all fields are available as parameters, and not every API method will have a flattened method entry point.
- A "request object" method. This type of method only takes one parameter, a request object, which must be constructed before the call. Not every API method will have a request object method.
- A "callable" method. This type of method takes no parameters and returns an immutable API callable object, which can be used to initiate calls to the service.
See the individual methods for example code.
Many parameters require resource names to be formatted in a particular way. To assist with these names, this class includes a format method for each type of name, and additionally a parse method to extract the individual identifiers contained within names that are returned.
This class can be customized by passing in a custom instance of AnalyticsAdminServiceSettings to create(). For example:
To customize credentials:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
AnalyticsAdminServiceSettings analyticsAdminServiceSettings =
AnalyticsAdminServiceSettings.newBuilder()
.setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
.build();
AnalyticsAdminServiceClient analyticsAdminServiceClient =
AnalyticsAdminServiceClient.create(analyticsAdminServiceSettings);
To customize the endpoint:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
AnalyticsAdminServiceSettings analyticsAdminServiceSettings =
AnalyticsAdminServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
AnalyticsAdminServiceClient analyticsAdminServiceClient =
AnalyticsAdminServiceClient.create(analyticsAdminServiceSettings);
To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over the wire:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
AnalyticsAdminServiceSettings analyticsAdminServiceSettings =
AnalyticsAdminServiceSettings.newHttpJsonBuilder().build();
AnalyticsAdminServiceClient analyticsAdminServiceClient =
AnalyticsAdminServiceClient.create(analyticsAdminServiceSettings);
Please refer to the GitHub repository's samples for more quickstart code snippets.
AnalyticsAdminServiceClient.ListAccountSummariesFixedSizeCollection
AnalyticsAdminServiceClient.ListAccountSummariesPage
AnalyticsAdminServiceClient.ListAccountSummariesPagedResponse
AnalyticsAdminServiceClient.ListAccountsFixedSizeCollection
AnalyticsAdminServiceClient.ListAccountsPage
AnalyticsAdminServiceClient.ListAccountsPagedResponse
AnalyticsAdminServiceClient.ListConversionEventsFixedSizeCollection
AnalyticsAdminServiceClient.ListConversionEventsPage
AnalyticsAdminServiceClient.ListConversionEventsPagedResponse
AnalyticsAdminServiceClient.ListCustomDimensionsFixedSizeCollection
AnalyticsAdminServiceClient.ListCustomDimensionsPage
AnalyticsAdminServiceClient.ListCustomDimensionsPagedResponse
AnalyticsAdminServiceClient.ListCustomMetricsFixedSizeCollection
AnalyticsAdminServiceClient.ListCustomMetricsPage
AnalyticsAdminServiceClient.ListCustomMetricsPagedResponse
AnalyticsAdminServiceClient.ListDataStreamsFixedSizeCollection
AnalyticsAdminServiceClient.ListDataStreamsPage
AnalyticsAdminServiceClient.ListDataStreamsPagedResponse
AnalyticsAdminServiceClient.ListFirebaseLinksFixedSizeCollection
AnalyticsAdminServiceClient.ListFirebaseLinksPage
AnalyticsAdminServiceClient.ListFirebaseLinksPagedResponse
AnalyticsAdminServiceClient.ListGoogleAdsLinksFixedSizeCollection
AnalyticsAdminServiceClient.ListGoogleAdsLinksPage
AnalyticsAdminServiceClient.ListGoogleAdsLinksPagedResponse
AnalyticsAdminServiceClient.ListMeasurementProtocolSecretsFixedSizeCollection
AnalyticsAdminServiceClient.ListMeasurementProtocolSecretsPage
AnalyticsAdminServiceClient.ListMeasurementProtocolSecretsPagedResponse
AnalyticsAdminServiceClient.ListPropertiesFixedSizeCollection
AnalyticsAdminServiceClient.ListPropertiesPage
AnalyticsAdminServiceClient.ListPropertiesPagedResponse
AnalyticsAdminServiceClient.SearchChangeHistoryEventsFixedSizeCollection
AnalyticsAdminServiceClient.SearchChangeHistoryEventsPage
AnalyticsAdminServiceClient.SearchChangeHistoryEventsPagedResponse
AnalyticsAdminServiceGrpc
Service Interface for the Analytics Admin API (GA4).
AnalyticsAdminServiceGrpc.AnalyticsAdminServiceBlockingStub
Service Interface for the Analytics Admin API (GA4).
AnalyticsAdminServiceGrpc.AnalyticsAdminServiceFutureStub
Service Interface for the Analytics Admin API (GA4).
AnalyticsAdminServiceGrpc.AnalyticsAdminServiceImplBase
Service Interface for the Analytics Admin API (GA4).
AnalyticsAdminServiceGrpc.AnalyticsAdminServiceStub
Service Interface for the Analytics Admin API (GA4).
AnalyticsAdminServiceSettings
Settings class to configure an instance of AnalyticsAdminServiceClient.
The default instance has everything set to sensible defaults:
- The default service address (analyticsadmin.googleapis.com) and default port (443) are used.
- Credentials are acquired automatically through Application Default Credentials.
- Retries are configured for idempotent methods but not for non-idempotent methods.
The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.
For example, to set the total timeout of getAccount to 30 seconds:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
AnalyticsAdminServiceSettings.Builder analyticsAdminServiceSettingsBuilder =
AnalyticsAdminServiceSettings.newBuilder();
analyticsAdminServiceSettingsBuilder
.getAccountSettings()
.setRetrySettings(
analyticsAdminServiceSettingsBuilder
.getAccountSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
AnalyticsAdminServiceSettings analyticsAdminServiceSettings =
analyticsAdminServiceSettingsBuilder.build();
AnalyticsAdminServiceSettings.Builder
Builder for AnalyticsAdminServiceSettings.
ArchiveCustomDimensionRequest
Request message for ArchiveCustomDimension RPC.
Protobuf type google.analytics.admin.v1beta.ArchiveCustomDimensionRequest
ArchiveCustomDimensionRequest.Builder
Request message for ArchiveCustomDimension RPC.
Protobuf type google.analytics.admin.v1beta.ArchiveCustomDimensionRequest
ArchiveCustomMetricRequest
Request message for ArchiveCustomMetric RPC.
Protobuf type google.analytics.admin.v1beta.ArchiveCustomMetricRequest
ArchiveCustomMetricRequest.Builder
Request message for ArchiveCustomMetric RPC.
Protobuf type google.analytics.admin.v1beta.ArchiveCustomMetricRequest
ChangeHistoryChange
A description of a change to a single Google Analytics resource.
Protobuf type google.analytics.admin.v1beta.ChangeHistoryChange
ChangeHistoryChange.Builder
A description of a change to a single Google Analytics resource.
Protobuf type google.analytics.admin.v1beta.ChangeHistoryChange
ChangeHistoryChange.ChangeHistoryResource
A snapshot of a resource as before or after the result of a change in change history.
Protobuf type google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource
ChangeHistoryChange.ChangeHistoryResource.Builder
A snapshot of a resource as before or after the result of a change in change history.
Protobuf type google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource
ChangeHistoryEvent
A set of changes within a Google Analytics account or its child properties that resulted from the same cause. Common causes would be updates made in the Google Analytics UI, changes from customer support, or automatic Google Analytics system changes.
Protobuf type google.analytics.admin.v1beta.ChangeHistoryEvent
ChangeHistoryEvent.Builder
A set of changes within a Google Analytics account or its child properties that resulted from the same cause. Common causes would be updates made in the Google Analytics UI, changes from customer support, or automatic Google Analytics system changes.
Protobuf type google.analytics.admin.v1beta.ChangeHistoryEvent
ConversionEvent
A conversion event in a Google Analytics property.
Protobuf type google.analytics.admin.v1beta.ConversionEvent
ConversionEvent.Builder
A conversion event in a Google Analytics property.
Protobuf type google.analytics.admin.v1beta.ConversionEvent
ConversionEventName
ConversionEventName.Builder
Builder for properties/{property}/conversionEvents/{conversion_event}.
CreateConversionEventRequest
Request message for CreateConversionEvent RPC
Protobuf type google.analytics.admin.v1beta.CreateConversionEventRequest
CreateConversionEventRequest.Builder
Request message for CreateConversionEvent RPC
Protobuf type google.analytics.admin.v1beta.CreateConversionEventRequest
CreateCustomDimensionRequest
Request message for CreateCustomDimension RPC.
Protobuf type google.analytics.admin.v1beta.CreateCustomDimensionRequest
CreateCustomDimensionRequest.Builder
Request message for CreateCustomDimension RPC.
Protobuf type google.analytics.admin.v1beta.CreateCustomDimensionRequest
CreateCustomMetricRequest
Request message for CreateCustomMetric RPC.
Protobuf type google.analytics.admin.v1beta.CreateCustomMetricRequest
CreateCustomMetricRequest.Builder
Request message for CreateCustomMetric RPC.
Protobuf type google.analytics.admin.v1beta.CreateCustomMetricRequest
CreateDataStreamRequest
Request message for CreateDataStream RPC.
Protobuf type google.analytics.admin.v1beta.CreateDataStreamRequest
CreateDataStreamRequest.Builder
Request message for CreateDataStream RPC.
Protobuf type google.analytics.admin.v1beta.CreateDataStreamRequest
CreateFirebaseLinkRequest
Request message for CreateFirebaseLink RPC
Protobuf type google.analytics.admin.v1beta.CreateFirebaseLinkRequest
CreateFirebaseLinkRequest.Builder
Request message for CreateFirebaseLink RPC
Protobuf type google.analytics.admin.v1beta.CreateFirebaseLinkRequest
CreateGoogleAdsLinkRequest
Request message for CreateGoogleAdsLink RPC
Protobuf type google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest
CreateGoogleAdsLinkRequest.Builder
Request message for CreateGoogleAdsLink RPC
Protobuf type google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest
CreateMeasurementProtocolSecretRequest
Request message for CreateMeasurementProtocolSecret RPC
Protobuf type google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest
CreateMeasurementProtocolSecretRequest.Builder
Request message for CreateMeasurementProtocolSecret RPC
Protobuf type google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest
CreatePropertyRequest
Request message for CreateProperty RPC.
Protobuf type google.analytics.admin.v1beta.CreatePropertyRequest
CreatePropertyRequest.Builder
Request message for CreateProperty RPC.
Protobuf type google.analytics.admin.v1beta.CreatePropertyRequest
CustomDimension
A definition for a CustomDimension.
Protobuf type google.analytics.admin.v1beta.CustomDimension
CustomDimension.Builder
A definition for a CustomDimension.
Protobuf type google.analytics.admin.v1beta.CustomDimension
CustomDimensionName
CustomDimensionName.Builder
Builder for properties/{property}/customDimensions/{custom_dimension}.
CustomMetric
A definition for a custom metric.
Protobuf type google.analytics.admin.v1beta.CustomMetric
CustomMetric.Builder
A definition for a custom metric.
Protobuf type google.analytics.admin.v1beta.CustomMetric
CustomMetricName
CustomMetricName.Builder
Builder for properties/{property}/customMetrics/{custom_metric}.
DataRetentionSettings
Settings values for data retention. This is a singleton resource.
Protobuf type google.analytics.admin.v1beta.DataRetentionSettings
DataRetentionSettings.Builder
Settings values for data retention. This is a singleton resource.
Protobuf type google.analytics.admin.v1beta.DataRetentionSettings
DataRetentionSettingsName
DataRetentionSettingsName.Builder
Builder for properties/{property}/dataRetentionSettings.
DataSharingSettings
A resource message representing data sharing settings of a Google Analytics account.
Protobuf type google.analytics.admin.v1beta.DataSharingSettings
DataSharingSettings.Builder
A resource message representing data sharing settings of a Google Analytics account.
Protobuf type google.analytics.admin.v1beta.DataSharingSettings
DataSharingSettingsName
DataSharingSettingsName.Builder
Builder for accounts/{account}/dataSharingSettings.
DataStream
A resource message representing a data stream.
Protobuf type google.analytics.admin.v1beta.DataStream
DataStream.AndroidAppStreamData
Data specific to Android app streams.
Protobuf type google.analytics.admin.v1beta.DataStream.AndroidAppStreamData
DataStream.AndroidAppStreamData.Builder
Data specific to Android app streams.
Protobuf type google.analytics.admin.v1beta.DataStream.AndroidAppStreamData
DataStream.Builder
A resource message representing a data stream.
Protobuf type google.analytics.admin.v1beta.DataStream
DataStream.IosAppStreamData
Data specific to iOS app streams.
Protobuf type google.analytics.admin.v1beta.DataStream.IosAppStreamData
DataStream.IosAppStreamData.Builder
Data specific to iOS app streams.
Protobuf type google.analytics.admin.v1beta.DataStream.IosAppStreamData
DataStream.WebStreamData
Data specific to web streams.
Protobuf type google.analytics.admin.v1beta.DataStream.WebStreamData
DataStream.WebStreamData.Builder
Data specific to web streams.
Protobuf type google.analytics.admin.v1beta.DataStream.WebStreamData
DataStreamName
DataStreamName.Builder
Builder for properties/{property}/dataStreams/{data_stream}.
DeleteAccountRequest
Request message for DeleteAccount RPC.
Protobuf type google.analytics.admin.v1beta.DeleteAccountRequest
DeleteAccountRequest.Builder
Request message for DeleteAccount RPC.
Protobuf type google.analytics.admin.v1beta.DeleteAccountRequest
DeleteConversionEventRequest
Request message for DeleteConversionEvent RPC
Protobuf type google.analytics.admin.v1beta.DeleteConversionEventRequest
DeleteConversionEventRequest.Builder
Request message for DeleteConversionEvent RPC
Protobuf type google.analytics.admin.v1beta.DeleteConversionEventRequest
DeleteDataStreamRequest
Request message for DeleteDataStream RPC.
Protobuf type google.analytics.admin.v1beta.DeleteDataStreamRequest
DeleteDataStreamRequest.Builder
Request message for DeleteDataStream RPC.
Protobuf type google.analytics.admin.v1beta.DeleteDataStreamRequest
DeleteFirebaseLinkRequest
Request message for DeleteFirebaseLink RPC
Protobuf type google.analytics.admin.v1beta.DeleteFirebaseLinkRequest
DeleteFirebaseLinkRequest.Builder
Request message for DeleteFirebaseLink RPC
Protobuf type google.analytics.admin.v1beta.DeleteFirebaseLinkRequest
DeleteGoogleAdsLinkRequest
Request message for DeleteGoogleAdsLink RPC.
Protobuf type google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest
DeleteGoogleAdsLinkRequest.Builder
Request message for DeleteGoogleAdsLink RPC.
Protobuf type google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest
DeleteMeasurementProtocolSecretRequest
Request message for DeleteMeasurementProtocolSecret RPC
Protobuf type google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest
DeleteMeasurementProtocolSecretRequest.Builder
Request message for DeleteMeasurementProtocolSecret RPC
Protobuf type google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest
DeletePropertyRequest
Request message for DeleteProperty RPC.
Protobuf type google.analytics.admin.v1beta.DeletePropertyRequest
DeletePropertyRequest.Builder
Request message for DeleteProperty RPC.
Protobuf type google.analytics.admin.v1beta.DeletePropertyRequest
FirebaseLink
A link between a GA4 property and a Firebase project.
Protobuf type google.analytics.admin.v1beta.FirebaseLink
FirebaseLink.Builder
A link between a GA4 property and a Firebase project.
Protobuf type google.analytics.admin.v1beta.FirebaseLink
FirebaseLinkName
FirebaseLinkName.Builder
Builder for properties/{property}/firebaseLinks/{firebase_link}.
GetAccountRequest
Request message for GetAccount RPC.
Protobuf type google.analytics.admin.v1beta.GetAccountRequest
GetAccountRequest.Builder
Request message for GetAccount RPC.
Protobuf type google.analytics.admin.v1beta.GetAccountRequest
GetConversionEventRequest
Request message for GetConversionEvent RPC
Protobuf type google.analytics.admin.v1beta.GetConversionEventRequest
GetConversionEventRequest.Builder
Request message for GetConversionEvent RPC
Protobuf type google.analytics.admin.v1beta.GetConversionEventRequest
GetCustomDimensionRequest
Request message for GetCustomDimension RPC.
Protobuf type google.analytics.admin.v1beta.GetCustomDimensionRequest
GetCustomDimensionRequest.Builder
Request message for GetCustomDimension RPC.
Protobuf type google.analytics.admin.v1beta.GetCustomDimensionRequest
GetCustomMetricRequest
Request message for GetCustomMetric RPC.
Protobuf type google.analytics.admin.v1beta.GetCustomMetricRequest
GetCustomMetricRequest.Builder
Request message for GetCustomMetric RPC.
Protobuf type google.analytics.admin.v1beta.GetCustomMetricRequest
GetDataRetentionSettingsRequest
Request message for GetDataRetentionSettings RPC.
Protobuf type google.analytics.admin.v1beta.GetDataRetentionSettingsRequest
GetDataRetentionSettingsRequest.Builder
Request message for GetDataRetentionSettings RPC.
Protobuf type google.analytics.admin.v1beta.GetDataRetentionSettingsRequest
GetDataSharingSettingsRequest
Request message for GetDataSharingSettings RPC.
Protobuf type google.analytics.admin.v1beta.GetDataSharingSettingsRequest
GetDataSharingSettingsRequest.Builder
Request message for GetDataSharingSettings RPC.
Protobuf type google.analytics.admin.v1beta.GetDataSharingSettingsRequest
GetDataStreamRequest
Request message for GetDataStream RPC.
Protobuf type google.analytics.admin.v1beta.GetDataStreamRequest
GetDataStreamRequest.Builder
Request message for GetDataStream RPC.
Protobuf type google.analytics.admin.v1beta.GetDataStreamRequest
GetMeasurementProtocolSecretRequest
Request message for GetMeasurementProtocolSecret RPC.
Protobuf type google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest
GetMeasurementProtocolSecretRequest.Builder
Request message for GetMeasurementProtocolSecret RPC.
Protobuf type google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest
GetPropertyRequest
Request message for GetProperty RPC.
Protobuf type google.analytics.admin.v1beta.GetPropertyRequest
GetPropertyRequest.Builder
Request message for GetProperty RPC.
Protobuf type google.analytics.admin.v1beta.GetPropertyRequest
GoogleAdsLink
A link between a GA4 property and a Google Ads account.
Protobuf type google.analytics.admin.v1beta.GoogleAdsLink
GoogleAdsLink.Builder
A link between a GA4 property and a Google Ads account.
Protobuf type google.analytics.admin.v1beta.GoogleAdsLink
GoogleAdsLinkName
GoogleAdsLinkName.Builder
Builder for properties/{property}/googleAdsLinks/{google_ads_link}.
ListAccountSummariesRequest
Request message for ListAccountSummaries RPC.
Protobuf type google.analytics.admin.v1beta.ListAccountSummariesRequest
ListAccountSummariesRequest.Builder
Request message for ListAccountSummaries RPC.
Protobuf type google.analytics.admin.v1beta.ListAccountSummariesRequest
ListAccountSummariesResponse
Response message for ListAccountSummaries RPC.
Protobuf type google.analytics.admin.v1beta.ListAccountSummariesResponse
ListAccountSummariesResponse.Builder
Response message for ListAccountSummaries RPC.
Protobuf type google.analytics.admin.v1beta.ListAccountSummariesResponse
ListAccountsRequest
Request message for ListAccounts RPC.
Protobuf type google.analytics.admin.v1beta.ListAccountsRequest
ListAccountsRequest.Builder
Request message for ListAccounts RPC.
Protobuf type google.analytics.admin.v1beta.ListAccountsRequest
ListAccountsResponse
Request message for ListAccounts RPC.
Protobuf type google.analytics.admin.v1beta.ListAccountsResponse
ListAccountsResponse.Builder
Request message for ListAccounts RPC.
Protobuf type google.analytics.admin.v1beta.ListAccountsResponse
ListConversionEventsRequest
Request message for ListConversionEvents RPC
Protobuf type google.analytics.admin.v1beta.ListConversionEventsRequest
ListConversionEventsRequest.Builder
Request message for ListConversionEvents RPC
Protobuf type google.analytics.admin.v1beta.ListConversionEventsRequest
ListConversionEventsResponse
Response message for ListConversionEvents RPC.
Protobuf type google.analytics.admin.v1beta.ListConversionEventsResponse
ListConversionEventsResponse.Builder
Response message for ListConversionEvents RPC.
Protobuf type google.analytics.admin.v1beta.ListConversionEventsResponse
ListCustomDimensionsRequest
Request message for ListCustomDimensions RPC.
Protobuf type google.analytics.admin.v1beta.ListCustomDimensionsRequest
ListCustomDimensionsRequest.Builder
Request message for ListCustomDimensions RPC.
Protobuf type google.analytics.admin.v1beta.ListCustomDimensionsRequest
ListCustomDimensionsResponse
Response message for ListCustomDimensions RPC.
Protobuf type google.analytics.admin.v1beta.ListCustomDimensionsResponse
ListCustomDimensionsResponse.Builder
Response message for ListCustomDimensions RPC.
Protobuf type google.analytics.admin.v1beta.ListCustomDimensionsResponse
ListCustomMetricsRequest
Request message for ListCustomMetrics RPC.
Protobuf type google.analytics.admin.v1beta.ListCustomMetricsRequest
ListCustomMetricsRequest.Builder
Request message for ListCustomMetrics RPC.
Protobuf type google.analytics.admin.v1beta.ListCustomMetricsRequest
ListCustomMetricsResponse
Response message for ListCustomMetrics RPC.
Protobuf type google.analytics.admin.v1beta.ListCustomMetricsResponse
ListCustomMetricsResponse.Builder
Response message for ListCustomMetrics RPC.
Protobuf type google.analytics.admin.v1beta.ListCustomMetricsResponse
ListDataStreamsRequest
Request message for ListDataStreams RPC.
Protobuf type google.analytics.admin.v1beta.ListDataStreamsRequest
ListDataStreamsRequest.Builder
Request message for ListDataStreams RPC.
Protobuf type google.analytics.admin.v1beta.ListDataStreamsRequest
ListDataStreamsResponse
Response message for ListDataStreams RPC.
Protobuf type google.analytics.admin.v1beta.ListDataStreamsResponse
ListDataStreamsResponse.Builder
Response message for ListDataStreams RPC.
Protobuf type google.analytics.admin.v1beta.ListDataStreamsResponse
ListFirebaseLinksRequest
Request message for ListFirebaseLinks RPC
Protobuf type google.analytics.admin.v1beta.ListFirebaseLinksRequest
ListFirebaseLinksRequest.Builder
Request message for ListFirebaseLinks RPC
Protobuf type google.analytics.admin.v1beta.ListFirebaseLinksRequest
ListFirebaseLinksResponse
Response message for ListFirebaseLinks RPC
Protobuf type google.analytics.admin.v1beta.ListFirebaseLinksResponse
ListFirebaseLinksResponse.Builder
Response message for ListFirebaseLinks RPC
Protobuf type google.analytics.admin.v1beta.ListFirebaseLinksResponse
ListGoogleAdsLinksRequest
Request message for ListGoogleAdsLinks RPC.
Protobuf type google.analytics.admin.v1beta.ListGoogleAdsLinksRequest
ListGoogleAdsLinksRequest.Builder
Request message for ListGoogleAdsLinks RPC.
Protobuf type google.analytics.admin.v1beta.ListGoogleAdsLinksRequest
ListGoogleAdsLinksResponse
Response message for ListGoogleAdsLinks RPC.
Protobuf type google.analytics.admin.v1beta.ListGoogleAdsLinksResponse
ListGoogleAdsLinksResponse.Builder
Response message for ListGoogleAdsLinks RPC.
Protobuf type google.analytics.admin.v1beta.ListGoogleAdsLinksResponse
ListMeasurementProtocolSecretsRequest
Request message for ListMeasurementProtocolSecret RPC
Protobuf type google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest
ListMeasurementProtocolSecretsRequest.Builder
Request message for ListMeasurementProtocolSecret RPC
Protobuf type google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest
ListMeasurementProtocolSecretsResponse
Response message for ListMeasurementProtocolSecret RPC
Protobuf type google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse
ListMeasurementProtocolSecretsResponse.Builder
Response message for ListMeasurementProtocolSecret RPC
Protobuf type google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse
ListPropertiesRequest
Request message for ListProperties RPC.
Protobuf type google.analytics.admin.v1beta.ListPropertiesRequest
ListPropertiesRequest.Builder
Request message for ListProperties RPC.
Protobuf type google.analytics.admin.v1beta.ListPropertiesRequest
ListPropertiesResponse
Response message for ListProperties RPC.
Protobuf type google.analytics.admin.v1beta.ListPropertiesResponse
ListPropertiesResponse.Builder
Response message for ListProperties RPC.
Protobuf type google.analytics.admin.v1beta.ListPropertiesResponse
MeasurementProtocolSecret
A secret value used for sending hits to Measurement Protocol.
Protobuf type google.analytics.admin.v1beta.MeasurementProtocolSecret
MeasurementProtocolSecret.Builder
A secret value used for sending hits to Measurement Protocol.
Protobuf type google.analytics.admin.v1beta.MeasurementProtocolSecret
MeasurementProtocolSecretName
MeasurementProtocolSecretName.Builder
Builder for properties/{property}/dataStreams/{data_stream}/measurementProtocolSecrets/{measurement_protocol_secret}.
Property
A resource message representing a Google Analytics GA4 property.
Protobuf type google.analytics.admin.v1beta.Property
Property.Builder
A resource message representing a Google Analytics GA4 property.
Protobuf type google.analytics.admin.v1beta.Property
PropertyName
PropertyName.Builder
Builder for properties/{property}.
PropertySummary
A virtual resource representing metadata for a GA4 property.
Protobuf type google.analytics.admin.v1beta.PropertySummary
PropertySummary.Builder
A virtual resource representing metadata for a GA4 property.
Protobuf type google.analytics.admin.v1beta.PropertySummary
ProvisionAccountTicketRequest
Request message for ProvisionAccountTicket RPC.
Protobuf type google.analytics.admin.v1beta.ProvisionAccountTicketRequest
ProvisionAccountTicketRequest.Builder
Request message for ProvisionAccountTicket RPC.
Protobuf type google.analytics.admin.v1beta.ProvisionAccountTicketRequest
ProvisionAccountTicketResponse
Response message for ProvisionAccountTicket RPC.
Protobuf type google.analytics.admin.v1beta.ProvisionAccountTicketResponse
ProvisionAccountTicketResponse.Builder
Response message for ProvisionAccountTicket RPC.
Protobuf type google.analytics.admin.v1beta.ProvisionAccountTicketResponse
ResourcesProto
SearchChangeHistoryEventsRequest
Request message for SearchChangeHistoryEvents RPC.
Protobuf type google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest
SearchChangeHistoryEventsRequest.Builder
Request message for SearchChangeHistoryEvents RPC.
Protobuf type google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest
SearchChangeHistoryEventsResponse
Response message for SearchAccounts RPC.
Protobuf type google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse
SearchChangeHistoryEventsResponse.Builder
Response message for SearchAccounts RPC.
Protobuf type google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse
UpdateAccountRequest
Request message for UpdateAccount RPC.
Protobuf type google.analytics.admin.v1beta.UpdateAccountRequest
UpdateAccountRequest.Builder
Request message for UpdateAccount RPC.
Protobuf type google.analytics.admin.v1beta.UpdateAccountRequest
UpdateCustomDimensionRequest
Request message for UpdateCustomDimension RPC.
Protobuf type google.analytics.admin.v1beta.UpdateCustomDimensionRequest
UpdateCustomDimensionRequest.Builder
Request message for UpdateCustomDimension RPC.
Protobuf type google.analytics.admin.v1beta.UpdateCustomDimensionRequest
UpdateCustomMetricRequest
Request message for UpdateCustomMetric RPC.
Protobuf type google.analytics.admin.v1beta.UpdateCustomMetricRequest
UpdateCustomMetricRequest.Builder
Request message for UpdateCustomMetric RPC.
Protobuf type google.analytics.admin.v1beta.UpdateCustomMetricRequest
UpdateDataRetentionSettingsRequest
Request message for UpdateDataRetentionSettings RPC.
Protobuf type google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest
UpdateDataRetentionSettingsRequest.Builder
Request message for UpdateDataRetentionSettings RPC.
Protobuf type google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest
UpdateDataStreamRequest
Request message for UpdateDataStream RPC.
Protobuf type google.analytics.admin.v1beta.UpdateDataStreamRequest
UpdateDataStreamRequest.Builder
Request message for UpdateDataStream RPC.
Protobuf type google.analytics.admin.v1beta.UpdateDataStreamRequest
UpdateGoogleAdsLinkRequest
Request message for UpdateGoogleAdsLink RPC
Protobuf type google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest
UpdateGoogleAdsLinkRequest.Builder
Request message for UpdateGoogleAdsLink RPC
Protobuf type google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest
UpdateMeasurementProtocolSecretRequest
Request message for UpdateMeasurementProtocolSecret RPC
Protobuf type google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest
UpdateMeasurementProtocolSecretRequest.Builder
Request message for UpdateMeasurementProtocolSecret RPC
Protobuf type google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest
UpdatePropertyRequest
Request message for UpdateProperty RPC.
Protobuf type google.analytics.admin.v1beta.UpdatePropertyRequest
UpdatePropertyRequest.Builder
Request message for UpdateProperty RPC.
Protobuf type google.analytics.admin.v1beta.UpdatePropertyRequest
Interfaces
AccountOrBuilder
AccountSummaryOrBuilder
AcknowledgeUserDataCollectionRequestOrBuilder
AcknowledgeUserDataCollectionResponseOrBuilder
ArchiveCustomDimensionRequestOrBuilder
ArchiveCustomMetricRequestOrBuilder
ChangeHistoryChange.ChangeHistoryResourceOrBuilder
ChangeHistoryChangeOrBuilder
ChangeHistoryEventOrBuilder
ConversionEventOrBuilder
CreateConversionEventRequestOrBuilder
CreateCustomDimensionRequestOrBuilder
CreateCustomMetricRequestOrBuilder
CreateDataStreamRequestOrBuilder
CreateFirebaseLinkRequestOrBuilder
CreateGoogleAdsLinkRequestOrBuilder
CreateMeasurementProtocolSecretRequestOrBuilder
CreatePropertyRequestOrBuilder
CustomDimensionOrBuilder
CustomMetricOrBuilder
DataRetentionSettingsOrBuilder
DataSharingSettingsOrBuilder
DataStream.AndroidAppStreamDataOrBuilder
DataStream.IosAppStreamDataOrBuilder
DataStream.WebStreamDataOrBuilder
DataStreamOrBuilder
DeleteAccountRequestOrBuilder
DeleteConversionEventRequestOrBuilder
DeleteDataStreamRequestOrBuilder
DeleteFirebaseLinkRequestOrBuilder
DeleteGoogleAdsLinkRequestOrBuilder
DeleteMeasurementProtocolSecretRequestOrBuilder
DeletePropertyRequestOrBuilder
FirebaseLinkOrBuilder
GetAccountRequestOrBuilder
GetConversionEventRequestOrBuilder
GetCustomDimensionRequestOrBuilder
GetCustomMetricRequestOrBuilder
GetDataRetentionSettingsRequestOrBuilder
GetDataSharingSettingsRequestOrBuilder
GetDataStreamRequestOrBuilder
GetMeasurementProtocolSecretRequestOrBuilder
GetPropertyRequestOrBuilder
GoogleAdsLinkOrBuilder
ListAccountSummariesRequestOrBuilder
ListAccountSummariesResponseOrBuilder
ListAccountsRequestOrBuilder
ListAccountsResponseOrBuilder
ListConversionEventsRequestOrBuilder
ListConversionEventsResponseOrBuilder
ListCustomDimensionsRequestOrBuilder
ListCustomDimensionsResponseOrBuilder
ListCustomMetricsRequestOrBuilder
ListCustomMetricsResponseOrBuilder
ListDataStreamsRequestOrBuilder
ListDataStreamsResponseOrBuilder
ListFirebaseLinksRequestOrBuilder
ListFirebaseLinksResponseOrBuilder
ListGoogleAdsLinksRequestOrBuilder
ListGoogleAdsLinksResponseOrBuilder
ListMeasurementProtocolSecretsRequestOrBuilder
ListMeasurementProtocolSecretsResponseOrBuilder
ListPropertiesRequestOrBuilder
ListPropertiesResponseOrBuilder
MeasurementProtocolSecretOrBuilder
PropertyOrBuilder
PropertySummaryOrBuilder
ProvisionAccountTicketRequestOrBuilder
ProvisionAccountTicketResponseOrBuilder
SearchChangeHistoryEventsRequestOrBuilder
SearchChangeHistoryEventsResponseOrBuilder
UpdateAccountRequestOrBuilder
UpdateCustomDimensionRequestOrBuilder
UpdateCustomMetricRequestOrBuilder
UpdateDataRetentionSettingsRequestOrBuilder
UpdateDataStreamRequestOrBuilder
UpdateGoogleAdsLinkRequestOrBuilder
UpdateMeasurementProtocolSecretRequestOrBuilder
UpdatePropertyRequestOrBuilder
Enums
ActionType
Types of actions that may change a resource.
Protobuf enum google.analytics.admin.v1beta.ActionType
ActorType
Different kinds of actors that can make changes to Google Analytics resources.
Protobuf enum google.analytics.admin.v1beta.ActorType
ChangeHistoryChange.ChangeHistoryResource.ResourceCase
ChangeHistoryResourceType
Types of resources whose changes may be returned from change history.
Protobuf enum google.analytics.admin.v1beta.ChangeHistoryResourceType
CustomDimension.DimensionScope
Valid values for the scope of this dimension.
Protobuf enum google.analytics.admin.v1beta.CustomDimension.DimensionScope
CustomMetric.MeasurementUnit
Possible types of representing the custom metric's value. Currency representation may change in the future, requiring a breaking API change.
Protobuf enum google.analytics.admin.v1beta.CustomMetric.MeasurementUnit
CustomMetric.MetricScope
The scope of this metric.
Protobuf enum google.analytics.admin.v1beta.CustomMetric.MetricScope
CustomMetric.RestrictedMetricType
Labels that mark the data in this custom metric as data that should be restricted to specific users.
Protobuf enum google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType
DataRetentionSettings.RetentionDuration
Valid values for the data retention duration.
Protobuf enum google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration
DataStream.DataStreamType
The type of the data stream.
Protobuf enum google.analytics.admin.v1beta.DataStream.DataStreamType
DataStream.StreamDataCase
IndustryCategory
The category selected for this property, used for industry benchmarking.
Protobuf enum google.analytics.admin.v1beta.IndustryCategory
PropertyType
Types of Property resources.
Protobuf enum google.analytics.admin.v1beta.PropertyType
ServiceLevel
Various levels of service for Google Analytics.
Protobuf enum google.analytics.admin.v1beta.ServiceLevel