Class AnalyticsAdminServiceGrpc.AnalyticsAdminServiceBlockingStub (0.53.0)

public static final class AnalyticsAdminServiceGrpc.AnalyticsAdminServiceBlockingStub extends AbstractBlockingStub<AnalyticsAdminServiceGrpc.AnalyticsAdminServiceBlockingStub>

A stub to allow clients to do synchronous rpc calls to service AnalyticsAdminService.

Service Interface for the Analytics Admin API (GA4).

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > AnalyticsAdminServiceGrpc.AnalyticsAdminServiceBlockingStub

Methods

acknowledgeUserDataCollection(AcknowledgeUserDataCollectionRequest request)

public AcknowledgeUserDataCollectionResponse acknowledgeUserDataCollection(AcknowledgeUserDataCollectionRequest request)

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.

Parameter
Name Description
request AcknowledgeUserDataCollectionRequest
Returns
Type Description
AcknowledgeUserDataCollectionResponse

approveDisplayVideo360AdvertiserLinkProposal(ApproveDisplayVideo360AdvertiserLinkProposalRequest request)

public ApproveDisplayVideo360AdvertiserLinkProposalResponse approveDisplayVideo360AdvertiserLinkProposal(ApproveDisplayVideo360AdvertiserLinkProposalRequest request)

Approves a DisplayVideo360AdvertiserLinkProposal. The DisplayVideo360AdvertiserLinkProposal will be deleted and a new DisplayVideo360AdvertiserLink will be created.

Parameter
Name Description
request ApproveDisplayVideo360AdvertiserLinkProposalRequest
Returns
Type Description
ApproveDisplayVideo360AdvertiserLinkProposalResponse

archiveAudience(ArchiveAudienceRequest request)

public Empty archiveAudience(ArchiveAudienceRequest request)

Archives an Audience on a property.

Parameter
Name Description
request ArchiveAudienceRequest
Returns
Type Description
Empty

archiveCustomDimension(ArchiveCustomDimensionRequest request)

public Empty archiveCustomDimension(ArchiveCustomDimensionRequest request)

Archives a CustomDimension on a property.

Parameter
Name Description
request ArchiveCustomDimensionRequest
Returns
Type Description
Empty

archiveCustomMetric(ArchiveCustomMetricRequest request)

public Empty archiveCustomMetric(ArchiveCustomMetricRequest request)

Archives a CustomMetric on a property.

Parameter
Name Description
request ArchiveCustomMetricRequest
Returns
Type Description
Empty

batchCreateAccessBindings(BatchCreateAccessBindingsRequest request)

public BatchCreateAccessBindingsResponse batchCreateAccessBindings(BatchCreateAccessBindingsRequest request)

Creates information about multiple access bindings to an account or property. This method is transactional. If any AccessBinding cannot be created, none of the AccessBindings will be created.

Parameter
Name Description
request BatchCreateAccessBindingsRequest
Returns
Type Description
BatchCreateAccessBindingsResponse

batchDeleteAccessBindings(BatchDeleteAccessBindingsRequest request)

public Empty batchDeleteAccessBindings(BatchDeleteAccessBindingsRequest request)

Deletes information about multiple users' links to an account or property.

Parameter
Name Description
request BatchDeleteAccessBindingsRequest
Returns
Type Description
Empty

batchGetAccessBindings(BatchGetAccessBindingsRequest request)

public BatchGetAccessBindingsResponse batchGetAccessBindings(BatchGetAccessBindingsRequest request)

Gets information about multiple access bindings to an account or property.

Parameter
Name Description
request BatchGetAccessBindingsRequest
Returns
Type Description
BatchGetAccessBindingsResponse

batchUpdateAccessBindings(BatchUpdateAccessBindingsRequest request)

public BatchUpdateAccessBindingsResponse batchUpdateAccessBindings(BatchUpdateAccessBindingsRequest request)

Updates information about multiple access bindings to an account or property.

Parameter
Name Description
request BatchUpdateAccessBindingsRequest
Returns
Type Description
BatchUpdateAccessBindingsResponse

build(Channel channel, CallOptions callOptions)

protected AnalyticsAdminServiceGrpc.AnalyticsAdminServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
AnalyticsAdminServiceGrpc.AnalyticsAdminServiceBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

cancelDisplayVideo360AdvertiserLinkProposal(CancelDisplayVideo360AdvertiserLinkProposalRequest request)

public DisplayVideo360AdvertiserLinkProposal cancelDisplayVideo360AdvertiserLinkProposal(CancelDisplayVideo360AdvertiserLinkProposalRequest request)

Cancels a DisplayVideo360AdvertiserLinkProposal. Cancelling can mean either:

  • Declining a proposal initiated from Display & Video 360
  • Withdrawing a proposal initiated from Google Analytics After being cancelled, a proposal will eventually be deleted automatically.
Parameter
Name Description
request CancelDisplayVideo360AdvertiserLinkProposalRequest
Returns
Type Description
DisplayVideo360AdvertiserLinkProposal

createAccessBinding(CreateAccessBindingRequest request)

public AccessBinding createAccessBinding(CreateAccessBindingRequest request)

Creates an access binding on an account or property.

Parameter
Name Description
request CreateAccessBindingRequest
Returns
Type Description
AccessBinding
public AdSenseLink createAdSenseLink(CreateAdSenseLinkRequest request)

Creates an AdSenseLink.

Parameter
Name Description
request CreateAdSenseLinkRequest
Returns
Type Description
AdSenseLink

createAudience(CreateAudienceRequest request)

public Audience createAudience(CreateAudienceRequest request)

Creates an Audience.

Parameter
Name Description
request CreateAudienceRequest
Returns
Type Description
Audience

createCalculatedMetric(CreateCalculatedMetricRequest request)

public CalculatedMetric createCalculatedMetric(CreateCalculatedMetricRequest request)

Creates a CalculatedMetric.

Parameter
Name Description
request CreateCalculatedMetricRequest
Returns
Type Description
CalculatedMetric

createChannelGroup(CreateChannelGroupRequest request)

public ChannelGroup createChannelGroup(CreateChannelGroupRequest request)

Creates a ChannelGroup.

Parameter
Name Description
request CreateChannelGroupRequest
Returns
Type Description
ChannelGroup

createConnectedSiteTag(CreateConnectedSiteTagRequest request)

public CreateConnectedSiteTagResponse createConnectedSiteTag(CreateConnectedSiteTagRequest request)

Creates a connected site tag for a Universal Analytics property. You can create a maximum of 20 connected site tags per property. Note: This API cannot be used on GA4 properties.

Parameter
Name Description
request CreateConnectedSiteTagRequest
Returns
Type Description
CreateConnectedSiteTagResponse

createConversionEvent(CreateConversionEventRequest request)

public ConversionEvent createConversionEvent(CreateConversionEventRequest request)

Creates a conversion event with the specified attributes.

Parameter
Name Description
request CreateConversionEventRequest
Returns
Type Description
ConversionEvent

createCustomDimension(CreateCustomDimensionRequest request)

public CustomDimension createCustomDimension(CreateCustomDimensionRequest request)

Creates a CustomDimension.

Parameter
Name Description
request CreateCustomDimensionRequest
Returns
Type Description
CustomDimension

createCustomMetric(CreateCustomMetricRequest request)

public CustomMetric createCustomMetric(CreateCustomMetricRequest request)

Creates a CustomMetric.

Parameter
Name Description
request CreateCustomMetricRequest
Returns
Type Description
CustomMetric

createDataStream(CreateDataStreamRequest request)

public DataStream createDataStream(CreateDataStreamRequest request)

Creates a DataStream.

Parameter
Name Description
request CreateDataStreamRequest
Returns
Type Description
DataStream
public DisplayVideo360AdvertiserLink createDisplayVideo360AdvertiserLink(CreateDisplayVideo360AdvertiserLinkRequest request)

Creates a DisplayVideo360AdvertiserLink. This can only be utilized by users who have proper authorization both on the Google Analytics property and on the Display & Video 360 advertiser. Users who do not have access to the Display & Video 360 advertiser should instead seek to create a DisplayVideo360LinkProposal.

Parameter
Name Description
request CreateDisplayVideo360AdvertiserLinkRequest
Returns
Type Description
DisplayVideo360AdvertiserLink

createDisplayVideo360AdvertiserLinkProposal(CreateDisplayVideo360AdvertiserLinkProposalRequest request)

public DisplayVideo360AdvertiserLinkProposal createDisplayVideo360AdvertiserLinkProposal(CreateDisplayVideo360AdvertiserLinkProposalRequest request)

Creates a DisplayVideo360AdvertiserLinkProposal.

Parameter
Name Description
request CreateDisplayVideo360AdvertiserLinkProposalRequest
Returns
Type Description
DisplayVideo360AdvertiserLinkProposal

createEventCreateRule(CreateEventCreateRuleRequest request)

public EventCreateRule createEventCreateRule(CreateEventCreateRuleRequest request)

Creates an EventCreateRule.

Parameter
Name Description
request CreateEventCreateRuleRequest
Returns
Type Description
EventCreateRule

createExpandedDataSet(CreateExpandedDataSetRequest request)

public ExpandedDataSet createExpandedDataSet(CreateExpandedDataSetRequest request)

Creates a ExpandedDataSet.

Parameter
Name Description
request CreateExpandedDataSetRequest
Returns
Type Description
ExpandedDataSet
public FirebaseLink createFirebaseLink(CreateFirebaseLinkRequest request)

Creates a FirebaseLink. Properties can have at most one FirebaseLink.

Parameter
Name Description
request CreateFirebaseLinkRequest
Returns
Type Description
FirebaseLink
public GoogleAdsLink createGoogleAdsLink(CreateGoogleAdsLinkRequest request)

Creates a GoogleAdsLink.

Parameter
Name Description
request CreateGoogleAdsLinkRequest
Returns
Type Description
GoogleAdsLink

createMeasurementProtocolSecret(CreateMeasurementProtocolSecretRequest request)

public MeasurementProtocolSecret createMeasurementProtocolSecret(CreateMeasurementProtocolSecretRequest request)

Creates a measurement protocol secret.

Parameter
Name Description
request CreateMeasurementProtocolSecretRequest
Returns
Type Description
MeasurementProtocolSecret

createProperty(CreatePropertyRequest request)

public Property createProperty(CreatePropertyRequest request)

Creates an "GA4" property with the specified location and attributes.

Parameter
Name Description
request CreatePropertyRequest
Returns
Type Description
Property

createRollupProperty(CreateRollupPropertyRequest request)

public CreateRollupPropertyResponse createRollupProperty(CreateRollupPropertyRequest request)

Create a roll-up property and all roll-up property source links.

Parameter
Name Description
request CreateRollupPropertyRequest
Returns
Type Description
CreateRollupPropertyResponse
public RollupPropertySourceLink createRollupPropertySourceLink(CreateRollupPropertySourceLinkRequest request)

Creates a roll-up property source link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.

Parameter
Name Description
request CreateRollupPropertySourceLinkRequest
Returns
Type Description
RollupPropertySourceLink

createSKAdNetworkConversionValueSchema(CreateSKAdNetworkConversionValueSchemaRequest request)

public SKAdNetworkConversionValueSchema createSKAdNetworkConversionValueSchema(CreateSKAdNetworkConversionValueSchemaRequest request)

Creates a SKAdNetworkConversionValueSchema.

Parameter
Name Description
request CreateSKAdNetworkConversionValueSchemaRequest
Returns
Type Description
SKAdNetworkConversionValueSchema
public SearchAds360Link createSearchAds360Link(CreateSearchAds360LinkRequest request)

Creates a SearchAds360Link.

Parameter
Name Description
request CreateSearchAds360LinkRequest
Returns
Type Description
SearchAds360Link

createSubproperty(CreateSubpropertyRequest request)

public CreateSubpropertyResponse createSubproperty(CreateSubpropertyRequest request)

Create a subproperty and a subproperty event filter that applies to the created subproperty.

Parameter
Name Description
request CreateSubpropertyRequest
Returns
Type Description
CreateSubpropertyResponse

createSubpropertyEventFilter(CreateSubpropertyEventFilterRequest request)

public SubpropertyEventFilter createSubpropertyEventFilter(CreateSubpropertyEventFilterRequest request)

Creates a subproperty Event Filter.

Parameter
Name Description
request CreateSubpropertyEventFilterRequest
Returns
Type Description
SubpropertyEventFilter

deleteAccessBinding(DeleteAccessBindingRequest request)

public Empty deleteAccessBinding(DeleteAccessBindingRequest request)

Deletes an access binding on an account or property.

Parameter
Name Description
request DeleteAccessBindingRequest
Returns
Type Description
Empty

deleteAccount(DeleteAccountRequest request)

public Empty deleteAccount(DeleteAccountRequest request)

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.

Parameter
Name Description
request DeleteAccountRequest
Returns
Type Description
Empty
public Empty deleteAdSenseLink(DeleteAdSenseLinkRequest request)

Deletes an AdSenseLink.

Parameter
Name Description
request DeleteAdSenseLinkRequest
Returns
Type Description
Empty

deleteCalculatedMetric(DeleteCalculatedMetricRequest request)

public Empty deleteCalculatedMetric(DeleteCalculatedMetricRequest request)

Deletes a CalculatedMetric on a property.

Parameter
Name Description
request DeleteCalculatedMetricRequest
Returns
Type Description
Empty

deleteChannelGroup(DeleteChannelGroupRequest request)

public Empty deleteChannelGroup(DeleteChannelGroupRequest request)

Deletes a ChannelGroup on a property.

Parameter
Name Description
request DeleteChannelGroupRequest
Returns
Type Description
Empty

deleteConnectedSiteTag(DeleteConnectedSiteTagRequest request)

public Empty deleteConnectedSiteTag(DeleteConnectedSiteTagRequest request)

Deletes a connected site tag for a Universal Analytics property. Note: this has no effect on GA4 properties.

Parameter
Name Description
request DeleteConnectedSiteTagRequest
Returns
Type Description
Empty

deleteConversionEvent(DeleteConversionEventRequest request)

public Empty deleteConversionEvent(DeleteConversionEventRequest request)

Deletes a conversion event in a property.

Parameter
Name Description
request DeleteConversionEventRequest
Returns
Type Description
Empty

deleteDataStream(DeleteDataStreamRequest request)

public Empty deleteDataStream(DeleteDataStreamRequest request)

Deletes a DataStream on a property.

Parameter
Name Description
request DeleteDataStreamRequest
Returns
Type Description
Empty
public Empty deleteDisplayVideo360AdvertiserLink(DeleteDisplayVideo360AdvertiserLinkRequest request)

Deletes a DisplayVideo360AdvertiserLink on a property.

Parameter
Name Description
request DeleteDisplayVideo360AdvertiserLinkRequest
Returns
Type Description
Empty

deleteDisplayVideo360AdvertiserLinkProposal(DeleteDisplayVideo360AdvertiserLinkProposalRequest request)

public Empty deleteDisplayVideo360AdvertiserLinkProposal(DeleteDisplayVideo360AdvertiserLinkProposalRequest request)

Deletes a DisplayVideo360AdvertiserLinkProposal on a property. This can only be used on cancelled proposals.

Parameter
Name Description
request DeleteDisplayVideo360AdvertiserLinkProposalRequest
Returns
Type Description
Empty

deleteEventCreateRule(DeleteEventCreateRuleRequest request)

public Empty deleteEventCreateRule(DeleteEventCreateRuleRequest request)

Deletes an EventCreateRule.

Parameter
Name Description
request DeleteEventCreateRuleRequest
Returns
Type Description
Empty

deleteExpandedDataSet(DeleteExpandedDataSetRequest request)

public Empty deleteExpandedDataSet(DeleteExpandedDataSetRequest request)

Deletes a ExpandedDataSet on a property.

Parameter
Name Description
request DeleteExpandedDataSetRequest
Returns
Type Description
Empty
public Empty deleteFirebaseLink(DeleteFirebaseLinkRequest request)

Deletes a FirebaseLink on a property

Parameter
Name Description
request DeleteFirebaseLinkRequest
Returns
Type Description
Empty
public Empty deleteGoogleAdsLink(DeleteGoogleAdsLinkRequest request)

Deletes a GoogleAdsLink on a property

Parameter
Name Description
request DeleteGoogleAdsLinkRequest
Returns
Type Description
Empty

deleteMeasurementProtocolSecret(DeleteMeasurementProtocolSecretRequest request)

public Empty deleteMeasurementProtocolSecret(DeleteMeasurementProtocolSecretRequest request)

Deletes target MeasurementProtocolSecret.

Parameter
Name Description
request DeleteMeasurementProtocolSecretRequest
Returns
Type Description
Empty

deleteProperty(DeletePropertyRequest request)

public Property deleteProperty(DeletePropertyRequest request)

Marks target Property as soft-deleted (ie: "trashed") and returns it. This API does not have a method to restore soft-deleted properties. However, they can be restored using the Trash Can UI. If the properties are not restored before the expiration time, the Property and all child resources (eg: GoogleAdsLinks, Streams, AccessBindings) will be permanently purged. https://support.google.com/analytics/answer/6154772 Returns an error if the target is not found, or is not a GA4 Property.

Parameter
Name Description
request DeletePropertyRequest
Returns
Type Description
Property
public Empty deleteRollupPropertySourceLink(DeleteRollupPropertySourceLinkRequest request)

Deletes a roll-up property source link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.

Parameter
Name Description
request DeleteRollupPropertySourceLinkRequest
Returns
Type Description
Empty

deleteSKAdNetworkConversionValueSchema(DeleteSKAdNetworkConversionValueSchemaRequest request)

public Empty deleteSKAdNetworkConversionValueSchema(DeleteSKAdNetworkConversionValueSchemaRequest request)

Deletes target SKAdNetworkConversionValueSchema.

Parameter
Name Description
request DeleteSKAdNetworkConversionValueSchemaRequest
Returns
Type Description
Empty
public Empty deleteSearchAds360Link(DeleteSearchAds360LinkRequest request)

Deletes a SearchAds360Link on a property.

Parameter
Name Description
request DeleteSearchAds360LinkRequest
Returns
Type Description
Empty

deleteSubpropertyEventFilter(DeleteSubpropertyEventFilterRequest request)

public Empty deleteSubpropertyEventFilter(DeleteSubpropertyEventFilterRequest request)

Deletes a subproperty event filter.

Parameter
Name Description
request DeleteSubpropertyEventFilterRequest
Returns
Type Description
Empty

fetchAutomatedGa4ConfigurationOptOut(FetchAutomatedGa4ConfigurationOptOutRequest request)

public FetchAutomatedGa4ConfigurationOptOutResponse fetchAutomatedGa4ConfigurationOptOut(FetchAutomatedGa4ConfigurationOptOutRequest request)

Fetches the opt out status for the automated GA4 setup process for a UA property. Note: this has no effect on GA4 property.

Parameter
Name Description
request FetchAutomatedGa4ConfigurationOptOutRequest
Returns
Type Description
FetchAutomatedGa4ConfigurationOptOutResponse

fetchConnectedGa4Property(FetchConnectedGa4PropertyRequest request)

public FetchConnectedGa4PropertyResponse fetchConnectedGa4Property(FetchConnectedGa4PropertyRequest request)

Given a specified UA property, looks up the GA4 property connected to it. Note: this cannot be used with GA4 properties.

Parameter
Name Description
request FetchConnectedGa4PropertyRequest
Returns
Type Description
FetchConnectedGa4PropertyResponse

getAccessBinding(GetAccessBindingRequest request)

public AccessBinding getAccessBinding(GetAccessBindingRequest request)

Gets information about an access binding.

Parameter
Name Description
request GetAccessBindingRequest
Returns
Type Description
AccessBinding

getAccount(GetAccountRequest request)

public Account getAccount(GetAccountRequest request)

Lookup for a single Account.

Parameter
Name Description
request GetAccountRequest
Returns
Type Description
Account
public AdSenseLink getAdSenseLink(GetAdSenseLinkRequest request)

Looks up a single AdSenseLink.

Parameter
Name Description
request GetAdSenseLinkRequest
Returns
Type Description
AdSenseLink

getAttributionSettings(GetAttributionSettingsRequest request)

public AttributionSettings getAttributionSettings(GetAttributionSettingsRequest request)

Lookup for a AttributionSettings singleton.

Parameter
Name Description
request GetAttributionSettingsRequest
Returns
Type Description
AttributionSettings

getAudience(GetAudienceRequest request)

public Audience getAudience(GetAudienceRequest request)

Lookup for a single Audience. Audiences created before 2020 may not be supported. Default audiences will not show filter definitions.

Parameter
Name Description
request GetAudienceRequest
Returns
Type Description
Audience
public BigQueryLink getBigQueryLink(GetBigQueryLinkRequest request)

Lookup for a single BigQuery Link.

Parameter
Name Description
request GetBigQueryLinkRequest
Returns
Type Description
BigQueryLink

getCalculatedMetric(GetCalculatedMetricRequest request)

public CalculatedMetric getCalculatedMetric(GetCalculatedMetricRequest request)

Lookup for a single CalculatedMetric.

Parameter
Name Description
request GetCalculatedMetricRequest
Returns
Type Description
CalculatedMetric

getChannelGroup(GetChannelGroupRequest request)

public ChannelGroup getChannelGroup(GetChannelGroupRequest request)

Lookup for a single ChannelGroup.

Parameter
Name Description
request GetChannelGroupRequest
Returns
Type Description
ChannelGroup

getConversionEvent(GetConversionEventRequest request)

public ConversionEvent getConversionEvent(GetConversionEventRequest request)

Retrieve a single conversion event.

Parameter
Name Description
request GetConversionEventRequest
Returns
Type Description
ConversionEvent

getCustomDimension(GetCustomDimensionRequest request)

public CustomDimension getCustomDimension(GetCustomDimensionRequest request)

Lookup for a single CustomDimension.

Parameter
Name Description
request GetCustomDimensionRequest
Returns
Type Description
CustomDimension

getCustomMetric(GetCustomMetricRequest request)

public CustomMetric getCustomMetric(GetCustomMetricRequest request)

Lookup for a single CustomMetric.

Parameter
Name Description
request GetCustomMetricRequest
Returns
Type Description
CustomMetric

getDataRedactionSettings(GetDataRedactionSettingsRequest request)

public DataRedactionSettings getDataRedactionSettings(GetDataRedactionSettingsRequest request)

Lookup for a single DataRedactionSettings.

Parameter
Name Description
request GetDataRedactionSettingsRequest
Returns
Type Description
DataRedactionSettings

getDataRetentionSettings(GetDataRetentionSettingsRequest request)

public DataRetentionSettings getDataRetentionSettings(GetDataRetentionSettingsRequest request)

Returns the singleton data retention settings for this property.

Parameter
Name Description
request GetDataRetentionSettingsRequest
Returns
Type Description
DataRetentionSettings

getDataSharingSettings(GetDataSharingSettingsRequest request)

public DataSharingSettings getDataSharingSettings(GetDataSharingSettingsRequest request)

Get data sharing settings on an account. Data sharing settings are singletons.

Parameter
Name Description
request GetDataSharingSettingsRequest
Returns
Type Description
DataSharingSettings

getDataStream(GetDataStreamRequest request)

public DataStream getDataStream(GetDataStreamRequest request)

Lookup for a single DataStream.

Parameter
Name Description
request GetDataStreamRequest
Returns
Type Description
DataStream
public DisplayVideo360AdvertiserLink getDisplayVideo360AdvertiserLink(GetDisplayVideo360AdvertiserLinkRequest request)

Look up a single DisplayVideo360AdvertiserLink

Parameter
Name Description
request GetDisplayVideo360AdvertiserLinkRequest
Returns
Type Description
DisplayVideo360AdvertiserLink

getDisplayVideo360AdvertiserLinkProposal(GetDisplayVideo360AdvertiserLinkProposalRequest request)

public DisplayVideo360AdvertiserLinkProposal getDisplayVideo360AdvertiserLinkProposal(GetDisplayVideo360AdvertiserLinkProposalRequest request)

Lookup for a single DisplayVideo360AdvertiserLinkProposal.

Parameter
Name Description
request GetDisplayVideo360AdvertiserLinkProposalRequest
Returns
Type Description
DisplayVideo360AdvertiserLinkProposal

getEnhancedMeasurementSettings(GetEnhancedMeasurementSettingsRequest request)

public EnhancedMeasurementSettings getEnhancedMeasurementSettings(GetEnhancedMeasurementSettingsRequest request)

Returns the enhanced measurement settings for this data stream. Note that the stream must enable enhanced measurement for these settings to take effect.

Parameter
Name Description
request GetEnhancedMeasurementSettingsRequest
Returns
Type Description
EnhancedMeasurementSettings

getEventCreateRule(GetEventCreateRuleRequest request)

public EventCreateRule getEventCreateRule(GetEventCreateRuleRequest request)

Lookup for a single EventCreateRule.

Parameter
Name Description
request GetEventCreateRuleRequest
Returns
Type Description
EventCreateRule

getExpandedDataSet(GetExpandedDataSetRequest request)

public ExpandedDataSet getExpandedDataSet(GetExpandedDataSetRequest request)

Lookup for a single ExpandedDataSet.

Parameter
Name Description
request GetExpandedDataSetRequest
Returns
Type Description
ExpandedDataSet

getGlobalSiteTag(GetGlobalSiteTagRequest request)

public GlobalSiteTag getGlobalSiteTag(GetGlobalSiteTagRequest request)

Returns the Site Tag for the specified web stream. Site Tags are immutable singletons.

Parameter
Name Description
request GetGlobalSiteTagRequest
Returns
Type Description
GlobalSiteTag

getGoogleSignalsSettings(GetGoogleSignalsSettingsRequest request)

public GoogleSignalsSettings getGoogleSignalsSettings(GetGoogleSignalsSettingsRequest request)

Lookup for Google Signals settings for a property.

Parameter
Name Description
request GetGoogleSignalsSettingsRequest
Returns
Type Description
GoogleSignalsSettings

getMeasurementProtocolSecret(GetMeasurementProtocolSecretRequest request)

public MeasurementProtocolSecret getMeasurementProtocolSecret(GetMeasurementProtocolSecretRequest request)

Lookup for a single "GA4" MeasurementProtocolSecret.

Parameter
Name Description
request GetMeasurementProtocolSecretRequest
Returns
Type Description
MeasurementProtocolSecret

getProperty(GetPropertyRequest request)

public Property getProperty(GetPropertyRequest request)

Lookup for a single "GA4" Property.

Parameter
Name Description
request GetPropertyRequest
Returns
Type Description
Property
public RollupPropertySourceLink getRollupPropertySourceLink(GetRollupPropertySourceLinkRequest request)

Lookup for a single roll-up property source Link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.

Parameter
Name Description
request GetRollupPropertySourceLinkRequest
Returns
Type Description
RollupPropertySourceLink

getSKAdNetworkConversionValueSchema(GetSKAdNetworkConversionValueSchemaRequest request)

public SKAdNetworkConversionValueSchema getSKAdNetworkConversionValueSchema(GetSKAdNetworkConversionValueSchemaRequest request)

Looks up a single SKAdNetworkConversionValueSchema.

Parameter
Name Description
request GetSKAdNetworkConversionValueSchemaRequest
Returns
Type Description
SKAdNetworkConversionValueSchema
public SearchAds360Link getSearchAds360Link(GetSearchAds360LinkRequest request)

Look up a single SearchAds360Link

Parameter
Name Description
request GetSearchAds360LinkRequest
Returns
Type Description
SearchAds360Link

getSubpropertyEventFilter(GetSubpropertyEventFilterRequest request)

public SubpropertyEventFilter getSubpropertyEventFilter(GetSubpropertyEventFilterRequest request)

Lookup for a single subproperty Event Filter.

Parameter
Name Description
request GetSubpropertyEventFilterRequest
Returns
Type Description
SubpropertyEventFilter

listAccessBindings(ListAccessBindingsRequest request)

public ListAccessBindingsResponse listAccessBindings(ListAccessBindingsRequest request)

Lists all access bindings on an account or property.

Parameter
Name Description
request ListAccessBindingsRequest
Returns
Type Description
ListAccessBindingsResponse

listAccountSummaries(ListAccountSummariesRequest request)

public ListAccountSummariesResponse listAccountSummaries(ListAccountSummariesRequest request)

Returns summaries of all accounts accessible by the caller.

Parameter
Name Description
request ListAccountSummariesRequest
Returns
Type Description
ListAccountSummariesResponse

listAccounts(ListAccountsRequest request)

public ListAccountsResponse listAccounts(ListAccountsRequest request)

Returns all accounts accessible by the caller. Note that these accounts might not currently have GA4 properties. Soft-deleted (ie: "trashed") accounts are excluded by default. Returns an empty list if no relevant accounts are found.

Parameter
Name Description
request ListAccountsRequest
Returns
Type Description
ListAccountsResponse
public ListAdSenseLinksResponse listAdSenseLinks(ListAdSenseLinksRequest request)

Lists AdSenseLinks on a property.

Parameter
Name Description
request ListAdSenseLinksRequest
Returns
Type Description
ListAdSenseLinksResponse

listAudiences(ListAudiencesRequest request)

public ListAudiencesResponse listAudiences(ListAudiencesRequest request)

Lists Audiences on a property. Audiences created before 2020 may not be supported. Default audiences will not show filter definitions.

Parameter
Name Description
request ListAudiencesRequest
Returns
Type Description
ListAudiencesResponse
public ListBigQueryLinksResponse listBigQueryLinks(ListBigQueryLinksRequest request)

Lists BigQuery Links on a property.

Parameter
Name Description
request ListBigQueryLinksRequest
Returns
Type Description
ListBigQueryLinksResponse

listCalculatedMetrics(ListCalculatedMetricsRequest request)

public ListCalculatedMetricsResponse listCalculatedMetrics(ListCalculatedMetricsRequest request)

Lists CalculatedMetrics on a property.

Parameter
Name Description
request ListCalculatedMetricsRequest
Returns
Type Description
ListCalculatedMetricsResponse

listChannelGroups(ListChannelGroupsRequest request)

public ListChannelGroupsResponse listChannelGroups(ListChannelGroupsRequest request)

Lists ChannelGroups on a property.

Parameter
Name Description
request ListChannelGroupsRequest
Returns
Type Description
ListChannelGroupsResponse

listConnectedSiteTags(ListConnectedSiteTagsRequest request)

public ListConnectedSiteTagsResponse listConnectedSiteTags(ListConnectedSiteTagsRequest request)

Lists the connected site tags for a Universal Analytics property. A maximum of 20 connected site tags will be returned. Note: this has no effect on GA4 property.

Parameter
Name Description
request ListConnectedSiteTagsRequest
Returns
Type Description
ListConnectedSiteTagsResponse

listConversionEvents(ListConversionEventsRequest request)

public ListConversionEventsResponse listConversionEvents(ListConversionEventsRequest request)

Returns a list of conversion events in the specified parent property. Returns an empty list if no conversion events are found.

Parameter
Name Description
request ListConversionEventsRequest
Returns
Type Description
ListConversionEventsResponse

listCustomDimensions(ListCustomDimensionsRequest request)

public ListCustomDimensionsResponse listCustomDimensions(ListCustomDimensionsRequest request)

Lists CustomDimensions on a property.

Parameter
Name Description
request ListCustomDimensionsRequest
Returns
Type Description
ListCustomDimensionsResponse

listCustomMetrics(ListCustomMetricsRequest request)

public ListCustomMetricsResponse listCustomMetrics(ListCustomMetricsRequest request)

Lists CustomMetrics on a property.

Parameter
Name Description
request ListCustomMetricsRequest
Returns
Type Description
ListCustomMetricsResponse

listDataStreams(ListDataStreamsRequest request)

public ListDataStreamsResponse listDataStreams(ListDataStreamsRequest request)

Lists DataStreams on a property.

Parameter
Name Description
request ListDataStreamsRequest
Returns
Type Description
ListDataStreamsResponse

listDisplayVideo360AdvertiserLinkProposals(ListDisplayVideo360AdvertiserLinkProposalsRequest request)

public ListDisplayVideo360AdvertiserLinkProposalsResponse listDisplayVideo360AdvertiserLinkProposals(ListDisplayVideo360AdvertiserLinkProposalsRequest request)

Lists DisplayVideo360AdvertiserLinkProposals on a property.

Parameter
Name Description
request ListDisplayVideo360AdvertiserLinkProposalsRequest
Returns
Type Description
ListDisplayVideo360AdvertiserLinkProposalsResponse
public ListDisplayVideo360AdvertiserLinksResponse listDisplayVideo360AdvertiserLinks(ListDisplayVideo360AdvertiserLinksRequest request)

Lists all DisplayVideo360AdvertiserLinks on a property.

Parameter
Name Description
request ListDisplayVideo360AdvertiserLinksRequest
Returns
Type Description
ListDisplayVideo360AdvertiserLinksResponse

listEventCreateRules(ListEventCreateRulesRequest request)

public ListEventCreateRulesResponse listEventCreateRules(ListEventCreateRulesRequest request)

Lists EventCreateRules on a web data stream.

Parameter
Name Description
request ListEventCreateRulesRequest
Returns
Type Description
ListEventCreateRulesResponse

listExpandedDataSets(ListExpandedDataSetsRequest request)

public ListExpandedDataSetsResponse listExpandedDataSets(ListExpandedDataSetsRequest request)

Lists ExpandedDataSets on a property.

Parameter
Name Description
request ListExpandedDataSetsRequest
Returns
Type Description
ListExpandedDataSetsResponse
public ListFirebaseLinksResponse listFirebaseLinks(ListFirebaseLinksRequest request)

Lists FirebaseLinks on a property. Properties can have at most one FirebaseLink.

Parameter
Name Description
request ListFirebaseLinksRequest
Returns
Type Description
ListFirebaseLinksResponse
public ListGoogleAdsLinksResponse listGoogleAdsLinks(ListGoogleAdsLinksRequest request)

Lists GoogleAdsLinks on a property.

Parameter
Name Description
request ListGoogleAdsLinksRequest
Returns
Type Description
ListGoogleAdsLinksResponse

listMeasurementProtocolSecrets(ListMeasurementProtocolSecretsRequest request)

public ListMeasurementProtocolSecretsResponse listMeasurementProtocolSecrets(ListMeasurementProtocolSecretsRequest request)

Returns child MeasurementProtocolSecrets under the specified parent Property.

Parameter
Name Description
request ListMeasurementProtocolSecretsRequest
Returns
Type Description
ListMeasurementProtocolSecretsResponse

listProperties(ListPropertiesRequest request)

public ListPropertiesResponse listProperties(ListPropertiesRequest request)

Returns child Properties under the specified parent Account. Only "GA4" properties will be returned. 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.

Parameter
Name Description
request ListPropertiesRequest
Returns
Type Description
ListPropertiesResponse
public ListRollupPropertySourceLinksResponse listRollupPropertySourceLinks(ListRollupPropertySourceLinksRequest request)

Lists roll-up property source Links on a property. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.

Parameter
Name Description
request ListRollupPropertySourceLinksRequest
Returns
Type Description
ListRollupPropertySourceLinksResponse

listSKAdNetworkConversionValueSchemas(ListSKAdNetworkConversionValueSchemasRequest request)

public ListSKAdNetworkConversionValueSchemasResponse listSKAdNetworkConversionValueSchemas(ListSKAdNetworkConversionValueSchemasRequest request)

Lists SKAdNetworkConversionValueSchema on a stream. Properties can have at most one SKAdNetworkConversionValueSchema.

Parameter
Name Description
request ListSKAdNetworkConversionValueSchemasRequest
Returns
Type Description
ListSKAdNetworkConversionValueSchemasResponse
public ListSearchAds360LinksResponse listSearchAds360Links(ListSearchAds360LinksRequest request)

Lists all SearchAds360Links on a property.

Parameter
Name Description
request ListSearchAds360LinksRequest
Returns
Type Description
ListSearchAds360LinksResponse

listSubpropertyEventFilters(ListSubpropertyEventFiltersRequest request)

public ListSubpropertyEventFiltersResponse listSubpropertyEventFilters(ListSubpropertyEventFiltersRequest request)

List all subproperty Event Filters on a property.

Parameter
Name Description
request ListSubpropertyEventFiltersRequest
Returns
Type Description
ListSubpropertyEventFiltersResponse

provisionAccountTicket(ProvisionAccountTicketRequest request)

public ProvisionAccountTicketResponse provisionAccountTicket(ProvisionAccountTicketRequest request)

Requests a ticket for creating an account.

Parameter
Name Description
request ProvisionAccountTicketRequest
Returns
Type Description
ProvisionAccountTicketResponse

runAccessReport(RunAccessReportRequest request)

public RunAccessReportResponse runAccessReport(RunAccessReportRequest request)

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 GA4 UI Reporting, GA4 UI Explorations, GA4 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.

Parameter
Name Description
request RunAccessReportRequest
Returns
Type Description
RunAccessReportResponse

searchChangeHistoryEvents(SearchChangeHistoryEventsRequest request)

public SearchChangeHistoryEventsResponse searchChangeHistoryEvents(SearchChangeHistoryEventsRequest request)

Searches through all changes to an account or its children given the specified set of filters.

Parameter
Name Description
request SearchChangeHistoryEventsRequest
Returns
Type Description
SearchChangeHistoryEventsResponse

setAutomatedGa4ConfigurationOptOut(SetAutomatedGa4ConfigurationOptOutRequest request)

public SetAutomatedGa4ConfigurationOptOutResponse setAutomatedGa4ConfigurationOptOut(SetAutomatedGa4ConfigurationOptOutRequest request)

Sets the opt out status for the automated GA4 setup process for a UA property. Note: this has no effect on GA4 property.

Parameter
Name Description
request SetAutomatedGa4ConfigurationOptOutRequest
Returns
Type Description
SetAutomatedGa4ConfigurationOptOutResponse

updateAccessBinding(UpdateAccessBindingRequest request)

public AccessBinding updateAccessBinding(UpdateAccessBindingRequest request)

Updates an access binding on an account or property.

Parameter
Name Description
request UpdateAccessBindingRequest
Returns
Type Description
AccessBinding

updateAccount(UpdateAccountRequest request)

public Account updateAccount(UpdateAccountRequest request)

Updates an account.

Parameter
Name Description
request UpdateAccountRequest
Returns
Type Description
Account

updateAttributionSettings(UpdateAttributionSettingsRequest request)

public AttributionSettings updateAttributionSettings(UpdateAttributionSettingsRequest request)

Updates attribution settings on a property.

Parameter
Name Description
request UpdateAttributionSettingsRequest
Returns
Type Description
AttributionSettings

updateAudience(UpdateAudienceRequest request)

public Audience updateAudience(UpdateAudienceRequest request)

Updates an Audience on a property.

Parameter
Name Description
request UpdateAudienceRequest
Returns
Type Description
Audience

updateCalculatedMetric(UpdateCalculatedMetricRequest request)

public CalculatedMetric updateCalculatedMetric(UpdateCalculatedMetricRequest request)

Updates a CalculatedMetric on a property.

Parameter
Name Description
request UpdateCalculatedMetricRequest
Returns
Type Description
CalculatedMetric

updateChannelGroup(UpdateChannelGroupRequest request)

public ChannelGroup updateChannelGroup(UpdateChannelGroupRequest request)

Updates a ChannelGroup.

Parameter
Name Description
request UpdateChannelGroupRequest
Returns
Type Description
ChannelGroup

updateConversionEvent(UpdateConversionEventRequest request)

public ConversionEvent updateConversionEvent(UpdateConversionEventRequest request)

Updates a conversion event with the specified attributes.

Parameter
Name Description
request UpdateConversionEventRequest
Returns
Type Description
ConversionEvent

updateCustomDimension(UpdateCustomDimensionRequest request)

public CustomDimension updateCustomDimension(UpdateCustomDimensionRequest request)

Updates a CustomDimension on a property.

Parameter
Name Description
request UpdateCustomDimensionRequest
Returns
Type Description
CustomDimension

updateCustomMetric(UpdateCustomMetricRequest request)

public CustomMetric updateCustomMetric(UpdateCustomMetricRequest request)

Updates a CustomMetric on a property.

Parameter
Name Description
request UpdateCustomMetricRequest
Returns
Type Description
CustomMetric

updateDataRedactionSettings(UpdateDataRedactionSettingsRequest request)

public DataRedactionSettings updateDataRedactionSettings(UpdateDataRedactionSettingsRequest request)

Updates a DataRedactionSettings on a property.

Parameter
Name Description
request UpdateDataRedactionSettingsRequest
Returns
Type Description
DataRedactionSettings

updateDataRetentionSettings(UpdateDataRetentionSettingsRequest request)

public DataRetentionSettings updateDataRetentionSettings(UpdateDataRetentionSettingsRequest request)

Updates the singleton data retention settings for this property.

Parameter
Name Description
request UpdateDataRetentionSettingsRequest
Returns
Type Description
DataRetentionSettings

updateDataStream(UpdateDataStreamRequest request)

public DataStream updateDataStream(UpdateDataStreamRequest request)

Updates a DataStream on a property.

Parameter
Name Description
request UpdateDataStreamRequest
Returns
Type Description
DataStream
public DisplayVideo360AdvertiserLink updateDisplayVideo360AdvertiserLink(UpdateDisplayVideo360AdvertiserLinkRequest request)

Updates a DisplayVideo360AdvertiserLink on a property.

Parameter
Name Description
request UpdateDisplayVideo360AdvertiserLinkRequest
Returns
Type Description
DisplayVideo360AdvertiserLink

updateEnhancedMeasurementSettings(UpdateEnhancedMeasurementSettingsRequest request)

public EnhancedMeasurementSettings updateEnhancedMeasurementSettings(UpdateEnhancedMeasurementSettingsRequest request)

Updates the enhanced measurement settings for this data stream. Note that the stream must enable enhanced measurement for these settings to take effect.

Parameter
Name Description
request UpdateEnhancedMeasurementSettingsRequest
Returns
Type Description
EnhancedMeasurementSettings

updateEventCreateRule(UpdateEventCreateRuleRequest request)

public EventCreateRule updateEventCreateRule(UpdateEventCreateRuleRequest request)

Updates an EventCreateRule.

Parameter
Name Description
request UpdateEventCreateRuleRequest
Returns
Type Description
EventCreateRule

updateExpandedDataSet(UpdateExpandedDataSetRequest request)

public ExpandedDataSet updateExpandedDataSet(UpdateExpandedDataSetRequest request)

Updates a ExpandedDataSet on a property.

Parameter
Name Description
request UpdateExpandedDataSetRequest
Returns
Type Description
ExpandedDataSet
public GoogleAdsLink updateGoogleAdsLink(UpdateGoogleAdsLinkRequest request)

Updates a GoogleAdsLink on a property

Parameter
Name Description
request UpdateGoogleAdsLinkRequest
Returns
Type Description
GoogleAdsLink

updateGoogleSignalsSettings(UpdateGoogleSignalsSettingsRequest request)

public GoogleSignalsSettings updateGoogleSignalsSettings(UpdateGoogleSignalsSettingsRequest request)

Updates Google Signals settings for a property.

Parameter
Name Description
request UpdateGoogleSignalsSettingsRequest
Returns
Type Description
GoogleSignalsSettings

updateMeasurementProtocolSecret(UpdateMeasurementProtocolSecretRequest request)

public MeasurementProtocolSecret updateMeasurementProtocolSecret(UpdateMeasurementProtocolSecretRequest request)

Updates a measurement protocol secret.

Parameter
Name Description
request UpdateMeasurementProtocolSecretRequest
Returns
Type Description
MeasurementProtocolSecret

updateProperty(UpdatePropertyRequest request)

public Property updateProperty(UpdatePropertyRequest request)

Updates a property.

Parameter
Name Description
request UpdatePropertyRequest
Returns
Type Description
Property

updateSKAdNetworkConversionValueSchema(UpdateSKAdNetworkConversionValueSchemaRequest request)

public SKAdNetworkConversionValueSchema updateSKAdNetworkConversionValueSchema(UpdateSKAdNetworkConversionValueSchemaRequest request)

Updates a SKAdNetworkConversionValueSchema.

Parameter
Name Description
request UpdateSKAdNetworkConversionValueSchemaRequest
Returns
Type Description
SKAdNetworkConversionValueSchema
public SearchAds360Link updateSearchAds360Link(UpdateSearchAds360LinkRequest request)

Updates a SearchAds360Link on a property.

Parameter
Name Description
request UpdateSearchAds360LinkRequest
Returns
Type Description
SearchAds360Link

updateSubpropertyEventFilter(UpdateSubpropertyEventFilterRequest request)

public SubpropertyEventFilter updateSubpropertyEventFilter(UpdateSubpropertyEventFilterRequest request)

Updates a subproperty Event Filter.

Parameter
Name Description
request UpdateSubpropertyEventFilterRequest
Returns
Type Description
SubpropertyEventFilter