Index
AnalyticsAdminService
(interface)AccessBetweenFilter
(message)AccessBinding
(message)AccessDateRange
(message)AccessDimension
(message)AccessDimensionHeader
(message)AccessDimensionValue
(message)AccessFilter
(message)AccessFilterExpression
(message)AccessFilterExpressionList
(message)AccessInListFilter
(message)AccessMetric
(message)AccessMetricHeader
(message)AccessMetricValue
(message)AccessNumericFilter
(message)AccessNumericFilter.Operation
(enum)AccessOrderBy
(message)AccessOrderBy.DimensionOrderBy
(message)AccessOrderBy.DimensionOrderBy.OrderType
(enum)AccessOrderBy.MetricOrderBy
(message)AccessQuota
(message)AccessQuotaStatus
(message)AccessRow
(message)AccessStringFilter
(message)AccessStringFilter.MatchType
(enum)Account
(message)AccountSummary
(message)AcknowledgeUserDataCollectionRequest
(message)AcknowledgeUserDataCollectionResponse
(message)ActionType
(enum)ActorType
(enum)ApproveDisplayVideo360AdvertiserLinkProposalRequest
(message)ApproveDisplayVideo360AdvertiserLinkProposalResponse
(message)ArchiveAudienceRequest
(message)ArchiveCustomDimensionRequest
(message)ArchiveCustomMetricRequest
(message)AttributionSettings
(message)AttributionSettings.AcquisitionConversionEventLookbackWindow
(enum)AttributionSettings.OtherConversionEventLookbackWindow
(enum)AttributionSettings.ReportingAttributionModel
(enum)Audience
(message)Audience.AudienceExclusionDurationMode
(enum)AudienceDimensionOrMetricFilter
(message)AudienceDimensionOrMetricFilter.BetweenFilter
(message)AudienceDimensionOrMetricFilter.InListFilter
(message)AudienceDimensionOrMetricFilter.NumericFilter
(message)AudienceDimensionOrMetricFilter.NumericFilter.Operation
(enum)AudienceDimensionOrMetricFilter.NumericValue
(message)AudienceDimensionOrMetricFilter.StringFilter
(message)AudienceDimensionOrMetricFilter.StringFilter.MatchType
(enum)AudienceEventFilter
(message)AudienceEventTrigger
(message)AudienceEventTrigger.LogCondition
(enum)AudienceFilterClause
(message)AudienceFilterClause.AudienceClauseType
(enum)AudienceFilterExpression
(message)AudienceFilterExpressionList
(message)AudienceFilterScope
(enum)AudienceSequenceFilter
(message)AudienceSequenceFilter.AudienceSequenceStep
(message)AudienceSimpleFilter
(message)AuditUserLink
(message)AuditUserLinksRequest
(message)AuditUserLinksResponse
(message)BatchCreateAccessBindingsRequest
(message)BatchCreateAccessBindingsResponse
(message)BatchCreateUserLinksRequest
(message)BatchCreateUserLinksResponse
(message)BatchDeleteAccessBindingsRequest
(message)BatchDeleteUserLinksRequest
(message)BatchGetAccessBindingsRequest
(message)BatchGetAccessBindingsResponse
(message)BatchGetUserLinksRequest
(message)BatchGetUserLinksResponse
(message)BatchUpdateAccessBindingsRequest
(message)BatchUpdateAccessBindingsResponse
(message)BatchUpdateUserLinksRequest
(message)BatchUpdateUserLinksResponse
(message)BigQueryLink
(message)CancelDisplayVideo360AdvertiserLinkProposalRequest
(message)ChangeHistoryChange
(message)ChangeHistoryChange.ChangeHistoryResource
(message)ChangeHistoryEvent
(message)ChangeHistoryResourceType
(enum)ConnectedSiteTag
(message)ConversionEvent
(message)CreateAccessBindingRequest
(message)CreateAudienceRequest
(message)CreateConnectedSiteTagRequest
(message)CreateConnectedSiteTagResponse
(message)CreateConversionEventRequest
(message)CreateCustomDimensionRequest
(message)CreateCustomMetricRequest
(message)CreateDataStreamRequest
(message)CreateDisplayVideo360AdvertiserLinkProposalRequest
(message)CreateDisplayVideo360AdvertiserLinkRequest
(message)CreateExpandedDataSetRequest
(message)CreateFirebaseLinkRequest
(message)CreateGoogleAdsLinkRequest
(message)CreateMeasurementProtocolSecretRequest
(message)CreatePropertyRequest
(message)CreateSearchAds360LinkRequest
(message)CreateUserLinkRequest
(message)CustomDimension
(message)CustomDimension.DimensionScope
(enum)CustomMetric
(message)CustomMetric.MeasurementUnit
(enum)CustomMetric.MetricScope
(enum)CustomMetric.RestrictedMetricType
(enum)DataRetentionSettings
(message)DataRetentionSettings.RetentionDuration
(enum)DataSharingSettings
(message)DataStream
(message)DataStream.AndroidAppStreamData
(message)DataStream.DataStreamType
(enum)DataStream.IosAppStreamData
(message)DataStream.WebStreamData
(message)DeleteAccessBindingRequest
(message)DeleteAccountRequest
(message)DeleteConnectedSiteTagRequest
(message)DeleteConversionEventRequest
(message)DeleteDataStreamRequest
(message)DeleteDisplayVideo360AdvertiserLinkProposalRequest
(message)DeleteDisplayVideo360AdvertiserLinkRequest
(message)DeleteExpandedDataSetRequest
(message)DeleteFirebaseLinkRequest
(message)DeleteGoogleAdsLinkRequest
(message)DeleteMeasurementProtocolSecretRequest
(message)DeletePropertyRequest
(message)DeleteSearchAds360LinkRequest
(message)DeleteUserLinkRequest
(message)DisplayVideo360AdvertiserLink
(message)DisplayVideo360AdvertiserLinkProposal
(message)EnhancedMeasurementSettings
(message)ExpandedDataSet
(message)ExpandedDataSetFilter
(message)ExpandedDataSetFilter.InListFilter
(message)ExpandedDataSetFilter.StringFilter
(message)ExpandedDataSetFilter.StringFilter.MatchType
(enum)ExpandedDataSetFilterExpression
(message)ExpandedDataSetFilterExpressionList
(message)FetchAutomatedGa4ConfigurationOptOutRequest
(message)FetchAutomatedGa4ConfigurationOptOutResponse
(message)FirebaseLink
(message)GetAccessBindingRequest
(message)GetAccountRequest
(message)GetAttributionSettingsRequest
(message)GetAudienceRequest
(message)GetBigQueryLinkRequest
(message)GetConversionEventRequest
(message)GetCustomDimensionRequest
(message)GetCustomMetricRequest
(message)GetDataRetentionSettingsRequest
(message)GetDataSharingSettingsRequest
(message)GetDataStreamRequest
(message)GetDisplayVideo360AdvertiserLinkProposalRequest
(message)GetDisplayVideo360AdvertiserLinkRequest
(message)GetEnhancedMeasurementSettingsRequest
(message)GetExpandedDataSetRequest
(message)GetGlobalSiteTagRequest
(message)GetGoogleSignalsSettingsRequest
(message)GetMeasurementProtocolSecretRequest
(message)GetPropertyRequest
(message)GetSearchAds360LinkRequest
(message)GetUserLinkRequest
(message)GlobalSiteTag
(message)GoogleAdsLink
(message)GoogleSignalsConsent
(enum)GoogleSignalsSettings
(message)GoogleSignalsState
(enum)IndustryCategory
(enum)LinkProposalInitiatingProduct
(enum)LinkProposalState
(enum)LinkProposalStatusDetails
(message)ListAccessBindingsRequest
(message)ListAccessBindingsResponse
(message)ListAccountSummariesRequest
(message)ListAccountSummariesResponse
(message)ListAccountsRequest
(message)ListAccountsResponse
(message)ListAudiencesRequest
(message)ListAudiencesResponse
(message)ListBigQueryLinksRequest
(message)ListBigQueryLinksResponse
(message)ListConnectedSiteTagsRequest
(message)ListConnectedSiteTagsResponse
(message)ListConversionEventsRequest
(message)ListConversionEventsResponse
(message)ListCustomDimensionsRequest
(message)ListCustomDimensionsResponse
(message)ListCustomMetricsRequest
(message)ListCustomMetricsResponse
(message)ListDataStreamsRequest
(message)ListDataStreamsResponse
(message)ListDisplayVideo360AdvertiserLinkProposalsRequest
(message)ListDisplayVideo360AdvertiserLinkProposalsResponse
(message)ListDisplayVideo360AdvertiserLinksRequest
(message)ListDisplayVideo360AdvertiserLinksResponse
(message)ListExpandedDataSetsRequest
(message)ListExpandedDataSetsResponse
(message)ListFirebaseLinksRequest
(message)ListFirebaseLinksResponse
(message)ListGoogleAdsLinksRequest
(message)ListGoogleAdsLinksResponse
(message)ListMeasurementProtocolSecretsRequest
(message)ListMeasurementProtocolSecretsResponse
(message)ListPropertiesRequest
(message)ListPropertiesResponse
(message)ListSearchAds360LinksRequest
(message)ListSearchAds360LinksResponse
(message)ListUserLinksRequest
(message)ListUserLinksResponse
(message)MeasurementProtocolSecret
(message)NumericValue
(message)Property
(message)PropertySummary
(message)PropertyType
(enum)ProvisionAccountTicketRequest
(message)ProvisionAccountTicketResponse
(message)RunAccessReportRequest
(message)RunAccessReportResponse
(message)SearchAds360Link
(message)SearchChangeHistoryEventsRequest
(message)SearchChangeHistoryEventsResponse
(message)ServiceLevel
(enum)SetAutomatedGa4ConfigurationOptOutRequest
(message)SetAutomatedGa4ConfigurationOptOutResponse
(message)UpdateAccessBindingRequest
(message)UpdateAccountRequest
(message)UpdateAttributionSettingsRequest
(message)UpdateAudienceRequest
(message)UpdateCustomDimensionRequest
(message)UpdateCustomMetricRequest
(message)UpdateDataRetentionSettingsRequest
(message)UpdateDataStreamRequest
(message)UpdateDisplayVideo360AdvertiserLinkRequest
(message)UpdateEnhancedMeasurementSettingsRequest
(message)UpdateExpandedDataSetRequest
(message)UpdateGoogleAdsLinkRequest
(message)UpdateGoogleSignalsSettingsRequest
(message)UpdateMeasurementProtocolSecretRequest
(message)UpdatePropertyRequest
(message)UpdateSearchAds360LinkRequest
(message)UpdateUserLinkRequest
(message)UserLink
(message)
AnalyticsAdminService
Service Interface for the Analytics Admin API (GA4).
AcknowledgeUserDataCollection |
---|
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.
|
ApproveDisplayVideo360AdvertiserLinkProposal |
---|
Approves a DisplayVideo360AdvertiserLinkProposal. The DisplayVideo360AdvertiserLinkProposal will be deleted and a new DisplayVideo360AdvertiserLink will be created.
|
ArchiveAudience |
---|
Archives an Audience on a property.
|
ArchiveCustomDimension |
---|
Archives a CustomDimension on a property.
|
ArchiveCustomMetric |
---|
Archives a CustomMetric on a property.
|
AuditUserLinks |
---|
Lists all user links on an account or property, including implicit ones that come from effective permissions granted by groups or organization admin roles. If a returned user link does not have direct permissions, they cannot be removed from the account or property directly with the DeleteUserLink command. They have to be removed from the group/etc that gives them permissions, which is currently only usable/discoverable in the GA or GMP UIs.
|
BatchCreateAccessBindings |
---|
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.
|
BatchCreateUserLinks |
---|
Creates information about multiple users' links to an account or property. This method is transactional. If any UserLink cannot be created, none of the UserLinks will be created.
|
BatchDeleteAccessBindings |
---|
Deletes information about multiple users' links to an account or property.
|
BatchDeleteUserLinks |
---|
Deletes information about multiple users' links to an account or property.
|
BatchGetAccessBindings |
---|
Gets information about multiple access bindings to an account or property.
|
BatchGetUserLinks |
---|
Gets information about multiple users' links to an account or property.
|
BatchUpdateAccessBindings |
---|
Updates information about multiple access bindings to an account or property.
|
BatchUpdateUserLinks |
---|
Updates information about multiple users' links to an account or property.
|
CancelDisplayVideo360AdvertiserLinkProposal |
---|
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.
|
CreateAccessBinding |
---|
Creates an access binding on an account or property.
|
CreateAudience |
---|
Creates an Audience.
|
CreateConnectedSiteTag |
---|
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.
|
CreateConversionEvent |
---|
Creates a conversion event with the specified attributes.
|
CreateCustomDimension |
---|
Creates a CustomDimension.
|
CreateCustomMetric |
---|
Creates a CustomMetric.
|
CreateDataStream |
---|
Creates a DataStream.
|
CreateDisplayVideo360AdvertiserLink |
---|
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.
|
CreateDisplayVideo360AdvertiserLinkProposal |
---|
Creates a DisplayVideo360AdvertiserLinkProposal.
|
CreateExpandedDataSet |
---|
Creates a ExpandedDataSet.
|
CreateFirebaseLink |
---|
Creates a FirebaseLink. Properties can have at most one FirebaseLink.
|
CreateGoogleAdsLink |
---|
Creates a GoogleAdsLink.
|
CreateMeasurementProtocolSecret |
---|
Creates a measurement protocol secret.
|
CreateProperty |
---|
Creates an "GA4" property with the specified location and attributes.
|
CreateSearchAds360Link |
---|
Creates a SearchAds360Link.
|
CreateUserLink |
---|
Creates a user link on an account or property. If the user with the specified email already has permissions on the account or property, then the user's existing permissions will be unioned with the permissions specified in the new UserLink.
|
DeleteAccessBinding |
---|
Deletes an access binding on an account or property.
|
DeleteAccount |
---|
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, UserLinks) will be permanently purged. https://support.google.com/analytics/answer/6154772 Returns an error if the target is not found.
|
DeleteConnectedSiteTag |
---|
Deletes a connected site tag for a Universal Analytics property. Note: this has no effect on GA4 properties.
|
DeleteConversionEvent |
---|
Deletes a conversion event in a property.
|
DeleteDataStream |
---|
Deletes a DataStream on a property.
|
DeleteDisplayVideo360AdvertiserLink |
---|
Deletes a DisplayVideo360AdvertiserLink on a property.
|
DeleteDisplayVideo360AdvertiserLinkProposal |
---|
Deletes a DisplayVideo360AdvertiserLinkProposal on a property. This can only be used on cancelled proposals.
|
DeleteExpandedDataSet |
---|
Deletes a ExpandedDataSet on a property.
|
DeleteFirebaseLink |
---|
Deletes a FirebaseLink on a property
|
DeleteGoogleAdsLink |
---|
Deletes a GoogleAdsLink on a property
|
DeleteMeasurementProtocolSecret |
---|
Deletes target MeasurementProtocolSecret.
|
DeleteProperty |
---|
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, UserLinks) 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.
|
DeleteSearchAds360Link |
---|
Deletes a SearchAds360Link on a property.
|
DeleteUserLink |
---|
Deletes a user link on an account or property.
|
FetchAutomatedGa4ConfigurationOptOut |
---|
Fetches the opt out status for the automated GA4 setup process for a UA property. Note: this has no effect on GA4 property.
|
GetAccessBinding |
---|
Gets information about an access binding.
|
GetAccount |
---|
Lookup for a single Account.
|
GetAttributionSettings |
---|
Lookup for a AttributionSettings singleton.
|
GetAudience |
---|
Lookup for a single Audience. Audiences created before 2020 may not be supported. Default audiences will not show filter definitions.
|
GetBigQueryLink |
---|
Lookup for a single BigQuery Link.
|
GetConversionEvent |
---|
Retrieve a single conversion event.
|
GetCustomDimension |
---|
Lookup for a single CustomDimension.
|
GetCustomMetric |
---|
Lookup for a single CustomMetric.
|
GetDataRetentionSettings |
---|
Returns the singleton data retention settings for this property.
|
GetDataSharingSettings |
---|
Get data sharing settings on an account. Data sharing settings are singletons.
|
GetDataStream |
---|
Lookup for a single DataStream.
|
GetDisplayVideo360AdvertiserLink |
---|
Look up a single DisplayVideo360AdvertiserLink
|
GetDisplayVideo360AdvertiserLinkProposal |
---|
Lookup for a single DisplayVideo360AdvertiserLinkProposal.
|
GetEnhancedMeasurementSettings |
---|
Returns the enhanced measurement settings for this data stream. Note that the stream must enable enhanced measurement for these settings to take effect.
|
GetExpandedDataSet |
---|
Lookup for a single ExpandedDataSet.
|
GetGlobalSiteTag |
---|
Returns the Site Tag for the specified web stream. Site Tags are immutable singletons.
|
GetGoogleSignalsSettings |
---|
Lookup for Google Signals settings for a property.
|
GetMeasurementProtocolSecret |
---|
Lookup for a single "GA4" MeasurementProtocolSecret.
|
GetProperty |
---|
Lookup for a single "GA4" Property.
|
GetSearchAds360Link |
---|
Look up a single SearchAds360Link
|
GetUserLink |
---|
Gets information about a user's link to an account or property.
|
ListAccessBindings |
---|
Lists all access bindings on an account or property.
|
ListAccountSummaries |
---|
Returns summaries of all accounts accessible by the caller.
|
ListAccounts |
---|
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.
|
ListAudiences |
---|
Lists Audiences on a property. Audiences created before 2020 may not be supported. Default audiences will not show filter definitions.
|
ListBigQueryLinks |
---|
Lists BigQuery Links on a property.
|
ListConnectedSiteTags |
---|
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.
|
ListConversionEvents |
---|
Returns a list of conversion events in the specified parent property. Returns an empty list if no conversion events are found.
|
ListCustomDimensions |
---|
Lists CustomDimensions on a property.
|
ListCustomMetrics |
---|
Lists CustomMetrics on a property.
|
ListDataStreams |
---|
Lists DataStreams on a property.
|
ListDisplayVideo360AdvertiserLinkProposals |
---|
Lists DisplayVideo360AdvertiserLinkProposals on a property.
|
ListDisplayVideo360AdvertiserLinks |
---|
Lists all DisplayVideo360AdvertiserLinks on a property.
|
ListExpandedDataSets |
---|
Lists ExpandedDataSets on a property.
|
ListFirebaseLinks |
---|
Lists FirebaseLinks on a property. Properties can have at most one FirebaseLink.
|
ListGoogleAdsLinks |
---|
Lists GoogleAdsLinks on a property.
|
ListMeasurementProtocolSecrets |
---|
Returns child MeasurementProtocolSecrets under the specified parent Property.
|
ListProperties |
---|
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.
|
ListSearchAds360Links |
---|
Lists all SearchAds360Links on a property.
|
ListUserLinks |
---|
Lists all user links on an account or property.
|
ProvisionAccountTicket |
---|
Requests a ticket for creating an account.
|
RunAccessReport |
---|
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. The property must be in Google Analytics 360. 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.
|
SearchChangeHistoryEvents |
---|
Searches through all changes to an account or its children given the specified set of filters.
|
SetAutomatedGa4ConfigurationOptOut |
---|
Sets the opt out status for the automated GA4 setup process for a UA property. Note: this has no effect on GA4 property.
|
UpdateAccessBinding |
---|
Updates an access binding on an account or property.
|
UpdateAccount |
---|
Updates an account.
|
UpdateAttributionSettings |
---|
Updates attribution settings on a property.
|
UpdateAudience |
---|
Updates an Audience on a property.
|
UpdateCustomDimension |
---|
Updates a CustomDimension on a property.
|
UpdateCustomMetric |
---|
Updates a CustomMetric on a property.
|
UpdateDataRetentionSettings |
---|
Updates the singleton data retention settings for this property.
|
UpdateDataStream |
---|
Updates a DataStream on a property.
|
UpdateDisplayVideo360AdvertiserLink |
---|
Updates a DisplayVideo360AdvertiserLink on a property.
|
UpdateEnhancedMeasurementSettings |
---|
Updates the enhanced measurement settings for this data stream. Note that the stream must enable enhanced measurement for these settings to take effect.
|
UpdateExpandedDataSet |
---|
Updates a ExpandedDataSet on a property.
|
UpdateGoogleAdsLink |
---|
Updates a GoogleAdsLink on a property
|
UpdateGoogleSignalsSettings |
---|
Updates Google Signals settings for a property.
|
UpdateMeasurementProtocolSecret |
---|
Updates a measurement protocol secret.
|
UpdateProperty |
---|
Updates a property.
|
UpdateSearchAds360Link |
---|
Updates a SearchAds360Link on a property.
|
UpdateUserLink |
---|
Updates a user link on an account or property.
|
AccessBetweenFilter
To express that the result needs to be between two numbers (inclusive).
Fields | |
---|---|
from_value |
Begins with this number. |
to_value |
Ends with this number. |
AccessBinding
A binding of a user to a set of roles.
Fields | |
---|---|
name |
Output only. Resource name of this binding. Format: accounts/{account}/accessBindings/{access_binding} or properties/{property}/accessBindings/{access_binding} Example: "accounts/100/accessBindings/200" |
roles[] |
A list of roles for to grant to the parent resource. Valid values: predefinedRoles/viewer predefinedRoles/analyst predefinedRoles/editor predefinedRoles/admin predefinedRoles/no-cost-data predefinedRoles/no-revenue-data For users, if an empty list of roles is set, this AccessBinding will be deleted. |
Union field access_target . The target for which to set roles for. access_target can be only one of the following: |
|
user |
If set, the email address of the user to set roles for. Format: "someuser@gmail.com" |
AccessDateRange
A contiguous range of days: startDate, startDate + 1, ..., endDate.
Fields | |
---|---|
start_date |
The inclusive start date for the query in the format |
end_date |
The inclusive end date for the query in the format |
AccessDimension
Dimensions are attributes of your data. For example, the dimension userEmail
indicates the email of the user that accessed reporting data. Dimension values in report responses are strings.
Fields | |
---|---|
dimension_name |
The API name of the dimension. See Data Access Schema for the list of dimensions supported in this API. Dimensions are referenced by name in |
AccessDimensionHeader
Describes a dimension column in the report. Dimensions requested in a report produce column entries within rows and DimensionHeaders. However, dimensions used exclusively within filters or expressions do not produce columns in a report; correspondingly, those dimensions do not produce headers.
Fields | |
---|---|
dimension_name |
The dimension's name; for example 'userEmail'. |
AccessDimensionValue
The value of a dimension.
Fields | |
---|---|
value |
The dimension value. For example, this value may be 'France' for the 'country' dimension. |
AccessFilter
An expression to filter dimension or metric values.
Fields | |
---|---|
field_name |
The dimension name or metric name. |
Union field one_filter . Specify one type of filter for Filter . one_filter can be only one of the following: |
|
string_filter |
Strings related filter. |
in_list_filter |
A filter for in list values. |
numeric_filter |
A filter for numeric or date values. |
between_filter |
A filter for two values. |
AccessFilterExpression
Expresses dimension or metric filters. The fields in the same expression need to be either all dimensions or all metrics.
Fields | |
---|---|
Union field one_expression . Specify one type of filter expression for FilterExpression . one_expression can be only one of the following: |
|
and_group |
Each of the FilterExpressions in the and_group has an AND relationship. |
or_group |
Each of the FilterExpressions in the or_group has an OR relationship. |
not_expression |
The FilterExpression is NOT of not_expression. |
access_filter |
A primitive filter. In the same FilterExpression, all of the filter's field names need to be either all dimensions or all metrics. |
AccessFilterExpressionList
A list of filter expressions.
Fields | |
---|---|
expressions[] |
A list of filter expressions. |
AccessInListFilter
The result needs to be in a list of string values.
Fields | |
---|---|
values[] |
The list of string values. Must be non-empty. |
case_sensitive |
If true, the string value is case sensitive. |
AccessMetric
The quantitative measurements of a report. For example, the metric accessCount
is the total number of data access records.
Fields | |
---|---|
metric_name |
The API name of the metric. See Data Access Schema for the list of metrics supported in this API. Metrics are referenced by name in |
AccessMetricHeader
Describes a metric column in the report. Visible metrics requested in a report produce column entries within rows and MetricHeaders. However, metrics used exclusively within filters or expressions do not produce columns in a report; correspondingly, those metrics do not produce headers.
Fields | |
---|---|
metric_name |
The metric's name; for example 'accessCount'. |
AccessMetricValue
The value of a metric.
Fields | |
---|---|
value |
The measurement value. For example, this value may be '13'. |
AccessNumericFilter
Filters for numeric or date values.
Fields | |
---|---|
operation |
The operation type for this filter. |
value |
A numeric value or a date value. |
Operation
The operation applied to a numeric filter.
Enums | |
---|---|
OPERATION_UNSPECIFIED |
Unspecified. |
EQUAL |
Equal |
LESS_THAN |
Less than |
LESS_THAN_OR_EQUAL |
Less than or equal |
GREATER_THAN |
Greater than |
GREATER_THAN_OR_EQUAL |
Greater than or equal |
AccessOrderBy
Order bys define how rows will be sorted in the response. For example, ordering rows by descending access count is one ordering, and ordering rows by the country string is a different ordering.
Fields | |
---|---|
desc |
If true, sorts by descending order. If false or unspecified, sorts in ascending order. |
Union field one_order_by . Specify one type of order by for OrderBy . one_order_by can be only one of the following: |
|
metric |
Sorts results by a metric's values. |
dimension |
Sorts results by a dimension's values. |
DimensionOrderBy
Sorts by dimension values.
Fields | |
---|---|
dimension_name |
A dimension name in the request to order by. |
order_type |
Controls the rule for dimension value ordering. |
OrderType
Rule to order the string dimension values by.
Enums | |
---|---|
ORDER_TYPE_UNSPECIFIED |
Unspecified. |
ALPHANUMERIC |
Alphanumeric sort by Unicode code point. For example, "2" < "A" < "X" < "b" < "z". |
CASE_INSENSITIVE_ALPHANUMERIC |
Case insensitive alphanumeric sort by lower case Unicode code point. For example, "2" < "A" < "b" < "X" < "z". |
NUMERIC |
Dimension values are converted to numbers before sorting. For example in NUMERIC sort, "25" < "100", and in ALPHANUMERIC sort, "100" < "25". Non-numeric dimension values all have equal ordering value below all numeric values. |
MetricOrderBy
Sorts by metric values.
Fields | |
---|---|
metric_name |
A metric name in the request to order by. |
AccessQuota
Current state of all quotas for this Analytics property. If any quota for a property is exhausted, all requests to that property will return Resource Exhausted errors.
Fields | |
---|---|
tokens_per_day |
Properties can use 250,000 tokens per day. Most requests consume fewer than 10 tokens. |
tokens_per_hour |
Properties can use 50,000 tokens per hour. An API request consumes a single number of tokens, and that number is deducted from all of the hourly, daily, and per project hourly quotas. |
concurrent_requests |
Properties can use up to 50 concurrent requests. |
server_errors_per_project_per_hour |
Properties and cloud project pairs can have up to 50 server errors per hour. |
tokens_per_project_per_hour |
Properties can use up to 25% of their tokens per project per hour. This amounts to Analytics 360 Properties can use 12,500 tokens per project per hour. An API request consumes a single number of tokens, and that number is deducted from all of the hourly, daily, and per project hourly quotas. |
AccessQuotaStatus
Current state for a particular quota group.
Fields | |
---|---|
consumed |
Quota consumed by this request. |
remaining |
Quota remaining after this request. |
AccessRow
Access report data for each row.
Fields | |
---|---|
dimension_values[] |
List of dimension values. These values are in the same order as specified in the request. |
metric_values[] |
List of metric values. These values are in the same order as specified in the request. |
AccessStringFilter
The filter for strings.
Fields | |
---|---|
match_type |
The match type for this filter. |
value |
The string value used for the matching. |
case_sensitive |
If true, the string value is case sensitive. |
MatchType
The match type of a string filter.
Enums | |
---|---|
MATCH_TYPE_UNSPECIFIED |
Unspecified |
EXACT |
Exact match of the string value. |
BEGINS_WITH |
Begins with the string value. |
ENDS_WITH |
Ends with the string value. |
CONTAINS |
Contains the string value. |
FULL_REGEXP |
Full match for the regular expression with the string value. |
PARTIAL_REGEXP |
Partial match for the regular expression with the string value. |
Account
A resource message representing a Google Analytics account.
Fields | |
---|---|
name |
Output only. Resource name of this account. Format: accounts/{account} Example: "accounts/100" |
create_time |
Output only. Time when this account was originally created. |
update_time |
Output only. Time when account payload fields were last updated. |
display_name |
Required. Human-readable display name for this account. |
region_code |
Country of business. Must be a Unicode CLDR region code. |
deleted |
Output only. Indicates whether this Account is soft-deleted or not. Deleted accounts are excluded from List results unless specifically requested. |
AccountSummary
A virtual resource representing an overview of an account and all its child GA4 properties.
Fields | |
---|---|
name |
Resource name for this account summary. Format: accountSummaries/{account_id} Example: "accountSummaries/1000" |
account |
Resource name of account referred to by this account summary Format: accounts/{account_id} Example: "accounts/1000" |
display_name |
Display name for the account referred to in this account summary. |
property_summaries[] |
List of summaries for child accounts of this account. |
AcknowledgeUserDataCollectionRequest
Request message for AcknowledgeUserDataCollection RPC.
Fields | |
---|---|
property |
Required. The property for which to acknowledge user data collection. |
acknowledgement |
Required. An acknowledgement that the caller of this method understands the terms of user data collection. This field must contain the exact value: "I acknowledge that I have the necessary privacy disclosures and rights from my end users for the collection and processing of their data, including the association of such data with the visitation information Google Analytics collects from my site and/or app property." |
AcknowledgeUserDataCollectionResponse
Response message for AcknowledgeUserDataCollection RPC.
ActionType
Types of actions that may change a resource.
Enums | |
---|---|
ACTION_TYPE_UNSPECIFIED |
Action type unknown or not specified. |
CREATED |
Resource was created in this change. |
UPDATED |
Resource was updated in this change. |
DELETED |
Resource was deleted in this change. |
ActorType
Different kinds of actors that can make changes to Google Analytics resources.
Enums | |
---|---|
ACTOR_TYPE_UNSPECIFIED |
Unknown or unspecified actor type. |
USER |
Changes made by the user specified in actor_email. |
SYSTEM |
Changes made by the Google Analytics system. |
SUPPORT |
Changes made by Google Analytics support team staff. |
ApproveDisplayVideo360AdvertiserLinkProposalRequest
Request message for ApproveDisplayVideo360AdvertiserLinkProposal RPC.
Fields | |
---|---|
name |
Required. The name of the DisplayVideo360AdvertiserLinkProposal to approve. Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678 |
ApproveDisplayVideo360AdvertiserLinkProposalResponse
Response message for ApproveDisplayVideo360AdvertiserLinkProposal RPC.
Fields | |
---|---|
display_video_360_advertiser_link |
The DisplayVideo360AdvertiserLink created as a result of approving the proposal. |
ArchiveAudienceRequest
Request message for ArchiveAudience RPC.
Fields | |
---|---|
name |
Required. Example format: properties/1234/audiences/5678 |
ArchiveCustomDimensionRequest
Request message for ArchiveCustomDimension RPC.
Fields | |
---|---|
name |
Required. The name of the CustomDimension to archive. Example format: properties/1234/customDimensions/5678 |
ArchiveCustomMetricRequest
Request message for ArchiveCustomMetric RPC.
Fields | |
---|---|
name |
Required. The name of the CustomMetric to archive. Example format: properties/1234/customMetrics/5678 |
AttributionSettings
The attribution settings used for a given property. This is a singleton resource.
Fields | |
---|---|
name |
Output only. Resource name of this attribution settings resource. Format: properties/{property_id}/attributionSettings Example: "properties/1000/attributionSettings" |
acquisition_conversion_event_lookback_window |
Required. The lookback window configuration for acquisition conversion events. The default window size is 30 days. |
other_conversion_event_lookback_window |
Required. The lookback window for all other, non-acquisition conversion events. The default window size is 90 days. |
reporting_attribution_model |
Required. The reporting attribution model used to calculate conversion credit in this property's reports. Changing the attribution model will apply to both historical and future data. These changes will be reflected in reports with conversion and revenue data. User and session data will be unaffected. |
AcquisitionConversionEventLookbackWindow
How far back in time events should be considered for inclusion in a converting path which leads to the first install of an app or the first visit to a site.
Enums | |
---|---|
ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED |
Lookback window size unspecified. |
ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_7_DAYS |
7-day lookback window. |
ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS |
30-day lookback window. |
OtherConversionEventLookbackWindow
How far back in time events should be considered for inclusion in a converting path for all conversions other than first app install/first site visit.
Enums | |
---|---|
OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED |
Lookback window size unspecified. |
OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS |
30-day lookback window. |
OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_60_DAYS |
60-day lookback window. |
OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_90_DAYS |
90-day lookback window. |
ReportingAttributionModel
The reporting attribution model used to calculate conversion credit in this property's reports.
Enums | |
---|---|
REPORTING_ATTRIBUTION_MODEL_UNSPECIFIED |
Reporting attribution model unspecified. |
CROSS_CHANNEL_DATA_DRIVEN |
Data-driven attribution distributes credit for the conversion based on data for each conversion event. Each Data-driven model is specific to each advertiser and each conversion event. |
CROSS_CHANNEL_LAST_CLICK |
Ignores direct traffic and attributes 100% of the conversion value to the last channel that the customer clicked through (or engaged view through for YouTube) before converting. |
CROSS_CHANNEL_FIRST_CLICK |
Gives all credit for the conversion to the first channel that a customer clicked (or engaged view through for YouTube) before converting. |
CROSS_CHANNEL_LINEAR |
Distributes the credit for the conversion equally across all the channels a customer clicked (or engaged view through for YouTube) before converting. |
CROSS_CHANNEL_POSITION_BASED |
Attributes 40% credit to the first and last interaction, and the remaining 20% credit is distributed evenly to the middle interactions. |
CROSS_CHANNEL_TIME_DECAY |
Gives more credit to the touchpoints that happened closer in time to the conversion. |
ADS_PREFERRED_LAST_CLICK |
Attributes 100% of the conversion value to the last Google Ads channel that the customer clicked through before converting. |
Audience
A resource message representing a GA4 Audience.
Fields | |
---|---|
name |
Output only. The resource name for this Audience resource. Format: properties/{propertyId}/audiences/{audienceId} |
display_name |
Required. The display name of the Audience. |
description |
Required. The description of the Audience. |
membership_duration_days |
Required. Immutable. The duration a user should stay in an Audience. It cannot be set to more than 540 days. |
ads_personalization_enabled |
Output only. It is automatically set by GA to false if this is an NPA Audience and is excluded from ads personalization. |
event_trigger |
Optional. Specifies an event to log when a user joins the Audience. If not set, no event is logged when a user joins the Audience. |
exclusion_duration_mode |
Immutable. Specifies how long an exclusion lasts for users that meet the exclusion filter. It is applied to all EXCLUDE filter clauses and is ignored when there is no EXCLUDE filter clause in the Audience. |
filter_clauses[] |
Required. Immutable. Unordered list. Filter clauses that define the Audience. All clauses will be AND’ed together. |
AudienceExclusionDurationMode
Specifies how long an exclusion lasts for users that meet the exclusion filter.
Enums | |
---|---|
AUDIENCE_EXCLUSION_DURATION_MODE_UNSPECIFIED |
Not specified. |
EXCLUDE_TEMPORARILY |
Exclude users from the Audience during periods when they meet the filter clause. |
EXCLUDE_PERMANENTLY |
Exclude users from the Audience if they've ever met the filter clause. |
AudienceDimensionOrMetricFilter
A specific filter for a single dimension or metric.
Fields | |
---|---|
field_name |
Required. Immutable. The dimension name or metric name to filter. |
at_any_point_in_time |
Optional. Indicates whether this filter needs dynamic evaluation or not. If set to true, users join the Audience if they ever met the condition (static evaluation). If unset or set to false, user evaluation for an Audience is dynamic; users are added to an Audience when they meet the conditions and then removed when they no longer meet them. This can only be set when Audience scope is ACROSS_ALL_SESSIONS. |
in_any_n_day_period |
Optional. If set, specifies the time window for which to evaluate data in number of days. If not set, then audience data is evaluated against lifetime data (i.e., infinite time window). For example, if set to 1 day, only the current day's data is evaluated. The reference point is the current day when at_any_point_in_time is unset or false. It can only be set when Audience scope is ACROSS_ALL_SESSIONS and cannot be greater than 60 days. |
Union field one_filter . One of the above filters. one_filter can be only one of the following: |
|
string_filter |
A filter for a string-type dimension that matches a particular pattern. |
in_list_filter |
A filter for a string dimension that matches a particular list of options. |
numeric_filter |
A filter for numeric or date values on a dimension or metric. |
between_filter |
A filter for numeric or date values between certain values on a dimension or metric. |
BetweenFilter
A filter for numeric or date values between certain values on a dimension or metric.
Fields | |
---|---|
from_value |
Required. Begins with this number, inclusive. |
to_value |
Required. Ends with this number, inclusive. |
InListFilter
A filter for a string dimension that matches a particular list of options.
Fields | |
---|---|
values[] |
Required. The list of possible string values to match against. Must be non-empty. |
case_sensitive |
Optional. If true, the match is case-sensitive. If false, the match is case-insensitive. |
NumericFilter
A filter for numeric or date values on a dimension or metric.
Fields | |
---|---|
operation |
Required. The operation applied to a numeric filter. |
value |
Required. The numeric or date value to match against. |
Operation
The operation applied to a numeric filter.
Enums | |
---|---|
OPERATION_UNSPECIFIED |
Unspecified. |
EQUAL |
Equal. |
LESS_THAN |
Less than. |
GREATER_THAN |
Greater than. |
NumericValue
To represent a number.
Fields | |
---|---|
Union field one_value . One of a numeric value. one_value can be only one of the following: |
|
int64_value |
Integer value. |
double_value |
Double value. |
StringFilter
A filter for a string-type dimension that matches a particular pattern.
Fields | |
---|---|
match_type |
Required. The match type for the string filter. |
value |
Required. The string value to be matched against. |
case_sensitive |
Optional. If true, the match is case-sensitive. If false, the match is case-insensitive. |
MatchType
The match type for the string filter.
Enums | |
---|---|
MATCH_TYPE_UNSPECIFIED |
Unspecified |
EXACT |
Exact match of the string value. |
BEGINS_WITH |
Begins with the string value. |
ENDS_WITH |
Ends with the string value. |
CONTAINS |
Contains the string value. |
FULL_REGEXP |
Full regular expression matches with the string value. |
AudienceEventFilter
A filter that matches events of a single event name. If an event parameter is specified, only the subset of events that match both the single event name and the parameter filter expressions match this event filter.
Fields | |
---|---|
event_name |
Required. Immutable. The name of the event to match against. |
event_parameter_filter_expression |
Optional. If specified, this filter matches events that match both the single event name and the parameter filter expressions. AudienceEventFilter inside the parameter filter expression cannot be set (i.e., nested event filters are not supported). This should be a single and_group of dimension_or_metric_filter or not_expression; ANDs of ORs are not supported. Also, if it includes a filter for "eventCount", only that one will be considered; all the other filters will be ignored. |
AudienceEventTrigger
Specifies an event to log when a user joins the Audience.
Fields | |
---|---|
event_name |
Required. The event name that will be logged. |
log_condition |
Required. When to log the event. |
LogCondition
Determines when to log the event.
Enums | |
---|---|
LOG_CONDITION_UNSPECIFIED |
Log condition is not specified. |
AUDIENCE_JOINED |
The event should be logged only when a user is joined. |
AUDIENCE_MEMBERSHIP_RENEWED |
The event should be logged whenever the Audience condition is met, even if the user is already a member of the Audience. |
AudienceFilterClause
A clause for defining either a simple or sequence filter. A filter can be inclusive (i.e., users satisfying the filter clause are included in the Audience) or exclusive (i.e., users satisfying the filter clause are excluded from the Audience).
Fields | |
---|---|
clause_type |
Required. Specifies whether this is an include or exclude filter clause. |
Union field
|
|
simple_filter |
A simple filter that a user must satisfy to be a member of the Audience. |
sequence_filter |
Filters that must occur in a specific order for the user to be a member of the Audience. |
AudienceClauseType
Specifies whether this is an include or exclude filter clause.
Enums | |
---|---|
AUDIENCE_CLAUSE_TYPE_UNSPECIFIED |
Unspecified clause type. |
INCLUDE |
Users will be included in the Audience if the filter clause is met. |
EXCLUDE |
Users will be excluded from the Audience if the filter clause is met. |
AudienceFilterExpression
A logical expression of Audience dimension, metric, or event filters.
Fields | |
---|---|
Union field expr . The expression applied to a filter. expr can be only one of the following: |
|
and_group |
A list of expressions to be AND’ed together. It can only contain AudienceFilterExpressions with or_group. This must be set for the top level AudienceFilterExpression. |
or_group |
A list of expressions to OR’ed together. It cannot contain AudienceFilterExpressions with and_group or or_group. |
not_expression |
A filter expression to be NOT'ed (i.e., inverted, complemented). It can only include a dimension_or_metric_filter. This cannot be set on the top level AudienceFilterExpression. |
dimension_or_metric_filter |
A filter on a single dimension or metric. This cannot be set on the top level AudienceFilterExpression. |
event_filter |
Creates a filter that matches a specific event. This cannot be set on the top level AudienceFilterExpression. |
AudienceFilterExpressionList
A list of Audience filter expressions.
Fields | |
---|---|
filter_expressions[] |
A list of Audience filter expressions. |
AudienceFilterScope
Specifies how to evaluate users for joining an Audience.
Enums | |
---|---|
AUDIENCE_FILTER_SCOPE_UNSPECIFIED |
Scope is not specified. |
AUDIENCE_FILTER_SCOPE_WITHIN_SAME_EVENT |
User joins the Audience if the filter condition is met within one event. |
AUDIENCE_FILTER_SCOPE_WITHIN_SAME_SESSION |
User joins the Audience if the filter condition is met within one session. |
AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS |
User joins the Audience if the filter condition is met by any event across any session. |
AudienceSequenceFilter
Defines filters that must occur in a specific order for the user to be a member of the Audience.
Fields | |
---|---|
scope |
Required. Immutable. Specifies the scope for this filter. |
sequence_maximum_duration |
Optional. Defines the time period in which the whole sequence must occur. |
sequence_steps[] |
Required. An ordered sequence of steps. A user must complete each step in order to join the sequence filter. |
AudienceSequenceStep
A condition that must occur in the specified step order for this user to match the sequence.
Fields | |
---|---|
scope |
Required. Immutable. Specifies the scope for this step. |
immediately_follows |
Optional. If true, the event satisfying this step must be the very next event after the event satisfying the last step. If unset or false, this step indirectly follows the prior step; for example, there may be events between the prior step and this step. It is ignored for the first step. |
constraint_duration |
Optional. When set, this step must be satisfied within the constraint_duration of the previous step (i.e., t[i] - t[i-1] <= constraint_duration). If not set, there is no duration requirement (the duration is effectively unlimited). It is ignored for the first step. |
filter_expression |
Required. Immutable. A logical expression of Audience dimension, metric, or event filters in each step. |
AudienceSimpleFilter
Defines a simple filter that a user must satisfy to be a member of the Audience.
Fields | |
---|---|
scope |
Required. Immutable. Specifies the scope for this filter. |
filter_expression |
Required. Immutable. A logical expression of Audience dimension, metric, or event filters. |
AuditUserLink
Read-only resource used to summarize a principal's effective roles.
Fields | |
---|---|
name |
Example format: properties/1234/userLinks/5678 |
email_address |
Email address of the linked user |
direct_roles[] |
Roles directly assigned to this user for this entity. Format: predefinedRoles/viewer Excludes roles that are inherited from an account (if this is for a property), group, or organization admin role. |
effective_roles[] |
Union of all permissions a user has at this account or property (includes direct permissions, group-inherited permissions, etc.). Format: predefinedRoles/viewer |
AuditUserLinksRequest
Request message for AuditUserLinks RPC.
Fields | |
---|---|
parent |
Required. Example format: accounts/1234 |
page_size |
The maximum number of user links to return. The service may return fewer than this value. If unspecified, at most 1000 user links will be returned. The maximum value is 5000; values above 5000 will be coerced to 5000. |
page_token |
A page token, received from a previous |
AuditUserLinksResponse
Response message for AuditUserLinks RPC.
Fields | |
---|---|
user_links[] |
List of AuditUserLinks. These will be ordered stably, but in an arbitrary order. |
next_page_token |
A token, which can be sent as |
BatchCreateAccessBindingsRequest
Request message for BatchCreateAccessBindings RPC.
Fields | |
---|---|
parent |
Required. The account or property that owns the access bindings. The parent field in the CreateAccessBindingRequest messages must either be empty or match this field. Formats: - accounts/{account} - properties/{property} |
requests[] |
Required. The requests specifying the access bindings to create. A maximum of 1000 access bindings can be created in a batch. |
BatchCreateAccessBindingsResponse
Response message for BatchCreateAccessBindings RPC.
Fields | |
---|---|
access_bindings[] |
The access bindings created. |
BatchCreateUserLinksRequest
Request message for BatchCreateUserLinks RPC.
Fields | |
---|---|
parent |
Required. The account or property that all user links in the request are for. This field is required. The parent field in the CreateUserLinkRequest messages must either be empty or match this field. Example format: accounts/1234 |
notify_new_users |
Optional. If set, then email the new users notifying them that they've been granted permissions to the resource. Regardless of whether this is set or not, notify_new_user field inside each individual request is ignored. |
requests[] |
Required. The requests specifying the user links to create. A maximum of 1000 user links can be created in a batch. |
BatchCreateUserLinksResponse
Response message for BatchCreateUserLinks RPC.
Fields | |
---|---|
user_links[] |
The user links created. |
BatchDeleteAccessBindingsRequest
Request message for BatchDeleteAccessBindings RPC.
Fields | |
---|---|
parent |
Required. The account or property that owns the access bindings. The parent of all provided values for the 'names' field in DeleteAccessBindingRequest messages must match this field. Formats: - accounts/{account} - properties/{property} |
requests[] |
Required. The requests specifying the access bindings to delete. A maximum of 1000 access bindings can be deleted in a batch. |
BatchDeleteUserLinksRequest
Request message for BatchDeleteUserLinks RPC.
Fields | |
---|---|
parent |
Required. The account or property that all user links in the request are for. The parent of all values for user link names to delete must match this field. Example format: accounts/1234 |
requests[] |
Required. The requests specifying the user links to update. A maximum of 1000 user links can be updated in a batch. |
BatchGetAccessBindingsRequest
Request message for BatchGetAccessBindings RPC.
Fields | |
---|---|
parent |
Required. The account or property that owns the access bindings. The parent of all provided values for the 'names' field must match this field. Formats: - accounts/{account} - properties/{property} |
names[] |
Required. The names of the access bindings to retrieve. A maximum of 1000 access bindings can be retrieved in a batch. Formats: - accounts/{account}/accessBindings/{accessBinding} - properties/{property}/accessBindings/{accessBinding} |
BatchGetAccessBindingsResponse
Response message for BatchGetAccessBindings RPC.
Fields | |
---|---|
access_bindings[] |
The requested access bindings. |
BatchGetUserLinksRequest
Request message for BatchGetUserLinks RPC.
Fields | |
---|---|
parent |
Required. The account or property that all user links in the request are for. The parent of all provided values for the 'names' field must match this field. Example format: accounts/1234 |
names[] |
Required. The names of the user links to retrieve. A maximum of 1000 user links can be retrieved in a batch. Format: accounts/{accountId}/userLinks/{userLinkId} |
BatchGetUserLinksResponse
Response message for BatchGetUserLinks RPC.
Fields | |
---|---|
user_links[] |
The requested user links. |
BatchUpdateAccessBindingsRequest
Request message for BatchUpdateAccessBindings RPC.
Fields | |
---|---|
parent |
Required. The account or property that owns the access bindings. The parent of all provided AccessBinding in UpdateAccessBindingRequest messages must match this field. Formats: - accounts/{account} - properties/{property} |
requests[] |
Required. The requests specifying the access bindings to update. A maximum of 1000 access bindings can be updated in a batch. |
BatchUpdateAccessBindingsResponse
Response message for BatchUpdateAccessBindings RPC.
Fields | |
---|---|
access_bindings[] |
The access bindings updated. |
BatchUpdateUserLinksRequest
Request message for BatchUpdateUserLinks RPC.
Fields | |
---|---|
parent |
Required. The account or property that all user links in the request are for. The parent field in the UpdateUserLinkRequest messages must either be empty or match this field. Example format: accounts/1234 |
requests[] |
Required. The requests specifying the user links to update. A maximum of 1000 user links can be updated in a batch. |
BatchUpdateUserLinksResponse
Response message for BatchUpdateUserLinks RPC.
Fields | |
---|---|
user_links[] |
The user links updated. |
BigQueryLink
A link between a GA4 Property and BigQuery project.
Fields | |
---|---|
name |
Output only. Resource name of this BigQuery link. Format: 'properties/{property_id}/bigQueryLinks/{bigquery_link_id}' Format: 'properties/1234/bigQueryLinks/abc567' |
project |
Immutable. The linked Google Cloud project. When creating a BigQueryLink, you may provide this resource name using either a project number or project ID. Once this resource has been created, the returned project will always have a project that contains a project number. Format: 'projects/{project number}' Example: 'projects/1234' |
create_time |
Output only. Time when the link was created. |
daily_export_enabled |
If set true, enables daily data export to the linked Google Cloud project. |
streaming_export_enabled |
If set true, enables streaming export to the linked Google Cloud project. |
intraday_export_enabled |
If set true, enables intraday export to the linked Google Cloud project. |
include_advertising_id |
If set true, exported data will include advertising identifiers for mobile app streams. |
export_streams[] |
The list of streams under the parent property for which data will be exported. Format: properties/{property_id}/dataStreams/{stream_id} Example: ['properties/1000/dataStreams/2000'] |
excluded_events[] |
The list of event names that will be excluded from exports. |
CancelDisplayVideo360AdvertiserLinkProposalRequest
Request message for CancelDisplayVideo360AdvertiserLinkProposal RPC.
Fields | |
---|---|
name |
Required. The name of the DisplayVideo360AdvertiserLinkProposal to cancel. Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678 |
ChangeHistoryChange
A description of a change to a single Google Analytics resource.
Fields | |
---|---|
resource |
Resource name of the resource whose changes are described by this entry. |
action |
The type of action that changed this resource. |
resource_before_change |
Resource contents from before the change was made. If this resource was created in this change, this field will be missing. |
resource_after_change |
Resource contents from after the change was made. If this resource was deleted in this change, this field will be missing. |
ChangeHistoryResource
A snapshot of a resource as before or after the result of a change in change history.
Fields | |
---|---|
Union field
|
|
account |
A snapshot of an Account resource in change history. |
property |
A snapshot of a Property resource in change history. |
firebase_link |
A snapshot of a FirebaseLink resource in change history. |
google_ads_link |
A snapshot of a GoogleAdsLink resource in change history. |
google_signals_settings |
A snapshot of a GoogleSignalsSettings resource in change history. |
display_video_360_advertiser_link |
A snapshot of a DisplayVideo360AdvertiserLink resource in change history. |
display_video_360_advertiser_link_proposal |
A snapshot of a DisplayVideo360AdvertiserLinkProposal resource in change history. |
conversion_event |
A snapshot of a ConversionEvent resource in change history. |
measurement_protocol_secret |
A snapshot of a MeasurementProtocolSecret resource in change history. |
custom_dimension |
A snapshot of a CustomDimension resource in change history. |
custom_metric |
A snapshot of a CustomMetric resource in change history. |
data_retention_settings |
A snapshot of a data retention settings resource in change history. |
search_ads_360_link |
A snapshot of a SearchAds360Link resource in change history. |
data_stream |
A snapshot of a DataStream resource in change history. |
attribution_settings |
A snapshot of AttributionSettings resource in change history. |
expanded_data_set |
A snapshot of an ExpandedDataSet resource in change history. |
bigquery_link |
A snapshot of a BigQuery link resource in change history. |
enhanced_measurement_settings |
A snapshot of EnhancedMeasurementSettings resource in change history. |
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.
Fields | |
---|---|
id |
ID of this change history event. This ID is unique across Google Analytics. |
change_time |
Time when change was made. |
actor_type |
The type of actor that made this change. |
user_actor_email |
Email address of the Google account that made the change. This will be a valid email address if the actor field is set to USER, and empty otherwise. Google accounts that have been deleted will cause an error. |
changes_filtered |
If true, then the list of changes returned was filtered, and does not represent all changes that occurred in this event. |
changes[] |
A list of changes made in this change history event that fit the filters specified in SearchChangeHistoryEventsRequest. |
ChangeHistoryResourceType
Types of resources whose changes may be returned from change history.
Enums | |
---|---|
CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED |
Resource type unknown or not specified. |
ACCOUNT |
Account resource |
PROPERTY |
Property resource |
FIREBASE_LINK |
FirebaseLink resource |
GOOGLE_ADS_LINK |
GoogleAdsLink resource |
GOOGLE_SIGNALS_SETTINGS |
GoogleSignalsSettings resource |
CONVERSION_EVENT |
ConversionEvent resource |
MEASUREMENT_PROTOCOL_SECRET |
MeasurementProtocolSecret resource |
CUSTOM_DIMENSION |
CustomDimension resource |
CUSTOM_METRIC |
CustomMetric resource |
DATA_RETENTION_SETTINGS |
DataRetentionSettings resource |
DISPLAY_VIDEO_360_ADVERTISER_LINK |
DisplayVideo360AdvertiserLink resource |
DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL |
DisplayVideo360AdvertiserLinkProposal resource |
SEARCH_ADS_360_LINK |
SearchAds360Link resource |
DATA_STREAM |
DataStream resource |
ATTRIBUTION_SETTINGS |
AttributionSettings resource |
EXPANDED_DATA_SET |
ExpandedDataSet resource |
CHANNEL_GROUP |
ChannelGroup resource |
ENHANCED_MEASUREMENT_SETTINGS |
EnhancedMeasurementSettings resource |
ConnectedSiteTag
Configuration for a specific Connected Site Tag.
Fields | |
---|---|
display_name |
Required. User-provided display name for the connected site tag. Must be less than 256 characters. |
tag_id |
Required. "Tag ID to forward events to. Also known as the Measurement ID, or the "G-ID" (For example: G-12345). |
ConversionEvent
A conversion event in a Google Analytics property.
Fields | |
---|---|
name |
Output only. Resource name of this conversion event. Format: properties/{property}/conversionEvents/{conversion_event} |
event_name |
Immutable. The event name for this conversion event. Examples: 'click', 'purchase' |
create_time |
Output only. Time when this conversion event was created in the property. |
deletable |
Output only. If set, this event can currently be deleted with DeleteConversionEvent. |
custom |
Output only. If set to true, this conversion event refers to a custom event. If set to false, this conversion event refers to a default event in GA. Default events typically have special meaning in GA. Default events are usually created for you by the GA system, but in some cases can be created by property admins. Custom events count towards the maximum number of custom conversion events that may be created per property. |
CreateAccessBindingRequest
Request message for CreateAccessBinding RPC.
Fields | |
---|---|
parent |
Required. Formats: - accounts/{account} - properties/{property} |
access_binding |
Required. The access binding to create. |
CreateAudienceRequest
Request message for CreateAudience RPC.
Fields | |
---|---|
parent |
Required. Example format: properties/1234 |
audience |
Required. The audience to create. |
CreateConnectedSiteTagRequest
Request message for CreateConnectedSiteTag RPC.
Fields | |
---|---|
property |
The Universal Analytics property to create connected site tags for. This API does not support GA4 properties. Format: properties/{universalAnalyticsPropertyId} Example: properties/1234 |
connected_site_tag |
Required. The tag to add to the Universal Analytics property |
CreateConnectedSiteTagResponse
Response message for CreateConnectedSiteTag RPC.
CreateConversionEventRequest
Request message for CreateConversionEvent RPC
Fields | |
---|---|
conversion_event |
Required. The conversion event to create. |
parent |
Required. The resource name of the parent property where this conversion event will be created. Format: properties/123 |
CreateCustomDimensionRequest
Request message for CreateCustomDimension RPC.
Fields | |
---|---|
parent |
Required. Example format: properties/1234 |
custom_dimension |
Required. The CustomDimension to create. |
CreateCustomMetricRequest
Request message for CreateCustomMetric RPC.
Fields | |
---|---|
parent |
Required. Example format: properties/1234 |
custom_metric |
Required. The CustomMetric to create. |
CreateDataStreamRequest
Request message for CreateDataStream RPC.
Fields | |
---|---|
parent |
Required. Example format: properties/1234 |
data_stream |
Required. The DataStream to create. |
CreateDisplayVideo360AdvertiserLinkProposalRequest
Request message for CreateDisplayVideo360AdvertiserLinkProposal RPC.
Fields | |
---|---|
parent |
Required. Example format: properties/1234 |
display_video_360_advertiser_link_proposal |
Required. The DisplayVideo360AdvertiserLinkProposal to create. |
CreateDisplayVideo360AdvertiserLinkRequest
Request message for CreateDisplayVideo360AdvertiserLink RPC.
Fields | |
---|---|
parent |
Required. Example format: properties/1234 |
display_video_360_advertiser_link |
Required. The DisplayVideo360AdvertiserLink to create. |
CreateExpandedDataSetRequest
Request message for CreateExpandedDataSet RPC.
Fields | |
---|---|
parent |
Required. Example format: properties/1234 |
expanded_data_set |
Required. The ExpandedDataSet to create. |
CreateFirebaseLinkRequest
Request message for CreateFirebaseLink RPC
Fields | |
---|---|
parent |
Required. Format: properties/{property_id} Example: properties/1234 |
firebase_link |
Required. The Firebase link to create. |
CreateGoogleAdsLinkRequest
Request message for CreateGoogleAdsLink RPC
Fields | |
---|---|
parent |
Required. Example format: properties/1234 |
google_ads_link |
Required. The GoogleAdsLink to create. |
CreateMeasurementProtocolSecretRequest
Request message for CreateMeasurementProtocolSecret RPC
Fields | |
---|---|
parent |
Required. The parent resource where this secret will be created. Format: properties/{property}/dataStreams/{dataStream} |
measurement_protocol_secret |
Required. The measurement protocol secret to create. |
CreatePropertyRequest
Request message for CreateProperty RPC.
Fields | |
---|---|
property |
Required. The property to create. Note: the supplied property must specify its parent. |
CreateSearchAds360LinkRequest
Request message for CreateSearchAds360Link RPC.
Fields | |
---|---|
parent |
Required. Example format: properties/1234 |
search_ads_360_link |
Required. The SearchAds360Link to create. |
CreateUserLinkRequest
Request message for CreateUserLink RPC.
Users can have multiple email addresses associated with their Google account, and one of these email addresses is the "primary" email address. Any of the email addresses associated with a Google account may be used for a new UserLink, but the returned UserLink will always contain the "primary" email address. As a result, the input and output email address for this request may differ.
Fields | |
---|---|
parent |
Required. Example format: accounts/1234 |
notify_new_user |
Optional. If set, then email the new user notifying them that they've been granted permissions to the resource. |
user_link |
Required. The user link to create. |
CustomDimension
A definition for a CustomDimension.
Fields | |
---|---|
name |
Output only. Resource name for this CustomDimension resource. Format: properties/{property}/customDimensions/{customDimension} |
parameter_name |
Required. Immutable. Tagging parameter name for this custom dimension. If this is a user-scoped dimension, then this is the user property name. If this is an event-scoped dimension, then this is the event parameter name. May only contain alphanumeric and underscore characters, starting with a letter. Max length of 24 characters for user-scoped dimensions, 40 characters for event-scoped dimensions. |
display_name |
Required. Display name for this custom dimension as shown in the Analytics UI. Max length of 82 characters, alphanumeric plus space and underscore starting with a letter. Legacy system-generated display names may contain square brackets, but updates to this field will never permit square brackets. |
description |
Optional. Description for this custom dimension. Max length of 150 characters. |
scope |
Required. Immutable. The scope of this dimension. |
disallow_ads_personalization |
Optional. If set to true, sets this dimension as NPA and excludes it from ads personalization. This is currently only supported by user-scoped custom dimensions. |
DimensionScope
Valid values for the scope of this dimension.
Enums | |
---|---|
DIMENSION_SCOPE_UNSPECIFIED |
Scope unknown or not specified. |
EVENT |
Dimension scoped to an event. |
USER |
Dimension scoped to a user. |
CustomMetric
A definition for a custom metric.
Fields | |
---|---|
name |
Output only. Resource name for this CustomMetric resource. Format: properties/{property}/customMetrics/{customMetric} |
parameter_name |
Required. Immutable. Tagging name for this custom metric. If this is an event-scoped metric, then this is the event parameter name. May only contain alphanumeric and underscore charactes, starting with a letter. Max length of 40 characters for event-scoped metrics. |
display_name |
Required. Display name for this custom metric as shown in the Analytics UI. Max length of 82 characters, alphanumeric plus space and underscore starting with a letter. Legacy system-generated display names may contain square brackets, but updates to this field will never permit square brackets. |
description |
Optional. Description for this custom dimension. Max length of 150 characters. |
measurement_unit |
Required. The type for the custom metric's value. |
scope |
Required. Immutable. The scope of this custom metric. |
restricted_metric_type[] |
Optional. Types of restricted data that this metric may contain. Required for metrics with CURRENCY measurement unit. Must be empty for metrics with a non-CURRENCY measurement unit. |
MeasurementUnit
Possible types of representing the custom metric's value.
Currency representation may change in the future, requiring a breaking API change.
Enums | |
---|---|
MEASUREMENT_UNIT_UNSPECIFIED |
MeasurementUnit unspecified or missing. |
STANDARD |
This metric uses default units. |
CURRENCY |
This metric measures a currency. |
FEET |
This metric measures feet. |
METERS |
This metric measures meters. |
KILOMETERS |
This metric measures kilometers. |
MILES |
This metric measures miles. |
MILLISECONDS |
This metric measures milliseconds. |
SECONDS |
This metric measures seconds. |
MINUTES |
This metric measures minutes. |
HOURS |
This metric measures hours. |
MetricScope
The scope of this metric.
Enums | |
---|---|
METRIC_SCOPE_UNSPECIFIED |
Scope unknown or not specified. |
EVENT |
Metric scoped to an event. |
RestrictedMetricType
Labels that mark the data in this custom metric as data that should be restricted to specific users.
Enums | |
---|---|
RESTRICTED_METRIC_TYPE_UNSPECIFIED |
Type unknown or unspecified. |
COST_DATA |
Metric reports cost data. |
REVENUE_DATA |
Metric reports revenue data. |
DataRetentionSettings
Settings values for data retention. This is a singleton resource.
Fields | |
---|---|
name |
Output only. Resource name for this DataRetentionSetting resource. Format: properties/{property}/dataRetentionSettings |
event_data_retention |
The length of time that event-level data is retained. |
reset_user_data_on_new_activity |
If true, reset the retention period for the user identifier with every event from that user. |
RetentionDuration
Valid values for the data retention duration.
Enums | |
---|---|
RETENTION_DURATION_UNSPECIFIED |
Data retention time duration is not specified. |
TWO_MONTHS |
The data retention time duration is 2 months. |
FOURTEEN_MONTHS |
The data retention time duration is 14 months. |
TWENTY_SIX_MONTHS |
The data retention time duration is 26 months. Available to 360 properties only. |
THIRTY_EIGHT_MONTHS |
The data retention time duration is 38 months. Available to 360 properties only. |
FIFTY_MONTHS |
The data retention time duration is 50 months. Available to 360 properties only. |
DataSharingSettings
A resource message representing data sharing settings of a Google Analytics account.
Fields | |
---|---|
name |
Output only. Resource name. Format: accounts/{account}/dataSharingSettings Example: "accounts/1000/dataSharingSettings" |
sharing_with_google_support_enabled |
Allows Google support to access the data in order to help troubleshoot issues. |
sharing_with_google_assigned_sales_enabled |
Allows Google sales teams that are assigned to the customer to access the data in order to suggest configuration changes to improve results. Sales team restrictions still apply when enabled. |
sharing_with_google_any_sales_enabled |
Allows any of Google sales to access the data in order to suggest configuration changes to improve results. |
sharing_with_google_products_enabled |
Allows Google to use the data to improve other Google products or services. |
sharing_with_others_enabled |
Allows Google to share the data anonymously in aggregate form with others. |
DataStream
A resource message representing a data stream.
Fields | |
---|---|
name |
Output only. Resource name of this Data Stream. Format: properties/{property_id}/dataStreams/{stream_id} Example: "properties/1000/dataStreams/2000" |
type |
Required. Immutable. The type of this DataStream resource. |
display_name |
Human-readable display name for the Data Stream. Required for web data streams. The max allowed display name length is 255 UTF-16 code units. |
create_time |
Output only. Time when this stream was originally created. |
update_time |
Output only. Time when stream payload fields were last updated. |
Union field stream_data . Data for specific data stream types. The message that will be set corresponds to the type of this stream. stream_data can be only one of the following: |
|
web_stream_data |
Data specific to web streams. Must be populated if type is WEB_DATA_STREAM. |
android_app_stream_data |
Data specific to Android app streams. Must be populated if type is ANDROID_APP_DATA_STREAM. |
ios_app_stream_data |
Data specific to iOS app streams. Must be populated if type is IOS_APP_DATA_STREAM. |
AndroidAppStreamData
Data specific to Android app streams.
Fields | |
---|---|
firebase_app_id |
Output only. ID of the corresponding Android app in Firebase, if any. This ID can change if the Android app is deleted and recreated. |
package_name |
Immutable. The package name for the app being measured. Example: "com.example.myandroidapp" |
DataStreamType
The type of the data stream.
Enums | |
---|---|
DATA_STREAM_TYPE_UNSPECIFIED |
Type unknown or not specified. |
WEB_DATA_STREAM |
Web data stream. |
ANDROID_APP_DATA_STREAM |
Android app data stream. |
IOS_APP_DATA_STREAM |
iOS app data stream. |
IosAppStreamData
Data specific to iOS app streams.
Fields | |
---|---|
firebase_app_id |
Output only. ID of the corresponding iOS app in Firebase, if any. This ID can change if the iOS app is deleted and recreated. |
bundle_id |
Required. Immutable. The Apple App Store Bundle ID for the app Example: "com.example.myiosapp" |
WebStreamData
Data specific to web streams.
Fields | |
---|---|
measurement_id |
Output only. Analytics "Measurement ID", without the "G-" prefix. Example: "G-1A2BCD345E" would just be "1A2BCD345E" |
firebase_app_id |
Output only. ID of the corresponding web app in Firebase, if any. This ID can change if the web app is deleted and recreated. |
default_uri |
Immutable. Domain name of the web app being measured, or empty. Example: "http://www.google.com", "https://www.google.com" |
DeleteAccessBindingRequest
Request message for DeleteAccessBinding RPC.
Fields | |
---|---|
name |
Required. Formats: - accounts/{account}/accessBindings/{accessBinding} - properties/{property}/accessBindings/{accessBinding} |
DeleteAccountRequest
Request message for DeleteAccount RPC.
Fields | |
---|---|
name |
Required. The name of the Account to soft-delete. Format: accounts/{account} Example: "accounts/100" |
DeleteConnectedSiteTagRequest
Request message for DeleteConnectedSiteTag RPC.
Fields | |
---|---|
property |
The Universal Analytics property to delete connected site tags for. This API does not support GA4 properties. Format: properties/{universalAnalyticsPropertyId} Example: properties/1234 |
tag_id |
Tag ID to forward events to. Also known as the Measurement ID, or the "G-ID" (For example: G-12345). |
DeleteConversionEventRequest
Request message for DeleteConversionEvent RPC
Fields | |
---|---|
name |
Required. The resource name of the conversion event to delete. Format: properties/{property}/conversionEvents/{conversion_event} Example: "properties/123/conversionEvents/456" |
DeleteDataStreamRequest
Request message for DeleteDataStream RPC.
Fields | |
---|---|
name |
Required. The name of the DataStream to delete. Example format: properties/1234/dataStreams/5678 |
DeleteDisplayVideo360AdvertiserLinkProposalRequest
Request message for DeleteDisplayVideo360AdvertiserLinkProposal RPC.
Fields | |
---|---|
name |
Required. The name of the DisplayVideo360AdvertiserLinkProposal to delete. Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678 |
DeleteDisplayVideo360AdvertiserLinkRequest
Request message for DeleteDisplayVideo360AdvertiserLink RPC.
Fields | |
---|---|
name |
Required. The name of the DisplayVideo360AdvertiserLink to delete. Example format: properties/1234/displayVideo360AdvertiserLinks/5678 |
DeleteExpandedDataSetRequest
Request message for DeleteExpandedDataSet RPC.
Fields | |
---|---|
name |
Required. Example format: properties/1234/expandedDataSets/5678 |
DeleteFirebaseLinkRequest
Request message for DeleteFirebaseLink RPC
Fields | |
---|---|
name |
Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id} Example: properties/1234/firebaseLinks/5678 |
DeleteGoogleAdsLinkRequest
Request message for DeleteGoogleAdsLink RPC.
Fields | |
---|---|
name |
Required. Example format: properties/1234/googleAdsLinks/5678 |
DeleteMeasurementProtocolSecretRequest
Request message for DeleteMeasurementProtocolSecret RPC
Fields | |
---|---|
name |
Required. The name of the MeasurementProtocolSecret to delete. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} |
DeletePropertyRequest
Request message for DeleteProperty RPC.
Fields | |
---|---|
name |
Required. The name of the Property to soft-delete. Format: properties/{property_id} Example: "properties/1000" |
DeleteSearchAds360LinkRequest
Request message for DeleteSearchAds360Link RPC.
Fields | |
---|---|
name |
Required. The name of the SearchAds360Link to delete. Example format: properties/1234/SearchAds360Links/5678 |
DeleteUserLinkRequest
Request message for DeleteUserLink RPC.
Fields | |
---|---|
name |
Required. Example format: accounts/1234/userLinks/5678 |
DisplayVideo360AdvertiserLink
A link between a GA4 property and a Display & Video 360 advertiser.
Fields | |
---|---|
name |
Output only. The resource name for this DisplayVideo360AdvertiserLink resource. Format: properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId} Note: linkId is not the Display & Video 360 Advertiser ID |
advertiser_id |
Immutable. The Display & Video 360 Advertiser's advertiser ID. |
advertiser_display_name |
Output only. The display name of the Display & Video 360 Advertiser. |
ads_personalization_enabled |
Enables personalized advertising features with this integration. If this field is not set on create/update, it will be defaulted to true. |
campaign_data_sharing_enabled |
Immutable. Enables the import of campaign data from Display & Video 360 into the GA4 property. After link creation, this can only be updated from the Display & Video 360 product. If this field is not set on create, it will be defaulted to true. |
cost_data_sharing_enabled |
Immutable. Enables the import of cost data from Display & Video 360 into the GA4 property. This can only be enabled if campaign_data_sharing_enabled is enabled. After link creation, this can only be updated from the Display & Video 360 product. If this field is not set on create, it will be defaulted to true. |
DisplayVideo360AdvertiserLinkProposal
A proposal for a link between a GA4 property and a Display & Video 360 advertiser.
A proposal is converted to a DisplayVideo360AdvertiserLink once approved. Google Analytics admins approve inbound proposals while Display & Video 360 admins approve outbound proposals.
Fields | |
---|---|
name |
Output only. The resource name for this DisplayVideo360AdvertiserLinkProposal resource. Format: properties/{propertyId}/displayVideo360AdvertiserLinkProposals/{proposalId} Note: proposalId is not the Display & Video 360 Advertiser ID |
advertiser_id |
Immutable. The Display & Video 360 Advertiser's advertiser ID. |
link_proposal_status_details |
Output only. The status information for this link proposal. |
advertiser_display_name |
Output only. The display name of the Display & Video Advertiser. Only populated for proposals that originated from Display & Video 360. |
validation_email |
Input only. On a proposal being sent to Display & Video 360, this field must be set to the email address of an admin on the target advertiser. This is used to verify that the Google Analytics admin is aware of at least one admin on the Display & Video 360 Advertiser. This does not restrict approval of the proposal to a single user. Any admin on the Display & Video 360 Advertiser may approve the proposal. |
ads_personalization_enabled |
Immutable. Enables personalized advertising features with this integration. If this field is not set on create, it will be defaulted to true. |
campaign_data_sharing_enabled |
Immutable. Enables the import of campaign data from Display & Video 360. If this field is not set on create, it will be defaulted to true. |
cost_data_sharing_enabled |
Immutable. Enables the import of cost data from Display & Video 360. This can only be enabled if campaign_data_sharing_enabled is enabled. If this field is not set on create, it will be defaulted to true. |
EnhancedMeasurementSettings
Singleton resource under a WebDataStream, configuring measurement of additional site interactions and content.
Fields | |
---|---|
name |
Output only. Resource name of the Enhanced Measurement Settings. Format: properties/{property_id}/dataStreams/{data_stream}/enhancedMeasurementSettings Example: "properties/1000/dataStreams/2000/enhancedMeasurementSettings" |
stream_enabled |
Indicates whether Enhanced Measurement Settings will be used to automatically measure interactions and content on this web stream. Changing this value does not affect the settings themselves, but determines whether they are respected. |
scrolls_enabled |
If enabled, capture scroll events each time a visitor gets to the bottom of a page. |
outbound_clicks_enabled |
If enabled, capture an outbound click event each time a visitor clicks a link that leads them away from your domain. |
site_search_enabled |
If enabled, capture a view search results event each time a visitor performs a search on your site (based on a query parameter). |
video_engagement_enabled |
If enabled, capture video play, progress, and complete events as visitors view embedded videos on your site. |
file_downloads_enabled |
If enabled, capture a file download event each time a link is clicked with a common document, compressed file, application, video, or audio extension. |
page_changes_enabled |
If enabled, capture a page view event each time the website changes the browser history state. |
form_interactions_enabled |
If enabled, capture a form interaction event each time a visitor interacts with a form on your website. False by default. |
search_query_parameter |
Required. URL query parameters to interpret as site search parameters. Max length is 1024 characters. Must not be empty. |
uri_query_parameter |
Additional URL query parameters. Max length is 1024 characters. |
ExpandedDataSet
A resource message representing a GA4 ExpandedDataSet.
Fields | |
---|---|
name |
Output only. The resource name for this ExpandedDataSet resource. Format: properties/{property_id}/expandedDataSets/{expanded_data_set} |
display_name |
Required. The display name of the ExpandedDataSet. Max 200 chars. |
description |
Optional. The description of the ExpandedDataSet. Max 50 chars. |
dimension_names[] |
Immutable. The list of dimensions included in the ExpandedDataSet. See the API Dimensions for the list of dimension names. |
metric_names[] |
Immutable. The list of metrics included in the ExpandedDataSet. See the API Metrics for the list of dimension names. |
dimension_filter_expression |
Immutable. A logical expression of ExpandedDataSet filters applied to dimension included in the ExpandedDataSet. This filter is used to reduce the number of rows and thus the change of encountering |
data_collection_start_time |
Output only. Time when expanded data set began (or will begin) collecing data. |
ExpandedDataSetFilter
A specific filter for a single dimension
Fields | |
---|---|
field_name |
Required. The dimension name to filter. |
Union field one_filter . One of the above filters. one_filter can be only one of the following: |
|
string_filter |
A filter for a string-type dimension that matches a particular pattern. |
in_list_filter |
A filter for a string dimension that matches a particular list of options. |
InListFilter
A filter for a string dimension that matches a particular list of options.
Fields | |
---|---|
values[] |
Required. The list of possible string values to match against. Must be non-empty. |
case_sensitive |
Optional. If true, the match is case-sensitive. If false, the match is case-insensitive. Must be true. |
StringFilter
A filter for a string-type dimension that matches a particular pattern.
Fields | |
---|---|
match_type |
Required. The match type for the string filter. |
value |
Required. The string value to be matched against. |
case_sensitive |
Optional. If true, the match is case-sensitive. If false, the match is case-insensitive. Must be true when match_type is EXACT. Must be false when match_type is CONTAINS. |
MatchType
The match type for the string filter.
Enums | |
---|---|
MATCH_TYPE_UNSPECIFIED |
Unspecified |
EXACT |
Exact match of the string value. |
CONTAINS |
Contains the string value. |
ExpandedDataSetFilterExpression
A logical expression of EnhancedDataSet dimension filters.
Fields | |
---|---|
Union field expr . The expression applied to a filter. expr can be only one of the following: |
|
and_group |
A list of expressions to be AND’ed together. It must contain a ExpandedDataSetFilterExpression with either not_expression or dimension_filter. This must be set for the top level ExpandedDataSetFilterExpression. |
not_expression |
A filter expression to be NOT'ed (i.e., inverted, complemented). It must include a dimension_filter. This cannot be set on the top level ExpandedDataSetFilterExpression. |
filter |
A filter on a single dimension. This cannot be set on the top level ExpandedDataSetFilterExpression. |
ExpandedDataSetFilterExpressionList
A list of ExpandedDataSet filter expressions.
Fields | |
---|---|
filter_expressions[] |
A list of ExpandedDataSet filter expressions. |
FetchAutomatedGa4ConfigurationOptOutRequest
Request for fetching the opt out status for the automated GA4 setup process.
Fields | |
---|---|
property |
Required. The UA property to get the opt out status. Note this request uses the internal property ID, not the tracking ID of the form UA-XXXXXX-YY. Format: properties/{internalWebPropertyId} Example: properties/1234 |
FetchAutomatedGa4ConfigurationOptOutResponse
Response message for fetching the opt out status for the automated GA4 setup process.
Fields | |
---|---|
opt_out |
The opt out status for the UA property. |
FirebaseLink
A link between a GA4 property and a Firebase project.
Fields | |
---|---|
name |
Output only. Example format: properties/1234/firebaseLinks/5678 |
project |
Immutable. Firebase project resource name. When creating a FirebaseLink, you may provide this resource name using either a project number or project ID. Once this resource has been created, returned FirebaseLinks will always have a project_name that contains a project number. Format: 'projects/{project number}' Example: 'projects/1234' |
create_time |
Output only. Time when this FirebaseLink was originally created. |
GetAccessBindingRequest
Request message for GetAccessBinding RPC.
Fields | |
---|---|
name |
Required. The name of the access binding to retrieve. Formats: - accounts/{account}/accessBindings/{accessBinding} - properties/{property}/accessBindings/{accessBinding} |
GetAccountRequest
Request message for GetAccount RPC.
Fields | |
---|---|
name |
Required. The name of the account to lookup. Format: accounts/{account} Example: "accounts/100" |
GetAttributionSettingsRequest
Request message for GetAttributionSettings RPC.
Fields | |
---|---|
name |
Required. The name of the attribution settings to retrieve. Format: properties/{property}/attributionSettings |
GetAudienceRequest
Request message for GetAudience RPC.
Fields | |
---|---|
name |
Required. The name of the Audience to get. Example format: properties/1234/audiences/5678 |
GetBigQueryLinkRequest
Request message for GetBigQueryLink RPC.
Fields | |
---|---|
name |
Required. The name of the BigQuery link to lookup. Format: properties/{property_id}/bigQueryLinks/{bigquery_link_id} Example: properties/123/bigQueryLinks/456 |
GetConversionEventRequest
Request message for GetConversionEvent RPC
Fields | |
---|---|
name |
Required. The resource name of the conversion event to retrieve. Format: properties/{property}/conversionEvents/{conversion_event} Example: "properties/123/conversionEvents/456" |
GetCustomDimensionRequest
Request message for GetCustomDimension RPC.
Fields | |
---|---|
name |
Required. The name of the CustomDimension to get. Example format: properties/1234/customDimensions/5678 |
GetCustomMetricRequest
Request message for GetCustomMetric RPC.
Fields | |
---|---|
name |
Required. The name of the CustomMetric to get. Example format: properties/1234/customMetrics/5678 |
GetDataRetentionSettingsRequest
Request message for GetDataRetentionSettings RPC.
Fields | |
---|---|
name |
Required. The name of the settings to lookup. Format: properties/{property}/dataRetentionSettings Example: "properties/1000/dataRetentionSettings" |
GetDataSharingSettingsRequest
Request message for GetDataSharingSettings RPC.
Fields | |
---|---|
name |
Required. The name of the settings to lookup. Format: accounts/{account}/dataSharingSettings Example: "accounts/1000/dataSharingSettings" |
GetDataStreamRequest
Request message for GetDataStream RPC.
Fields | |
---|---|
name |
Required. The name of the DataStream to get. Example format: properties/1234/dataStreams/5678 |
GetDisplayVideo360AdvertiserLinkProposalRequest
Request message for GetDisplayVideo360AdvertiserLinkProposal RPC.
Fields | |
---|---|
name |
Required. The name of the DisplayVideo360AdvertiserLinkProposal to get. Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678 |
GetDisplayVideo360AdvertiserLinkRequest
Request message for GetDisplayVideo360AdvertiserLink RPC.
Fields | |
---|---|
name |
Required. The name of the DisplayVideo360AdvertiserLink to get. Example format: properties/1234/displayVideo360AdvertiserLink/5678 |
GetEnhancedMeasurementSettingsRequest
Request message for GetEnhancedMeasurementSettings RPC.
Fields | |
---|---|
name |
Required. The name of the settings to lookup. Format: properties/{property}/dataStreams/{data_stream}/enhancedMeasurementSettings Example: "properties/1000/dataStreams/2000/enhancedMeasurementSettings" |
GetExpandedDataSetRequest
Request message for GetExpandedDataSet RPC.
Fields | |
---|---|
name |
Required. The name of the Audience to get. Example format: properties/1234/expandedDataSets/5678 |
GetGlobalSiteTagRequest
Request message for GetGlobalSiteTag RPC.
Fields | |
---|---|
name |
Required. The name of the site tag to lookup. Note that site tags are singletons and do not have unique IDs. Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag Example: "properties/123/dataStreams/456/globalSiteTag" |
GetGoogleSignalsSettingsRequest
Request message for GetGoogleSignalsSettings RPC
Fields | |
---|---|
name |
Required. The name of the google signals settings to retrieve. Format: properties/{property}/googleSignalsSettings |
GetMeasurementProtocolSecretRequest
Request message for GetMeasurementProtocolSecret RPC.
Fields | |
---|---|
name |
Required. The name of the measurement protocol secret to lookup. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} |
GetPropertyRequest
Request message for GetProperty RPC.
Fields | |
---|---|
name |
Required. The name of the property to lookup. Format: properties/{property_id} Example: "properties/1000" |
GetSearchAds360LinkRequest
Request message for GetSearchAds360Link RPC.
Fields | |
---|---|
name |
Required. The name of the SearchAds360Link to get. Example format: properties/1234/SearchAds360Link/5678 |
GetUserLinkRequest
Request message for GetUserLink RPC.
Fields | |
---|---|
name |
Required. Example format: accounts/1234/userLinks/5678 |
GlobalSiteTag
Read-only resource with the tag for sending data from a website to a DataStream. Only present for web DataStream resources.
Fields | |
---|---|
name |
Output only. Resource name for this GlobalSiteTag resource. Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag Example: "properties/123/dataStreams/456/globalSiteTag" |
snippet |
Immutable. JavaScript code snippet to be pasted as the first item into the head tag of every webpage to measure. |
GoogleAdsLink
A link between a GA4 property and a Google Ads account.
Fields | |
---|---|
name |
Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} Note: googleAdsLinkId is not the Google Ads customer ID. |
customer_id |
Immutable. Google Ads customer ID. |
can_manage_clients |
Output only. If true, this link is for a Google Ads manager account. |
ads_personalization_enabled |
Enable personalized advertising features with this integration. Automatically publish my Google Analytics audience lists and Google Analytics remarketing events/parameters to the linked Google Ads account. If this field is not set on create/update, it will be defaulted to true. |
create_time |
Output only. Time when this link was originally created. |
update_time |
Output only. Time when this link was last updated. |
creator_email_address |
Output only. Email address of the user that created the link. An empty string will be returned if the email address can't be retrieved. |
GoogleSignalsConsent
Consent field of the Google Signals settings.
Enums | |
---|---|
GOOGLE_SIGNALS_CONSENT_UNSPECIFIED |
Google Signals consent value defaults to GOOGLE_SIGNALS_CONSENT_UNSPECIFIED. This will be treated as GOOGLE_SIGNALS_CONSENT_NOT_CONSENTED. |
GOOGLE_SIGNALS_CONSENT_CONSENTED |
Terms of service have been accepted |
GOOGLE_SIGNALS_CONSENT_NOT_CONSENTED |
Terms of service have not been accepted |
GoogleSignalsSettings
Settings values for Google Signals. This is a singleton resource.
Fields | |
---|---|
name |
Output only. Resource name of this setting. Format: properties/{property_id}/googleSignalsSettings Example: "properties/1000/googleSignalsSettings" |
state |
Status of this setting. |
consent |
Output only. Terms of Service acceptance. |
GoogleSignalsState
Status of the Google Signals settings.
Enums | |
---|---|
GOOGLE_SIGNALS_STATE_UNSPECIFIED |
Google Signals status defaults to GOOGLE_SIGNALS_STATE_UNSPECIFIED to represent that the user has not made an explicit choice. |
GOOGLE_SIGNALS_ENABLED |
Google Signals is enabled. |
GOOGLE_SIGNALS_DISABLED |
Google Signals is disabled. |
IndustryCategory
The category selected for this property, used for industry benchmarking.
Enums | |
---|---|
INDUSTRY_CATEGORY_UNSPECIFIED |
Industry category unspecified |
AUTOMOTIVE |
Automotive |
BUSINESS_AND_INDUSTRIAL_MARKETS |
Business and industrial markets |
FINANCE |
Finance |
HEALTHCARE |
Healthcare |
TECHNOLOGY |
Technology |
TRAVEL |
Travel |
OTHER |
Other |
ARTS_AND_ENTERTAINMENT |
Arts and entertainment |
BEAUTY_AND_FITNESS |
Beauty and fitness |
BOOKS_AND_LITERATURE |
Books and literature |
FOOD_AND_DRINK |
Food and drink |
GAMES |
Games |
HOBBIES_AND_LEISURE |
Hobbies and leisure |
HOME_AND_GARDEN |
Home and garden |
INTERNET_AND_TELECOM |
Internet and telecom |
LAW_AND_GOVERNMENT |
Law and government |
NEWS |
News |
ONLINE_COMMUNITIES |
Online communities |
PEOPLE_AND_SOCIETY |
People and society |
PETS_AND_ANIMALS |
Pets and animals |
REAL_ESTATE |
Real estate |
REFERENCE |
Reference |
SCIENCE |
Science |
SPORTS |
Sports |
JOBS_AND_EDUCATION |
Jobs and education |
SHOPPING |
Shopping |
LinkProposalInitiatingProduct
An indication of which product the user initiated a link proposal from.
Enums | |
---|---|
LINK_PROPOSAL_INITIATING_PRODUCT_UNSPECIFIED |
Unspecified product. |
GOOGLE_ANALYTICS |
This proposal was created by a user from Google Analytics. |
LINKED_PRODUCT |
This proposal was created by a user from a linked product (not Google Analytics). |
LinkProposalState
The state of a link proposal resource.
Enums | |
---|---|
LINK_PROPOSAL_STATE_UNSPECIFIED |
Unspecified state |
AWAITING_REVIEW_FROM_GOOGLE_ANALYTICS |
This proposal is awaiting review from a Google Analytics user. This proposal will automatically expire after some time. |
AWAITING_REVIEW_FROM_LINKED_PRODUCT |
This proposal is awaiting review from a user of a linked product. This proposal will automatically expire after some time. |
WITHDRAWN |
This proposal has been withdrawn by an admin on the initiating product. This proposal will be automatically deleted after some time. |
DECLINED |
This proposal has been declined by an admin on the receiving product. This proposal will be automatically deleted after some time. |
EXPIRED |
This proposal expired due to lack of response from an admin on the receiving product. This proposal will be automatically deleted after some time. |
OBSOLETE |
This proposal has become obsolete because a link was directly created to the same external product resource that this proposal specifies. This proposal will be automatically deleted after some time. |
LinkProposalStatusDetails
Status information for a link proposal.
Fields | |
---|---|
link_proposal_initiating_product |
Output only. The source of this proposal. |
requestor_email |
Output only. The email address of the user that proposed this linkage. |
link_proposal_state |
Output only. The state of this proposal. |
ListAccessBindingsRequest
Request message for ListAccessBindings RPC.
Fields | |
---|---|
parent |
Required. Formats: - accounts/{account} - properties/{property} |
page_size |
The maximum number of access bindings to return. The service may return fewer than this value. If unspecified, at most 200 access bindings will be returned. The maximum value is 500; values above 500 will be coerced to 500. |
page_token |
A page token, received from a previous |
ListAccessBindingsResponse
Response message for ListAccessBindings RPC.
Fields | |
---|---|
access_bindings[] |
List of AccessBindings. These will be ordered stably, but in an arbitrary order. |
next_page_token |
A token, which can be sent as |
ListAccountSummariesRequest
Request message for ListAccountSummaries RPC.
Fields | |
---|---|
page_size |
The maximum number of AccountSummary resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum) |
page_token |
A page token, received from a previous |
ListAccountSummariesResponse
Response message for ListAccountSummaries RPC.
Fields | |
---|---|
account_summaries[] |
Account summaries of all accounts the caller has access to. |
next_page_token |
A token, which can be sent as |
ListAccountsRequest
Request message for ListAccounts RPC.
Fields | |
---|---|
page_size |
The maximum number of resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum) |
page_token |
A page token, received from a previous |
show_deleted |
Whether to include soft-deleted (ie: "trashed") Accounts in the results. Accounts can be inspected to determine whether they are deleted or not. |
ListAccountsResponse
Request message for ListAccounts RPC.
Fields | |
---|---|
accounts[] |
Results that were accessible to the caller. |
next_page_token |
A token, which can be sent as |
ListAudiencesRequest
Request message for ListAudiences RPC.
Fields | |
---|---|
parent |
Required. Example format: properties/1234 |
page_size |
The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200 (higher values will be coerced to the maximum). |
page_token |
A page token, received from a previous When paginating, all other parameters provided to |
ListAudiencesResponse
Response message for ListAudiences RPC.
Fields | |
---|---|
audiences[] |
List of Audiences. |
next_page_token |
A token, which can be sent as |
ListBigQueryLinksRequest
Request message for ListBigQueryLinks RPC.
Fields | |
---|---|
parent |
Required. The name of the property to list BigQuery links under. Format: properties/{property_id} Example: properties/1234 |
page_size |
The maximum number of resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum) |
page_token |
A page token, received from a previous |
ListBigQueryLinksResponse
Response message for ListBigQueryLinks RPC
Fields | |
---|---|
bigquery_links[] |
List of BigQueryLinks. |
next_page_token |
A token, which can be sent as |
ListConnectedSiteTagsRequest
Request message for ListConnectedSiteTags RPC.
Fields | |
---|---|
property |
The Universal Analytics property to fetch connected site tags for. This does not work on GA4 properties. A maximum of 20 connected site tags will be returned. Example Format: |
ListConnectedSiteTagsResponse
Response message for ListConnectedSiteTags RPC.
Fields | |
---|---|
connected_site_tags[] |
The site tags for the Universal Analytics property. A maximum of 20 connected site tags will be returned. |
ListConversionEventsRequest
Request message for ListConversionEvents RPC
Fields | |
---|---|
parent |
Required. The resource name of the parent property. Example: 'properties/123' |
page_size |
The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum) |
page_token |
A page token, received from a previous |
ListConversionEventsResponse
Response message for ListConversionEvents RPC.
Fields | |
---|---|
conversion_events[] |
The requested conversion events |
next_page_token |
A token, which can be sent as |
ListCustomDimensionsRequest
Request message for ListCustomDimensions RPC.
Fields | |
---|---|
parent |
Required. Example format: properties/1234 |
page_size |
The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200 (higher values will be coerced to the maximum). |
page_token |
A page token, received from a previous When paginating, all other parameters provided to |
ListCustomDimensionsResponse
Response message for ListCustomDimensions RPC.
Fields | |
---|---|
custom_dimensions[] |
List of CustomDimensions. |
next_page_token |
A token, which can be sent as |
ListCustomMetricsRequest
Request message for ListCustomMetrics RPC.
Fields | |
---|---|
parent |
Required. Example format: properties/1234 |
page_size |
The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200 (higher values will be coerced to the maximum). |
page_token |
A page token, received from a previous When paginating, all other parameters provided to |
ListCustomMetricsResponse
Response message for ListCustomMetrics RPC.
Fields | |
---|---|
custom_metrics[] |
List of CustomMetrics. |
next_page_token |
A token, which can be sent as |
ListDataStreamsRequest
Request message for ListDataStreams RPC.
Fields | |
---|---|
parent |
Required. Example format: properties/1234 |
page_size |
The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200 (higher values will be coerced to the maximum). |
page_token |
A page token, received from a previous When paginating, all other parameters provided to |
ListDataStreamsResponse
Response message for ListDataStreams RPC.
Fields | |
---|---|
data_streams[] |
List of DataStreams. |
next_page_token |
A token, which can be sent as |
ListDisplayVideo360AdvertiserLinkProposalsRequest
Request message for ListDisplayVideo360AdvertiserLinkProposals RPC.
Fields | |
---|---|
parent |
Required. Example format: properties/1234 |
page_size |
The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200 (higher values will be coerced to the maximum). |
page_token |
A page token, received from a previous When paginating, all other parameters provided to |
ListDisplayVideo360AdvertiserLinkProposalsResponse
Response message for ListDisplayVideo360AdvertiserLinkProposals RPC.
Fields | |
---|---|
display_video_360_advertiser_link_proposals[] |
List of DisplayVideo360AdvertiserLinkProposals. |
next_page_token |
A token, which can be sent as |
ListDisplayVideo360AdvertiserLinksRequest
Request message for ListDisplayVideo360AdvertiserLinks RPC.
Fields | |
---|---|
parent |
Required. Example format: properties/1234 |
page_size |
The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200 (higher values will be coerced to the maximum). |
page_token |
A page token, received from a previous When paginating, all other parameters provided to |
ListDisplayVideo360AdvertiserLinksResponse
Response message for ListDisplayVideo360AdvertiserLinks RPC.
Fields | |
---|---|
display_video_360_advertiser_links[] |
List of DisplayVideo360AdvertiserLinks. |
next_page_token |
A token, which can be sent as |
ListExpandedDataSetsRequest
Request message for ListExpandedDataSets RPC.
Fields | |
---|---|
parent |
Required. Example format: properties/1234 |
page_size |
The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200 (higher values will be coerced to the maximum). |
page_token |
A page token, received from a previous When paginating, all other parameters provided to |
ListExpandedDataSetsResponse
Response message for ListExpandedDataSets RPC.
Fields | |
---|---|
expanded_data_sets[] |
List of ExpandedDataSet. These will be ordered stably, but in an arbitrary order. |
next_page_token |
A token, which can be sent as |
ListFirebaseLinksRequest
Request message for ListFirebaseLinks RPC
Fields | |
---|---|
parent |
Required. Format: properties/{property_id} Example: properties/1234 |
page_size |
The maximum number of resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum) |
page_token |
A page token, received from a previous |
ListFirebaseLinksResponse
Response message for ListFirebaseLinks RPC
Fields | |
---|---|
firebase_links[] |
List of FirebaseLinks. This will have at most one value. |
next_page_token |
A token, which can be sent as |
ListGoogleAdsLinksRequest
Request message for ListGoogleAdsLinks RPC.
Fields | |
---|---|
parent |
Required. Example format: properties/1234 |
page_size |
The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200 (higher values will be coerced to the maximum). |
page_token |
A page token, received from a previous When paginating, all other parameters provided to |
ListGoogleAdsLinksResponse
Response message for ListGoogleAdsLinks RPC.
Fields | |
---|---|
google_ads_links[] |
List of GoogleAdsLinks. |
next_page_token |
A token, which can be sent as |
ListMeasurementProtocolSecretsRequest
Request message for ListMeasurementProtocolSecret RPC
Fields | |
---|---|
parent |
Required. The resource name of the parent stream. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets |
page_size |
The maximum number of resources to return. If unspecified, at most 10 resources will be returned. The maximum value is 10. Higher values will be coerced to the maximum. |
page_token |
A page token, received from a previous |
ListMeasurementProtocolSecretsResponse
Response message for ListMeasurementProtocolSecret RPC
Fields | |
---|---|
measurement_protocol_secrets[] |
A list of secrets for the parent stream specified in the request. |
next_page_token |
A token, which can be sent as |
ListPropertiesRequest
Request message for ListProperties RPC.
Fields | |
---|---|
filter |
Required. An expression for filtering the results of the request. Fields eligible for filtering are:
|
page_size |
The maximum number of resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum) |
page_token |
A page token, received from a previous |
show_deleted |
Whether to include soft-deleted (ie: "trashed") Properties in the results. Properties can be inspected to determine whether they are deleted or not. |
ListPropertiesResponse
Response message for ListProperties RPC.
Fields | |
---|---|
properties[] |
Results that matched the filter criteria and were accessible to the caller. |
next_page_token |
A token, which can be sent as |
ListSearchAds360LinksRequest
Request message for ListSearchAds360Links RPC.
Fields | |
---|---|
parent |
Required. Example format: properties/1234 |
page_size |
The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200 (higher values will be coerced to the maximum). |
page_token |
A page token, received from a previous When paginating, all other parameters provided to |
ListSearchAds360LinksResponse
Response message for ListSearchAds360Links RPC.
Fields | |
---|---|
search_ads_360_links[] |
List of SearchAds360Links. |
next_page_token |
A token, which can be sent as |
ListUserLinksRequest
Request message for ListUserLinks RPC.
Fields | |
---|---|
parent |
Required. Example format: accounts/1234 |
page_size |
The maximum number of user links to return. The service may return fewer than this value. If unspecified, at most 200 user links will be returned. The maximum value is 500; values above 500 will be coerced to 500. |
page_token |
A page token, received from a previous |
ListUserLinksResponse
Response message for ListUserLinks RPC.
Fields | |
---|---|
user_links[] |
List of UserLinks. These will be ordered stably, but in an arbitrary order. |
next_page_token |
A token, which can be sent as |
MeasurementProtocolSecret
A secret value used for sending hits to Measurement Protocol.
Fields | |
---|---|
name |
Output only. Resource name of this secret. This secret may be a child of any type of stream. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} |
display_name |
Required. Human-readable display name for this secret. |
secret_value |
Output only. The measurement protocol secret value. Pass this value to the api_secret field of the Measurement Protocol API when sending hits to this secret's parent property. |
NumericValue
To represent a number.
Fields | |
---|---|
Union field one_value . One of a numeric value one_value can be only one of the following: |
|
int64_value |
Integer value |
double_value |
Double value |
Property
A resource message representing a Google Analytics GA4 property.
Fields | |
---|---|
name |
Output only. Resource name of this property. Format: properties/{property_id} Example: "properties/1000" |
property_type |
Immutable. The property type for this Property resource. When creating a property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then "ORDINARY_PROPERTY" will be implied. "SUBPROPERTY" and "ROLLUP_PROPERTY" types cannot yet be created with the Google Analytics Admin API. |
create_time |
Output only. Time when the entity was originally created. |
update_time |
Output only. Time when entity payload fields were last updated. |
parent |
Immutable. Resource name of this property's logical parent. Note: The Property-Moving UI can be used to change the parent. Format: accounts/{account}, properties/{property} Example: "accounts/100", "properties/101" |
display_name |
Required. Human-readable display name for this property. The max allowed display name length is 100 UTF-16 code units. |
industry_category |
Industry associated with this property Example: AUTOMOTIVE, FOOD_AND_DRINK |
time_zone |
Required. Reporting Time Zone, used as the day boundary for reports, regardless of where the data originates. If the time zone honors DST, Analytics will automatically adjust for the changes. NOTE: Changing the time zone only affects data going forward, and is not applied retroactively. Format: https://www.iana.org/time-zones Example: "America/Los_Angeles" |
currency_code |
The currency type used in reports involving monetary values. Format: https://en.wikipedia.org/wiki/ISO_4217 Examples: "USD", "EUR", "JPY" |
service_level |
Output only. The Google Analytics service level that applies to this property. |
delete_time |
Output only. If set, the time at which this property was trashed. If not set, then this property is not currently in the trash can. |
expire_time |
Output only. If set, the time at which this trashed property will be permanently deleted. If not set, then this property is not currently in the trash can and is not slated to be deleted. |
account |
Immutable. The resource name of the parent account Format: accounts/{account_id} Example: "accounts/123" |
PropertySummary
A virtual resource representing metadata for a GA4 property.
Fields | |
---|---|
property |
Resource name of property referred to by this property summary Format: properties/{property_id} Example: "properties/1000" |
display_name |
Display name for the property referred to in this property summary. |
property_type |
The property's property type. |
parent |
Resource name of this property's logical parent. Note: The Property-Moving UI can be used to change the parent. Format: accounts/{account}, properties/{property} Example: "accounts/100", "properties/200" |
PropertyType
Types of Property resources.
Enums | |
---|---|
PROPERTY_TYPE_UNSPECIFIED |
Unknown or unspecified property type |
PROPERTY_TYPE_ORDINARY |
Ordinary GA4 property |
PROPERTY_TYPE_SUBPROPERTY |
GA4 subproperty |
PROPERTY_TYPE_ROLLUP |
GA4 rollup property |
ProvisionAccountTicketRequest
Request message for ProvisionAccountTicket RPC.
Fields | |
---|---|
account |
The account to create. |
redirect_uri |
Redirect URI where the user will be sent after accepting Terms of Service. Must be configured in Cloud Console as a Redirect URI. |
ProvisionAccountTicketResponse
Response message for ProvisionAccountTicket RPC.
Fields | |
---|---|
account_ticket_id |
The param to be passed in the ToS link. |
RunAccessReportRequest
The request for a Data Access Record Report.
Fields | |
---|---|
entity |
The Data Access Report supports requesting at the property level or account level. If requested at the account level, Data Access Reports include all access for all properties under that account. To request at the property level, entity should be for example 'properties/123' if "123" is your GA4 property ID. To request at the account level, entity should be for example 'accounts/1234' if "1234" is your GA4 Account ID. |
dimensions[] |
The dimensions requested and displayed in the response. Requests are allowed up to 9 dimensions. |
metrics[] |
The metrics requested and displayed in the response. Requests are allowed up to 10 metrics. |
date_ranges[] |
Date ranges of access records to read. If multiple date ranges are requested, each response row will contain a zero based date range index. If two date ranges overlap, the access records for the overlapping days is included in the response rows for both date ranges. Requests are allowed up to 2 date ranges. |
dimension_filter |
Dimension filters let you restrict report response to specific dimension values which match the filter. For example, filtering on access records of a single user. To learn more, see Fundamentals of Dimension Filters for examples. Metrics cannot be used in this filter. |
metric_filter |
Metric filters allow you to restrict report response to specific metric values which match the filter. Metric filters are applied after aggregating the report's rows, similar to SQL having-clause. Dimensions cannot be used in this filter. |
offset |
The row count of the start row. The first row is counted as row 0. If offset is unspecified, it is treated as 0. If offset is zero, then this method will return the first page of results with To learn more about this pagination parameter, see Pagination. |
limit |
The number of rows to return. If unspecified, 10,000 rows are returned. The API returns a maximum of 100,000 rows per request, no matter how many you ask for. The API may return fewer rows than the requested To learn more about this pagination parameter, see Pagination. |
time_zone |
This request's time zone if specified. If unspecified, the property's time zone is used. The request's time zone is used to interpret the start & end dates of the report. Formatted as strings from the IANA Time Zone database (https://www.iana.org/time-zones); for example "America/New_York" or "Asia/Tokyo". |
order_bys[] |
Specifies how rows are ordered in the response. |
return_entity_quota |
Toggles whether to return the current state of this Analytics Property's quota. Quota is returned in AccessQuota. For account-level requests, this field must be false. |
RunAccessReportResponse
The customized Data Access Record Report response.
Fields | |
---|---|
dimension_headers[] |
The header for a column in the report that corresponds to a specific dimension. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows. |
metric_headers[] |
The header for a column in the report that corresponds to a specific metric. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows. |
rows[] |
Rows of dimension value combinations and metric values in the report. |
row_count |
The total number of rows in the query result. To learn more about this pagination parameter, see Pagination. |
quota |
The quota state for this Analytics property including this request. This field doesn't work with account-level requests. |
SearchAds360Link
A link between a GA4 property and a Search Ads 360 entity.
Fields | |
---|---|
name |
Output only. The resource name for this SearchAds360Link resource. Format: properties/{propertyId}/searchAds360Links/{linkId} Note: linkId is not the Search Ads 360 advertiser ID |
advertiser_id |
Immutable. This field represents the Advertiser ID of the Search Ads 360 Advertiser. that has been linked. |
campaign_data_sharing_enabled |
Immutable. Enables the import of campaign data from Search Ads 360 into the GA4 property. After link creation, this can only be updated from the Search Ads 360 product. If this field is not set on create, it will be defaulted to true. |
cost_data_sharing_enabled |
Immutable. Enables the import of cost data from Search Ads 360 to the GA4 property. This can only be enabled if campaign_data_sharing_enabled is enabled. After link creation, this can only be updated from the Search Ads 360 product. If this field is not set on create, it will be defaulted to true. |
advertiser_display_name |
Output only. The display name of the Search Ads 360 Advertiser. Allows users to easily identify the linked resource. |
ads_personalization_enabled |
Enables personalized advertising features with this integration. If this field is not set on create, it will be defaulted to true. |
site_stats_sharing_enabled |
Enables export of site stats with this integration. If this field is not set on create, it will be defaulted to true. |
SearchChangeHistoryEventsRequest
Request message for SearchChangeHistoryEvents RPC.
Fields | |
---|---|
account |
Required. The account resource for which to return change history resources. |
property |
Optional. Resource name for a child property. If set, only return changes made to this property or its child resources. |
resource_type[] |
Optional. If set, only return changes if they are for a resource that matches at least one of these types. |
action[] |
Optional. If set, only return changes that match one or more of these types of actions. |
actor_email[] |
Optional. If set, only return changes if they are made by a user in this list. |
earliest_change_time |
Optional. If set, only return changes made after this time (inclusive). |
latest_change_time |
Optional. If set, only return changes made before this time (inclusive). |
page_size |
Optional. The maximum number of ChangeHistoryEvent items to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 items will be returned. The maximum value is 200 (higher values will be coerced to the maximum). |
page_token |
Optional. A page token, received from a previous |
SearchChangeHistoryEventsResponse
Response message for SearchAccounts RPC.
Fields | |
---|---|
change_history_events[] |
Results that were accessible to the caller. |
next_page_token |
A token, which can be sent as |
ServiceLevel
Various levels of service for Google Analytics.
Enums | |
---|---|
SERVICE_LEVEL_UNSPECIFIED |
Service level not specified or invalid. |
GOOGLE_ANALYTICS_STANDARD |
The standard version of Google Analytics. |
GOOGLE_ANALYTICS_360 |
The paid, premium version of Google Analytics. |
SetAutomatedGa4ConfigurationOptOutRequest
Request for setting the opt out status for the automated GA4 setup process.
Fields | |
---|---|
property |
Required. The UA property to set the opt out status. Note this request uses the internal property ID, not the tracking ID of the form UA-XXXXXX-YY. Format: properties/{internalWebPropertyId} Example: properties/1234 |
opt_out |
The status to set. |
SetAutomatedGa4ConfigurationOptOutResponse
Response message for setting the opt out status for the automated GA4 setup process.
UpdateAccessBindingRequest
Request message for UpdateAccessBinding RPC.
Fields | |
---|---|
access_binding |
Required. The access binding to update. |
UpdateAccountRequest
Request message for UpdateAccount RPC.
Fields | |
---|---|
account |
Required. The account to update. The account's |
update_mask |
Required. The list of fields to be updated. Field names must be in snake case (for example, "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
UpdateAttributionSettingsRequest
Request message for UpdateAttributionSettings RPC
Fields | |
---|---|
attribution_settings |
Required. The attribution settings to update. The |
update_mask |
Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
UpdateAudienceRequest
Request message for UpdateAudience RPC.
Fields | |
---|---|
audience |
Required. The audience to update. The audience's |
update_mask |
Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
UpdateCustomDimensionRequest
Request message for UpdateCustomDimension RPC.
Fields | |
---|---|
custom_dimension |
The CustomDimension to update |
update_mask |
Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
UpdateCustomMetricRequest
Request message for UpdateCustomMetric RPC.
Fields | |
---|---|
custom_metric |
The CustomMetric to update |
update_mask |
Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
UpdateDataRetentionSettingsRequest
Request message for UpdateDataRetentionSettings RPC.
Fields | |
---|---|
data_retention_settings |
Required. The settings to update. The |
update_mask |
Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
UpdateDataStreamRequest
Request message for UpdateDataStream RPC.
Fields | |
---|---|
data_stream |
The DataStream to update |
update_mask |
Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
UpdateDisplayVideo360AdvertiserLinkRequest
Request message for UpdateDisplayVideo360AdvertiserLink RPC.
Fields | |
---|---|
display_video_360_advertiser_link |
The DisplayVideo360AdvertiserLink to update |
update_mask |
Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
UpdateEnhancedMeasurementSettingsRequest
Request message for UpdateEnhancedMeasurementSettings RPC.
Fields | |
---|---|
enhanced_measurement_settings |
Required. The settings to update. The |
update_mask |
Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
UpdateExpandedDataSetRequest
Request message for UpdateExpandedDataSet RPC.
Fields | |
---|---|
expanded_data_set |
Required. The ExpandedDataSet to update. The resource's |
update_mask |
Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
UpdateGoogleAdsLinkRequest
Request message for UpdateGoogleAdsLink RPC
Fields | |
---|---|
google_ads_link |
The GoogleAdsLink to update |
update_mask |
Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
UpdateGoogleSignalsSettingsRequest
Request message for UpdateGoogleSignalsSettings RPC
Fields | |
---|---|
google_signals_settings |
Required. The settings to update. The |
update_mask |
Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
UpdateMeasurementProtocolSecretRequest
Request message for UpdateMeasurementProtocolSecret RPC
Fields | |
---|---|
measurement_protocol_secret |
Required. The measurement protocol secret to update. |
update_mask |
The list of fields to be updated. Omitted fields will not be updated. |
UpdatePropertyRequest
Request message for UpdateProperty RPC.
Fields | |
---|---|
property |
Required. The property to update. The property's |
update_mask |
Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
UpdateSearchAds360LinkRequest
Request message for UpdateSearchAds360Link RPC.
Fields | |
---|---|
search_ads_360_link |
The SearchAds360Link to update |
update_mask |
Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
UpdateUserLinkRequest
Request message for UpdateUserLink RPC.
Fields | |
---|---|
user_link |
Required. The user link to update. |
UserLink
A resource message representing a user's permissions on an Account or Property resource.
Fields | |
---|---|
name |
Output only. Example format: properties/1234/userLinks/5678 |
email_address |
Immutable. Email address of the user to link |
direct_roles[] |
Roles directly assigned to this user for this account or property. Valid values: predefinedRoles/viewer predefinedRoles/analyst predefinedRoles/editor predefinedRoles/admin predefinedRoles/no-cost-data predefinedRoles/no-revenue-data Excludes roles that are inherited from a higher-level entity, group, or organization admin role. A UserLink that is updated to have an empty list of direct_roles will be deleted. |