AnalyticsAdminService¶
- class google.analytics.admin_v1alpha.services.analytics_admin_service.AnalyticsAdminServiceAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.analytics.admin_v1alpha.services.analytics_admin_service.transports.base.AnalyticsAdminServiceTransport, typing.Callable[[...], google.analytics.admin_v1alpha.services.analytics_admin_service.transports.base.AnalyticsAdminServiceTransport]]] = 'grpc_asyncio', client_options: typing.Optional[google.api_core.client_options.ClientOptions] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo = <google.api_core.gapic_v1.client_info.ClientInfo object>)[source]¶
Service Interface for the Analytics Admin API (GA4).
Instantiates the analytics admin service async client.
- Parameters
credentials (Optional[google.auth.credentials.Credentials]) – The authorization credentials to attach to requests. These credentials identify the application to the service; if none are specified, the client will attempt to ascertain the credentials from the environment.
transport (Optional[Union[str,AnalyticsAdminServiceTransport,Callable[..., AnalyticsAdminServiceTransport]]]) – The transport to use, or a Callable that constructs and returns a new transport to use. If a Callable is given, it will be called with the same set of initialization arguments as used in the AnalyticsAdminServiceTransport constructor. If set to None, a transport is chosen automatically.
client_options (Optional[Union[google.api_core.client_options.ClientOptions, dict]]) –
Custom options for the client.
1. The
api_endpoint
property can be used to override the default endpoint provided by the client whentransport
is not explicitly provided. Only if this property is not set andtransport
was not explicitly provided, the endpoint is determined by the GOOGLE_API_USE_MTLS_ENDPOINT environment variable, which have one of the following values: “always” (always use the default mTLS endpoint), “never” (always use the default regular endpoint) and “auto” (auto-switch to the default mTLS endpoint if client certificate is present; this is the default value).2. If the GOOGLE_API_USE_CLIENT_CERTIFICATE environment variable is “true”, then the
client_cert_source
property can be used to provide a client certificate for mTLS transport. If not provided, the default SSL client certificate will be used if present. If GOOGLE_API_USE_CLIENT_CERTIFICATE is “false” or not set, no client certificate will be used.3. The
universe_domain
property can be used to override the default “googleapis.com” universe. Note thatapi_endpoint
property still takes precedence; anduniverse_domain
is currently not supported for mTLS.client_info (google.api_core.gapic_v1.client_info.ClientInfo) – The client info used to send a user-agent string along with API requests. If
None
, then default info will be used. Generally, you only need to set this if you’re developing your own client library.
- Raises
google.auth.exceptions.MutualTlsChannelError – If mutual TLS transport creation failed for any reason.
- static access_binding_path(account: str, access_binding: str) str ¶
Returns a fully-qualified access_binding string.
- static account_summary_path(account_summary: str) str ¶
Returns a fully-qualified account_summary string.
- async acknowledge_user_data_collection(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.AcknowledgeUserDataCollectionRequest, dict]] = None, *, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.analytics_admin.AcknowledgeUserDataCollectionResponse [source]¶
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.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.AcknowledgeUserDataCollectionRequest, dict]]) – The request object. Request message for AcknowledgeUserDataCollection RPC.
retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for AcknowledgeUserDataCollection RPC.
- Return type
google.analytics.admin_v1alpha.types.AcknowledgeUserDataCollectionResponse
- static ad_sense_link_path(property: str, adsense_link: str) str ¶
Returns a fully-qualified ad_sense_link string.
- property api_endpoint¶
Return the API endpoint used by the client instance.
- Returns
The API endpoint used by the client instance.
- Return type
- async approve_display_video360_advertiser_link_proposal(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ApproveDisplayVideo360AdvertiserLinkProposalRequest, dict]] = None, *, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.analytics_admin.ApproveDisplayVideo360AdvertiserLinkProposalResponse [source]¶
Approves a DisplayVideo360AdvertiserLinkProposal. The DisplayVideo360AdvertiserLinkProposal will be deleted and a new DisplayVideo360AdvertiserLink will be created.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.ApproveDisplayVideo360AdvertiserLinkProposalRequest, dict]]) – The request object. Request message for ApproveDisplayVideo360AdvertiserLinkProposal RPC.
retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ApproveDisplayVideo360AdvertiserLinkProposal RPC.
- Return type
google.analytics.admin_v1alpha.types.ApproveDisplayVideo360AdvertiserLinkProposalResponse
- async archive_audience(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ArchiveAudienceRequest, dict]] = None, *, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) None [source]¶
Archives an Audience on a property.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.ArchiveAudienceRequest, dict]]) – The request object. Request message for ArchiveAudience RPC.
retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- async archive_custom_dimension(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ArchiveCustomDimensionRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) None [source]¶
Archives a CustomDimension on a property.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.ArchiveCustomDimensionRequest, dict]]) – The request object. Request message for ArchiveCustomDimension RPC.
name (
str
) –Required. The name of the CustomDimension to archive. Example format: properties/1234/customDimensions/5678
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- async archive_custom_metric(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ArchiveCustomMetricRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) None [source]¶
Archives a CustomMetric on a property.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.ArchiveCustomMetricRequest, dict]]) – The request object. Request message for ArchiveCustomMetric RPC.
name (
str
) –Required. The name of the CustomMetric to archive. Example format: properties/1234/customMetrics/5678
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- static attribution_settings_path(property: str) str ¶
Returns a fully-qualified attribution_settings string.
- async batch_create_access_bindings(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.BatchCreateAccessBindingsRequest, dict]] = None, *, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.analytics_admin.BatchCreateAccessBindingsResponse [source]¶
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.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.BatchCreateAccessBindingsRequest, dict]]) – The request object. Request message for BatchCreateAccessBindings RPC.
retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for BatchCreateAccessBindings RPC.
- Return type
google.analytics.admin_v1alpha.types.BatchCreateAccessBindingsResponse
- async batch_delete_access_bindings(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.BatchDeleteAccessBindingsRequest, dict]] = None, *, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) None [source]¶
Deletes information about multiple users’ links to an account or property.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.BatchDeleteAccessBindingsRequest, dict]]) – The request object. Request message for BatchDeleteAccessBindings RPC.
retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- async batch_get_access_bindings(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.BatchGetAccessBindingsRequest, dict]] = None, *, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.analytics_admin.BatchGetAccessBindingsResponse [source]¶
Gets information about multiple access bindings to an account or property.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.BatchGetAccessBindingsRequest, dict]]) – The request object. Request message for BatchGetAccessBindings RPC.
retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for BatchGetAccessBindings RPC.
- Return type
google.analytics.admin_v1alpha.types.BatchGetAccessBindingsResponse
- async batch_update_access_bindings(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.BatchUpdateAccessBindingsRequest, dict]] = None, *, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.analytics_admin.BatchUpdateAccessBindingsResponse [source]¶
Updates information about multiple access bindings to an account or property.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.BatchUpdateAccessBindingsRequest, dict]]) – The request object. Request message for BatchUpdateAccessBindings RPC.
retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for BatchUpdateAccessBindings RPC.
- Return type
google.analytics.admin_v1alpha.types.BatchUpdateAccessBindingsResponse
- static big_query_link_path(property: str, bigquery_link: str) str ¶
Returns a fully-qualified big_query_link string.
- static calculated_metric_path(property: str, calculated_metric: str) str ¶
Returns a fully-qualified calculated_metric string.
- async cancel_display_video360_advertiser_link_proposal(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.CancelDisplayVideo360AdvertiserLinkProposalRequest, dict]] = None, *, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.DisplayVideo360AdvertiserLinkProposal [source]¶
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.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.CancelDisplayVideo360AdvertiserLinkProposalRequest, dict]]) – The request object. Request message for CancelDisplayVideo360AdvertiserLinkProposal RPC.
retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
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.
- Return type
google.analytics.admin_v1alpha.types.DisplayVideo360AdvertiserLinkProposal
- static channel_group_path(property: str, channel_group: str) str ¶
Returns a fully-qualified channel_group string.
- static common_billing_account_path(billing_account: str) str ¶
Returns a fully-qualified billing_account string.
- static common_location_path(project: str, location: str) str ¶
Returns a fully-qualified location string.
- static common_organization_path(organization: str) str ¶
Returns a fully-qualified organization string.
- static conversion_event_path(property: str, conversion_event: str) str ¶
Returns a fully-qualified conversion_event string.
- async create_access_binding(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.CreateAccessBindingRequest, dict]] = None, *, parent: Optional[str] = None, access_binding: Optional[google.analytics.admin_v1alpha.types.resources.AccessBinding] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.AccessBinding [source]¶
Creates an access binding on an account or property.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.CreateAccessBindingRequest, dict]]) – The request object. Request message for CreateAccessBinding RPC.
parent (
str
) –Required. Formats:
accounts/{account}
properties/{property}
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.access_binding (
google.analytics.admin_v1alpha.types.AccessBinding
) –Required. The access binding to create.
This corresponds to the
access_binding
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A binding of a user to a set of roles.
- Return type
- async create_ad_sense_link(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.CreateAdSenseLinkRequest, dict]] = None, *, parent: Optional[str] = None, adsense_link: Optional[google.analytics.admin_v1alpha.types.resources.AdSenseLink] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.AdSenseLink [source]¶
Creates an AdSenseLink.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.CreateAdSenseLinkRequest, dict]]) – The request object. Request message to be passed to CreateAdSenseLink method.
parent (
str
) –Required. The property for which to create an AdSense Link. Format: properties/{propertyId} Example: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.adsense_link (
google.analytics.admin_v1alpha.types.AdSenseLink
) – Required. The AdSense Link to create This corresponds to theadsense_link
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A link between a GA4 Property and an AdSense for Content ad client.
- Return type
- async create_audience(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.CreateAudienceRequest, dict]] = None, *, parent: Optional[str] = None, audience: Optional[google.analytics.admin_v1alpha.types.audience.Audience] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.audience.Audience [source]¶
Creates an Audience.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.CreateAudienceRequest, dict]]) – The request object. Request message for CreateAudience RPC.
parent (
str
) –Required. Example format: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.audience (
google.analytics.admin_v1alpha.types.Audience
) – Required. The audience to create. This corresponds to theaudience
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A resource message representing a GA4 Audience.
- Return type
- async create_big_query_link(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.CreateBigQueryLinkRequest, dict]] = None, *, parent: Optional[str] = None, bigquery_link: Optional[google.analytics.admin_v1alpha.types.resources.BigQueryLink] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.BigQueryLink [source]¶
Creates a BigQueryLink.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.CreateBigQueryLinkRequest, dict]]) – The request object. Request message for CreateBigQueryLink RPC.
parent (
str
) –Required. Example format: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.bigquery_link (
google.analytics.admin_v1alpha.types.BigQueryLink
) – Required. The BigQueryLink to create. This corresponds to thebigquery_link
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A link between a GA4 Property and BigQuery project.
- Return type
- async create_calculated_metric(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.CreateCalculatedMetricRequest, dict]] = None, *, parent: Optional[str] = None, calculated_metric: Optional[google.analytics.admin_v1alpha.types.resources.CalculatedMetric] = None, calculated_metric_id: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.CalculatedMetric [source]¶
Creates a CalculatedMetric.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.CreateCalculatedMetricRequest, dict]]) – The request object. Request message for CreateCalculatedMetric RPC.
parent (
str
) –Required. Format: properties/{property_id} Example: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.calculated_metric (
google.analytics.admin_v1alpha.types.CalculatedMetric
) –Required. The CalculatedMetric to create.
This corresponds to the
calculated_metric
field on therequest
instance; ifrequest
is provided, this should not be set.calculated_metric_id (
str
) –Required. The ID to use for the calculated metric which will become the final component of the calculated metric’s resource name.
This value should be 1-80 characters and valid characters are [a-zA-Z0-9_], no spaces allowed. calculated_metric_id must be unique between all calculated metrics under a property. The calculated_metric_id is used when referencing this calculated metric from external APIs, for example, “calcMetric:{calculated_metric_id}”.
This corresponds to the
calculated_metric_id
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A definition for a calculated metric.
- Return type
- async create_channel_group(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.CreateChannelGroupRequest, dict]] = None, *, parent: Optional[str] = None, channel_group: Optional[google.analytics.admin_v1alpha.types.channel_group.ChannelGroup] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.channel_group.ChannelGroup [source]¶
Creates a ChannelGroup.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.CreateChannelGroupRequest, dict]]) – The request object. Request message for CreateChannelGroup RPC.
parent (
str
) –Required. The property for which to create a ChannelGroup. Example format: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.channel_group (
google.analytics.admin_v1alpha.types.ChannelGroup
) – Required. The ChannelGroup to create. This corresponds to thechannel_group
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A resource message representing a Channel Group.
- Return type
- async create_connected_site_tag(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.CreateConnectedSiteTagRequest, dict]] = None, *, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.analytics_admin.CreateConnectedSiteTagResponse [source]¶
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.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.CreateConnectedSiteTagRequest, dict]]) – The request object. Request message for CreateConnectedSiteTag RPC.
retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for CreateConnectedSiteTag RPC.
- Return type
google.analytics.admin_v1alpha.types.CreateConnectedSiteTagResponse
- async create_conversion_event(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.CreateConversionEventRequest, dict]] = None, *, parent: Optional[str] = None, conversion_event: Optional[google.analytics.admin_v1alpha.types.resources.ConversionEvent] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.ConversionEvent [source]¶
Deprecated: Use
CreateKeyEvent
instead. Creates a conversion event with the specified attributes.- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.CreateConversionEventRequest, dict]]) – The request object. Request message for CreateConversionEvent RPC
parent (
str
) –Required. The resource name of the parent property where this conversion event will be created. Format: properties/123
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.conversion_event (
google.analytics.admin_v1alpha.types.ConversionEvent
) –Required. The conversion event to create.
This corresponds to the
conversion_event
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A conversion event in a Google Analytics property.
- Return type
- async create_custom_dimension(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.CreateCustomDimensionRequest, dict]] = None, *, parent: Optional[str] = None, custom_dimension: Optional[google.analytics.admin_v1alpha.types.resources.CustomDimension] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.CustomDimension [source]¶
Creates a CustomDimension.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.CreateCustomDimensionRequest, dict]]) – The request object. Request message for CreateCustomDimension RPC.
parent (
str
) –Required. Example format: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.custom_dimension (
google.analytics.admin_v1alpha.types.CustomDimension
) –Required. The CustomDimension to create.
This corresponds to the
custom_dimension
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A definition for a CustomDimension.
- Return type
- async create_custom_metric(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.CreateCustomMetricRequest, dict]] = None, *, parent: Optional[str] = None, custom_metric: Optional[google.analytics.admin_v1alpha.types.resources.CustomMetric] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.CustomMetric [source]¶
Creates a CustomMetric.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.CreateCustomMetricRequest, dict]]) – The request object. Request message for CreateCustomMetric RPC.
parent (
str
) –Required. Example format: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.custom_metric (
google.analytics.admin_v1alpha.types.CustomMetric
) – Required. The CustomMetric to create. This corresponds to thecustom_metric
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A definition for a custom metric.
- Return type
- async create_data_stream(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.CreateDataStreamRequest, dict]] = None, *, parent: Optional[str] = None, data_stream: Optional[google.analytics.admin_v1alpha.types.resources.DataStream] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.DataStream [source]¶
Creates a DataStream.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.CreateDataStreamRequest, dict]]) – The request object. Request message for CreateDataStream RPC.
parent (
str
) –Required. Example format: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.data_stream (
google.analytics.admin_v1alpha.types.DataStream
) – Required. The DataStream to create. This corresponds to thedata_stream
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A resource message representing a data stream.
- Return type
- async create_display_video360_advertiser_link(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.CreateDisplayVideo360AdvertiserLinkRequest, dict]] = None, *, parent: Optional[str] = None, display_video_360_advertiser_link: Optional[google.analytics.admin_v1alpha.types.resources.DisplayVideo360AdvertiserLink] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.DisplayVideo360AdvertiserLink [source]¶
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.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.CreateDisplayVideo360AdvertiserLinkRequest, dict]]) – The request object. Request message for CreateDisplayVideo360AdvertiserLink RPC.
parent (
str
) –Required. Example format: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.display_video_360_advertiser_link (
google.analytics.admin_v1alpha.types.DisplayVideo360AdvertiserLink
) –Required. The DisplayVideo360AdvertiserLink to create.
This corresponds to the
display_video_360_advertiser_link
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A link between a GA4 property and a Display & Video 360 advertiser.
- Return type
google.analytics.admin_v1alpha.types.DisplayVideo360AdvertiserLink
- async create_display_video360_advertiser_link_proposal(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.CreateDisplayVideo360AdvertiserLinkProposalRequest, dict]] = None, *, parent: Optional[str] = None, display_video_360_advertiser_link_proposal: Optional[google.analytics.admin_v1alpha.types.resources.DisplayVideo360AdvertiserLinkProposal] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.DisplayVideo360AdvertiserLinkProposal [source]¶
Creates a DisplayVideo360AdvertiserLinkProposal.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.CreateDisplayVideo360AdvertiserLinkProposalRequest, dict]]) – The request object. Request message for CreateDisplayVideo360AdvertiserLinkProposal RPC.
parent (
str
) –Required. Example format: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.display_video_360_advertiser_link_proposal (
google.analytics.admin_v1alpha.types.DisplayVideo360AdvertiserLinkProposal
) –Required. The DisplayVideo360AdvertiserLinkProposal to create.
This corresponds to the
display_video_360_advertiser_link_proposal
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
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.
- Return type
google.analytics.admin_v1alpha.types.DisplayVideo360AdvertiserLinkProposal
- async create_event_create_rule(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.CreateEventCreateRuleRequest, dict]] = None, *, parent: Optional[str] = None, event_create_rule: Optional[google.analytics.admin_v1alpha.types.event_create_and_edit.EventCreateRule] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.event_create_and_edit.EventCreateRule [source]¶
Creates an EventCreateRule.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.CreateEventCreateRuleRequest, dict]]) – The request object. Request message for CreateEventCreateRule RPC.
parent (
str
) –Required. Example format: properties/123/dataStreams/456
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.event_create_rule (
google.analytics.admin_v1alpha.types.EventCreateRule
) –Required. The EventCreateRule to create.
This corresponds to the
event_create_rule
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
An Event Create Rule defines conditions that will trigger the creation of an entirely new event based upon matched criteria of a source event. Additional mutations of the parameters from the source event can be defined.
Unlike Event Edit rules, Event Creation Rules have no defined order. They will all be run independently.
Event Edit and Event Create rules can’t be used to modify an event created from an Event Create rule.
- Return type
- async create_event_edit_rule(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.CreateEventEditRuleRequest, dict]] = None, *, parent: Optional[str] = None, event_edit_rule: Optional[google.analytics.admin_v1alpha.types.event_create_and_edit.EventEditRule] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.event_create_and_edit.EventEditRule [source]¶
Creates an EventEditRule.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.CreateEventEditRuleRequest, dict]]) – The request object. Request message for CreateEventEditRule RPC.
parent (
str
) –Required. Example format: properties/123/dataStreams/456
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.event_edit_rule (
google.analytics.admin_v1alpha.types.EventEditRule
) –Required. The EventEditRule to create.
This corresponds to the
event_edit_rule
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
An Event Edit Rule defines conditions that will trigger the creation of an entirely new event based upon matched criteria of a source event. Additional mutations of the parameters from the source event can be defined.
Unlike Event Create rules, Event Edit Rules are applied in their defined order.
Event Edit rules can’t be used to modify an event created from an Event Create rule.
- Return type
- async create_expanded_data_set(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.CreateExpandedDataSetRequest, dict]] = None, *, parent: Optional[str] = None, expanded_data_set: Optional[google.analytics.admin_v1alpha.types.expanded_data_set.ExpandedDataSet] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.expanded_data_set.ExpandedDataSet [source]¶
Creates a ExpandedDataSet.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.CreateExpandedDataSetRequest, dict]]) – The request object. Request message for CreateExpandedDataSet RPC.
parent (
str
) –Required. Example format: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.expanded_data_set (
google.analytics.admin_v1alpha.types.ExpandedDataSet
) –Required. The ExpandedDataSet to create.
This corresponds to the
expanded_data_set
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A resource message representing a GA4 ExpandedDataSet.
- Return type
- async create_firebase_link(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.CreateFirebaseLinkRequest, dict]] = None, *, parent: Optional[str] = None, firebase_link: Optional[google.analytics.admin_v1alpha.types.resources.FirebaseLink] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.FirebaseLink [source]¶
Creates a FirebaseLink.
Properties can have at most one FirebaseLink.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.CreateFirebaseLinkRequest, dict]]) – The request object. Request message for CreateFirebaseLink RPC
parent (
str
) –Required. Format: properties/{property_id}
Example:
properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.firebase_link (
google.analytics.admin_v1alpha.types.FirebaseLink
) –Required. The Firebase link to create.
This corresponds to the
firebase_link
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A link between a GA4 property and a Firebase project.
- Return type
- async create_google_ads_link(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.CreateGoogleAdsLinkRequest, dict]] = None, *, parent: Optional[str] = None, google_ads_link: Optional[google.analytics.admin_v1alpha.types.resources.GoogleAdsLink] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.GoogleAdsLink [source]¶
Creates a GoogleAdsLink.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.CreateGoogleAdsLinkRequest, dict]]) – The request object. Request message for CreateGoogleAdsLink RPC
parent (
str
) –Required. Example format: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.google_ads_link (
google.analytics.admin_v1alpha.types.GoogleAdsLink
) –Required. The GoogleAdsLink to create.
This corresponds to the
google_ads_link
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A link between a GA4 property and a Google Ads account.
- Return type
- async create_key_event(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.CreateKeyEventRequest, dict]] = None, *, parent: Optional[str] = None, key_event: Optional[google.analytics.admin_v1alpha.types.resources.KeyEvent] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.KeyEvent [source]¶
Creates a Key Event.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.CreateKeyEventRequest, dict]]) – The request object. Request message for CreateKeyEvent RPC
parent (
str
) –Required. The resource name of the parent property where this Key Event will be created. Format: properties/123
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.key_event (
google.analytics.admin_v1alpha.types.KeyEvent
) – Required. The Key Event to create. This corresponds to thekey_event
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A key event in a Google Analytics property.
- Return type
- async create_measurement_protocol_secret(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.CreateMeasurementProtocolSecretRequest, dict]] = None, *, parent: Optional[str] = None, measurement_protocol_secret: Optional[google.analytics.admin_v1alpha.types.resources.MeasurementProtocolSecret] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.MeasurementProtocolSecret [source]¶
Creates a measurement protocol secret.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.CreateMeasurementProtocolSecretRequest, dict]]) – The request object. Request message for CreateMeasurementProtocolSecret RPC
parent (
str
) –Required. The parent resource where this secret will be created. Format: properties/{property}/dataStreams/{dataStream}
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.measurement_protocol_secret (
google.analytics.admin_v1alpha.types.MeasurementProtocolSecret
) –Required. The measurement protocol secret to create.
This corresponds to the
measurement_protocol_secret
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A secret value used for sending hits to Measurement Protocol.
- Return type
google.analytics.admin_v1alpha.types.MeasurementProtocolSecret
- async create_property(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.CreatePropertyRequest, dict]] = None, *, property: Optional[google.analytics.admin_v1alpha.types.resources.Property] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.Property [source]¶
Creates an “GA4” property with the specified location and attributes.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.CreatePropertyRequest, dict]]) – The request object. Request message for CreateProperty RPC.
property (
google.analytics.admin_v1alpha.types.Property
) –Required. The property to create. Note: the supplied property must specify its parent.
This corresponds to the
property
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A resource message representing a Google Analytics GA4 property.
- Return type
- async create_rollup_property(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.CreateRollupPropertyRequest, dict]] = None, *, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.analytics_admin.CreateRollupPropertyResponse [source]¶
Create a roll-up property and all roll-up property source links.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.CreateRollupPropertyRequest, dict]]) – The request object. Request message for CreateRollupProperty RPC.
retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for CreateRollupProperty RPC.
- Return type
google.analytics.admin_v1alpha.types.CreateRollupPropertyResponse
- async create_rollup_property_source_link(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.CreateRollupPropertySourceLinkRequest, dict]] = None, *, parent: Optional[str] = None, rollup_property_source_link: Optional[google.analytics.admin_v1alpha.types.resources.RollupPropertySourceLink] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.RollupPropertySourceLink [source]¶
Creates a roll-up property source link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.CreateRollupPropertySourceLinkRequest, dict]]) – The request object. Request message for CreateRollupPropertySourceLink RPC.
parent (
str
) –Required. Format: properties/{property_id} Example: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.rollup_property_source_link (
google.analytics.admin_v1alpha.types.RollupPropertySourceLink
) –Required. The roll-up property source link to create.
This corresponds to the
rollup_property_source_link
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A link that references a source property under the parent rollup property.
- Return type
google.analytics.admin_v1alpha.types.RollupPropertySourceLink
- async create_search_ads360_link(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.CreateSearchAds360LinkRequest, dict]] = None, *, parent: Optional[str] = None, search_ads_360_link: Optional[google.analytics.admin_v1alpha.types.resources.SearchAds360Link] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.SearchAds360Link [source]¶
Creates a SearchAds360Link.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.CreateSearchAds360LinkRequest, dict]]) – The request object. Request message for CreateSearchAds360Link RPC.
parent (
str
) –Required. Example format: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.search_ads_360_link (
google.analytics.admin_v1alpha.types.SearchAds360Link
) –Required. The SearchAds360Link to create.
This corresponds to the
search_ads_360_link
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A link between a GA4 property and a Search Ads 360 entity.
- Return type
- async create_sk_ad_network_conversion_value_schema(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.CreateSKAdNetworkConversionValueSchemaRequest, dict]] = None, *, parent: Optional[str] = None, skadnetwork_conversion_value_schema: Optional[google.analytics.admin_v1alpha.types.resources.SKAdNetworkConversionValueSchema] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.SKAdNetworkConversionValueSchema [source]¶
Creates a SKAdNetworkConversionValueSchema.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.CreateSKAdNetworkConversionValueSchemaRequest, dict]]) – The request object. Request message for CreateSKAdNetworkConversionValueSchema RPC.
parent (
str
) –Required. The parent resource where this schema will be created. Format: properties/{property}/dataStreams/{dataStream}
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.skadnetwork_conversion_value_schema (
google.analytics.admin_v1alpha.types.SKAdNetworkConversionValueSchema
) –Required. SKAdNetwork conversion value schema to create.
This corresponds to the
skadnetwork_conversion_value_schema
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
SKAdNetwork conversion value schema of an iOS stream.
- Return type
google.analytics.admin_v1alpha.types.SKAdNetworkConversionValueSchema
- async create_subproperty_event_filter(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.CreateSubpropertyEventFilterRequest, dict]] = None, *, parent: Optional[str] = None, subproperty_event_filter: Optional[google.analytics.admin_v1alpha.types.subproperty_event_filter.SubpropertyEventFilter] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.subproperty_event_filter.SubpropertyEventFilter [source]¶
Creates a subproperty Event Filter.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.CreateSubpropertyEventFilterRequest, dict]]) – The request object. Request message for CreateSubpropertyEventFilter RPC.
parent (
str
) –Required. The ordinary property for which to create a subproperty event filter. Format: properties/property_id Example: properties/123
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.subproperty_event_filter (
google.analytics.admin_v1alpha.types.SubpropertyEventFilter
) –Required. The subproperty event filter to create.
This corresponds to the
subproperty_event_filter
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A resource message representing a GA4 Subproperty event filter.
- Return type
- static custom_dimension_path(property: str, custom_dimension: str) str ¶
Returns a fully-qualified custom_dimension string.
- static custom_metric_path(property: str, custom_metric: str) str ¶
Returns a fully-qualified custom_metric string.
- static data_redaction_settings_path(property: str, data_stream: str) str ¶
Returns a fully-qualified data_redaction_settings string.
- static data_retention_settings_path(property: str) str ¶
Returns a fully-qualified data_retention_settings string.
- static data_sharing_settings_path(account: str) str ¶
Returns a fully-qualified data_sharing_settings string.
- static data_stream_path(property: str, data_stream: str) str ¶
Returns a fully-qualified data_stream string.
- async delete_access_binding(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.DeleteAccessBindingRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) None [source]¶
Deletes an access binding on an account or property.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.DeleteAccessBindingRequest, dict]]) – The request object. Request message for DeleteAccessBinding RPC.
name (
str
) –Required. Formats:
accounts/{account}/accessBindings/{accessBinding}
properties/{property}/accessBindings/{accessBinding}
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- async delete_account(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.DeleteAccountRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) None [source]¶
Marks target Account as soft-deleted (ie: “trashed”) and returns it. This API does not have a method to restore soft-deleted accounts. However, they can be restored using the Trash Can UI.
If the accounts are not restored before the expiration time, the account and all child resources (eg: Properties, GoogleAdsLinks, Streams, AccessBindings) will be permanently purged. https://support.google.com/analytics/answer/6154772
Returns an error if the target is not found.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.DeleteAccountRequest, dict]]) – The request object. Request message for DeleteAccount RPC.
name (
str
) –Required. The name of the Account to soft-delete. Format: accounts/{account} Example: “accounts/100”
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- async delete_ad_sense_link(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.DeleteAdSenseLinkRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) None [source]¶
Deletes an AdSenseLink.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.DeleteAdSenseLinkRequest, dict]]) – The request object. Request message to be passed to DeleteAdSenseLink method.
name (
str
) –Required. Unique identifier for the AdSense Link to be deleted. Format: properties/{propertyId}/adSenseLinks/{linkId} Example: properties/1234/adSenseLinks/5678
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- async delete_big_query_link(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.DeleteBigQueryLinkRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) None [source]¶
Deletes a BigQueryLink on a property.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.DeleteBigQueryLinkRequest, dict]]) – The request object. Request message for DeleteBigQueryLink RPC.
name (
str
) –Required. The BigQueryLink to delete. Example format: properties/1234/bigQueryLinks/5678
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- async delete_calculated_metric(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.DeleteCalculatedMetricRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) None [source]¶
Deletes a CalculatedMetric on a property.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.DeleteCalculatedMetricRequest, dict]]) – The request object. Request message for DeleteCalculatedMetric RPC.
name (
str
) –Required. The name of the CalculatedMetric to delete. Format: properties/{property_id}/calculatedMetrics/{calculated_metric_id} Example: properties/1234/calculatedMetrics/Metric01
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- async delete_channel_group(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.DeleteChannelGroupRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) None [source]¶
Deletes a ChannelGroup on a property.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.DeleteChannelGroupRequest, dict]]) – The request object. Request message for DeleteChannelGroup RPC.
name (
str
) –Required. The ChannelGroup to delete. Example format: properties/1234/channelGroups/5678
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- async delete_connected_site_tag(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.DeleteConnectedSiteTagRequest, dict]] = None, *, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) None [source]¶
Deletes a connected site tag for a Universal Analytics property. Note: this has no effect on GA4 properties.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.DeleteConnectedSiteTagRequest, dict]]) – The request object. Request message for DeleteConnectedSiteTag RPC.
retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- async delete_conversion_event(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.DeleteConversionEventRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) None [source]¶
Deprecated: Use
DeleteKeyEvent
instead. Deletes a conversion event in a property.- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.DeleteConversionEventRequest, dict]]) – The request object. Request message for DeleteConversionEvent RPC
name (
str
) –Required. The resource name of the conversion event to delete. Format: properties/{property}/conversionEvents/{conversion_event} Example: “properties/123/conversionEvents/456”
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- async delete_data_stream(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.DeleteDataStreamRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) None [source]¶
Deletes a DataStream on a property.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.DeleteDataStreamRequest, dict]]) – The request object. Request message for DeleteDataStream RPC.
name (
str
) –Required. The name of the DataStream to delete. Example format: properties/1234/dataStreams/5678
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- async delete_display_video360_advertiser_link(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.DeleteDisplayVideo360AdvertiserLinkRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) None [source]¶
Deletes a DisplayVideo360AdvertiserLink on a property.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.DeleteDisplayVideo360AdvertiserLinkRequest, dict]]) – The request object. Request message for DeleteDisplayVideo360AdvertiserLink RPC.
name (
str
) –Required. The name of the DisplayVideo360AdvertiserLink to delete. Example format: properties/1234/displayVideo360AdvertiserLinks/5678
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- async delete_display_video360_advertiser_link_proposal(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.DeleteDisplayVideo360AdvertiserLinkProposalRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) None [source]¶
Deletes a DisplayVideo360AdvertiserLinkProposal on a property. This can only be used on cancelled proposals.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.DeleteDisplayVideo360AdvertiserLinkProposalRequest, dict]]) – The request object. Request message for DeleteDisplayVideo360AdvertiserLinkProposal RPC.
name (
str
) –Required. The name of the DisplayVideo360AdvertiserLinkProposal to delete. Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- async delete_event_create_rule(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.DeleteEventCreateRuleRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) None [source]¶
Deletes an EventCreateRule.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.DeleteEventCreateRuleRequest, dict]]) – The request object. Request message for DeleteEventCreateRule RPC.
name (
str
) –Required. Example format:
properties/123/dataStreams/456/eventCreateRules/789
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- async delete_event_edit_rule(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.DeleteEventEditRuleRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) None [source]¶
Deletes an EventEditRule.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.DeleteEventEditRuleRequest, dict]]) – The request object. Request message for DeleteEventEditRule RPC.
name (
str
) –Required. Example format: properties/123/dataStreams/456/eventEditRules/789
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- async delete_expanded_data_set(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.DeleteExpandedDataSetRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) None [source]¶
Deletes a ExpandedDataSet on a property.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.DeleteExpandedDataSetRequest, dict]]) – The request object. Request message for DeleteExpandedDataSet RPC.
name (
str
) –Required. Example format: properties/1234/expandedDataSets/5678
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- async delete_firebase_link(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.DeleteFirebaseLinkRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) None [source]¶
Deletes a FirebaseLink on a property
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.DeleteFirebaseLinkRequest, dict]]) – The request object. Request message for DeleteFirebaseLink RPC
name (
str
) –Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
Example:
properties/1234/firebaseLinks/5678
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- async delete_google_ads_link(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.DeleteGoogleAdsLinkRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) None [source]¶
Deletes a GoogleAdsLink on a property
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.DeleteGoogleAdsLinkRequest, dict]]) – The request object. Request message for DeleteGoogleAdsLink RPC.
name (
str
) –Required. Example format: properties/1234/googleAdsLinks/5678
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- async delete_key_event(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.DeleteKeyEventRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) None [source]¶
Deletes a Key Event.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.DeleteKeyEventRequest, dict]]) – The request object. Request message for DeleteKeyEvent RPC
name (
str
) –Required. The resource name of the Key Event to delete. Format: properties/{property}/keyEvents/{key_event} Example: “properties/123/keyEvents/456”
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- async delete_measurement_protocol_secret(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.DeleteMeasurementProtocolSecretRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) None [source]¶
Deletes target MeasurementProtocolSecret.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.DeleteMeasurementProtocolSecretRequest, dict]]) – The request object. Request message for DeleteMeasurementProtocolSecret RPC
name (
str
) –Required. The name of the MeasurementProtocolSecret to delete. Format:
properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- async delete_property(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.DeletePropertyRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.Property [source]¶
Marks target Property as soft-deleted (ie: “trashed”) and returns it. This API does not have a method to restore soft-deleted properties. However, they can be restored using the Trash Can UI.
If the properties are not restored before the expiration time, the Property and all child resources (eg: GoogleAdsLinks, Streams, AccessBindings) will be permanently purged. https://support.google.com/analytics/answer/6154772
Returns an error if the target is not found, or is not a GA4 Property.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.DeletePropertyRequest, dict]]) – The request object. Request message for DeleteProperty RPC.
name (
str
) –Required. The name of the Property to soft-delete. Format: properties/{property_id} Example: “properties/1000”
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A resource message representing a Google Analytics GA4 property.
- Return type
- async delete_rollup_property_source_link(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.DeleteRollupPropertySourceLinkRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) None [source]¶
Deletes a roll-up property source link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.DeleteRollupPropertySourceLinkRequest, dict]]) – The request object. Request message for DeleteRollupPropertySourceLink RPC.
name (
str
) –Required. Format: properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id} Example: properties/1234/rollupPropertySourceLinks/5678
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- async delete_search_ads360_link(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.DeleteSearchAds360LinkRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) None [source]¶
Deletes a SearchAds360Link on a property.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.DeleteSearchAds360LinkRequest, dict]]) – The request object. Request message for DeleteSearchAds360Link RPC.
name (
str
) –Required. The name of the SearchAds360Link to delete. Example format: properties/1234/SearchAds360Links/5678
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- async delete_sk_ad_network_conversion_value_schema(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.DeleteSKAdNetworkConversionValueSchemaRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) None [source]¶
Deletes target SKAdNetworkConversionValueSchema.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.DeleteSKAdNetworkConversionValueSchemaRequest, dict]]) – The request object. Request message for DeleteSKAdNetworkConversionValueSchema RPC.
name (
str
) –Required. The name of the SKAdNetworkConversionValueSchema to delete. Format: properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema}
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- async delete_subproperty_event_filter(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.DeleteSubpropertyEventFilterRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) None [source]¶
Deletes a subproperty event filter.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.DeleteSubpropertyEventFilterRequest, dict]]) – The request object. Request message for DeleteSubpropertyEventFilter RPC.
name (
str
) –Required. Resource name of the subproperty event filter to delete. Format: properties/property_id/subpropertyEventFilters/subproperty_event_filter Example: properties/123/subpropertyEventFilters/456
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- static display_video360_advertiser_link_path(property: str, display_video_360_advertiser_link: str) str ¶
Returns a fully-qualified display_video360_advertiser_link string.
- static display_video360_advertiser_link_proposal_path(property: str, display_video_360_advertiser_link_proposal: str) str ¶
Returns a fully-qualified display_video360_advertiser_link_proposal string.
- static enhanced_measurement_settings_path(property: str, data_stream: str) str ¶
Returns a fully-qualified enhanced_measurement_settings string.
- static event_create_rule_path(property: str, data_stream: str, event_create_rule: str) str ¶
Returns a fully-qualified event_create_rule string.
- static event_edit_rule_path(property: str, data_stream: str, event_edit_rule: str) str ¶
Returns a fully-qualified event_edit_rule string.
- static expanded_data_set_path(property: str, expanded_data_set: str) str ¶
Returns a fully-qualified expanded_data_set string.
- async fetch_automated_ga4_configuration_opt_out(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.FetchAutomatedGa4ConfigurationOptOutRequest, dict]] = None, *, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.analytics_admin.FetchAutomatedGa4ConfigurationOptOutResponse [source]¶
Fetches the opt out status for the automated GA4 setup process for a UA property. Note: this has no effect on GA4 property.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.FetchAutomatedGa4ConfigurationOptOutRequest, dict]]) – The request object. Request for fetching the opt out status for the automated GA4 setup process.
retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for fetching the opt out status for the automated GA4 setup process.
- Return type
google.analytics.admin_v1alpha.types.FetchAutomatedGa4ConfigurationOptOutResponse
- async fetch_connected_ga4_property(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.FetchConnectedGa4PropertyRequest, dict]] = None, *, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.analytics_admin.FetchConnectedGa4PropertyResponse [source]¶
Given a specified UA property, looks up the GA4 property connected to it. Note: this cannot be used with GA4 properties.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.FetchConnectedGa4PropertyRequest, dict]]) – The request object. Request for looking up GA4 property connected to a UA property.
retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response for looking up GA4 property connected to a UA property.
- Return type
google.analytics.admin_v1alpha.types.FetchConnectedGa4PropertyResponse
- static firebase_link_path(property: str, firebase_link: str) str ¶
Returns a fully-qualified firebase_link string.
- classmethod from_service_account_file(filename: str, *args, **kwargs)[source]¶
- Creates an instance of this client using the provided credentials
file.
- Parameters
filename (str) – The path to the service account private key json file.
args – Additional arguments to pass to the constructor.
kwargs – Additional arguments to pass to the constructor.
- Returns
The constructed client.
- Return type
- classmethod from_service_account_info(info: dict, *args, **kwargs)[source]¶
- Creates an instance of this client using the provided credentials
info.
- Parameters
info (dict) – The service account private key info.
args – Additional arguments to pass to the constructor.
kwargs – Additional arguments to pass to the constructor.
- Returns
The constructed client.
- Return type
- classmethod from_service_account_json(filename: str, *args, **kwargs)¶
- Creates an instance of this client using the provided credentials
file.
- Parameters
filename (str) – The path to the service account private key json file.
args – Additional arguments to pass to the constructor.
kwargs – Additional arguments to pass to the constructor.
- Returns
The constructed client.
- Return type
- async get_access_binding(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetAccessBindingRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.AccessBinding [source]¶
Gets information about an access binding.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.GetAccessBindingRequest, dict]]) – The request object. Request message for GetAccessBinding RPC.
name (
str
) –Required. The name of the access binding to retrieve. Formats:
accounts/{account}/accessBindings/{accessBinding}
properties/{property}/accessBindings/{accessBinding}
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A binding of a user to a set of roles.
- Return type
- async get_account(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetAccountRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.Account [source]¶
Lookup for a single Account.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.GetAccountRequest, dict]]) – The request object. Request message for GetAccount RPC.
name (
str
) –Required. The name of the account to lookup. Format: accounts/{account} Example: “accounts/100”
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A resource message representing a Google Analytics account.
- Return type
- async get_ad_sense_link(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetAdSenseLinkRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.AdSenseLink [source]¶
Looks up a single AdSenseLink.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.GetAdSenseLinkRequest, dict]]) – The request object. Request message to be passed to GetAdSenseLink method.
name (
str
) –Required. Unique identifier for the AdSense Link requested. Format: properties/{propertyId}/adSenseLinks/{linkId} Example: properties/1234/adSenseLinks/5678
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A link between a GA4 Property and an AdSense for Content ad client.
- Return type
- async get_attribution_settings(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetAttributionSettingsRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.AttributionSettings [source]¶
Lookup for a AttributionSettings singleton.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.GetAttributionSettingsRequest, dict]]) – The request object. Request message for GetAttributionSettings RPC.
name (
str
) –Required. The name of the attribution settings to retrieve. Format: properties/{property}/attributionSettings
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
The attribution settings used for a given property. This is a singleton resource.
- Return type
- async get_audience(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetAudienceRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.audience.Audience [source]¶
Lookup for a single Audience. Audiences created before 2020 may not be supported. Default audiences will not show filter definitions.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.GetAudienceRequest, dict]]) – The request object. Request message for GetAudience RPC.
name (
str
) –Required. The name of the Audience to get. Example format: properties/1234/audiences/5678
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A resource message representing a GA4 Audience.
- Return type
- async get_big_query_link(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetBigQueryLinkRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.BigQueryLink [source]¶
Lookup for a single BigQuery Link.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.GetBigQueryLinkRequest, dict]]) – The request object. Request message for GetBigQueryLink RPC.
name (
str
) –Required. The name of the BigQuery link to lookup. Format: properties/{property_id}/bigQueryLinks/{bigquery_link_id} Example: properties/123/bigQueryLinks/456
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A link between a GA4 Property and BigQuery project.
- Return type
- async get_calculated_metric(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetCalculatedMetricRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.CalculatedMetric [source]¶
Lookup for a single CalculatedMetric.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.GetCalculatedMetricRequest, dict]]) – The request object. Request message for GetCalculatedMetric RPC.
name (
str
) –Required. The name of the CalculatedMetric to get. Format: properties/{property_id}/calculatedMetrics/{calculated_metric_id} Example: properties/1234/calculatedMetrics/Metric01
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A definition for a calculated metric.
- Return type
- async get_channel_group(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetChannelGroupRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.channel_group.ChannelGroup [source]¶
Lookup for a single ChannelGroup.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.GetChannelGroupRequest, dict]]) – The request object. Request message for GetChannelGroup RPC.
name (
str
) –Required. The ChannelGroup to get. Example format: properties/1234/channelGroups/5678
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A resource message representing a Channel Group.
- Return type
- async get_conversion_event(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetConversionEventRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.ConversionEvent [source]¶
Deprecated: Use
GetKeyEvent
instead. Retrieve a single conversion event.- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.GetConversionEventRequest, dict]]) – The request object. Request message for GetConversionEvent RPC
name (
str
) –Required. The resource name of the conversion event to retrieve. Format: properties/{property}/conversionEvents/{conversion_event} Example: “properties/123/conversionEvents/456”
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A conversion event in a Google Analytics property.
- Return type
- async get_custom_dimension(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetCustomDimensionRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.CustomDimension [source]¶
Lookup for a single CustomDimension.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.GetCustomDimensionRequest, dict]]) – The request object. Request message for GetCustomDimension RPC.
name (
str
) –Required. The name of the CustomDimension to get. Example format: properties/1234/customDimensions/5678
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A definition for a CustomDimension.
- Return type
- async get_custom_metric(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetCustomMetricRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.CustomMetric [source]¶
Lookup for a single CustomMetric.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.GetCustomMetricRequest, dict]]) – The request object. Request message for GetCustomMetric RPC.
name (
str
) –Required. The name of the CustomMetric to get. Example format: properties/1234/customMetrics/5678
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A definition for a custom metric.
- Return type
- async get_data_redaction_settings(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetDataRedactionSettingsRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.DataRedactionSettings [source]¶
Lookup for a single DataRedactionSettings.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.GetDataRedactionSettingsRequest, dict]]) – The request object. Request message for GetDataRedactionSettings RPC.
name (
str
) –Required. The name of the settings to lookup. Format: properties/{property}/dataStreams/{data_stream}/dataRedactionSettings Example: “properties/1000/dataStreams/2000/dataRedactionSettings”
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Settings for client-side data redaction. Singleton resource under a Web Stream.
- Return type
- async get_data_retention_settings(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetDataRetentionSettingsRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.DataRetentionSettings [source]¶
Returns the singleton data retention settings for this property.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.GetDataRetentionSettingsRequest, dict]]) – The request object. Request message for GetDataRetentionSettings RPC.
name (
str
) –Required. The name of the settings to lookup. Format:
properties/{property}/dataRetentionSettings Example: “properties/1000/dataRetentionSettings”
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Settings values for data retention. This is a singleton resource.
- Return type
- async get_data_sharing_settings(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetDataSharingSettingsRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.DataSharingSettings [source]¶
Get data sharing settings on an account. Data sharing settings are singletons.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.GetDataSharingSettingsRequest, dict]]) – The request object. Request message for GetDataSharingSettings RPC.
name (
str
) –Required. The name of the settings to lookup. Format: accounts/{account}/dataSharingSettings
Example:
accounts/1000/dataSharingSettings
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A resource message representing data sharing settings of a Google Analytics account.
- Return type
- async get_data_stream(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetDataStreamRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.DataStream [source]¶
Lookup for a single DataStream.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.GetDataStreamRequest, dict]]) – The request object. Request message for GetDataStream RPC.
name (
str
) –Required. The name of the DataStream to get. Example format: properties/1234/dataStreams/5678
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A resource message representing a data stream.
- Return type
- async get_display_video360_advertiser_link(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetDisplayVideo360AdvertiserLinkRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.DisplayVideo360AdvertiserLink [source]¶
Look up a single DisplayVideo360AdvertiserLink
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.GetDisplayVideo360AdvertiserLinkRequest, dict]]) – The request object. Request message for GetDisplayVideo360AdvertiserLink RPC.
name (
str
) –Required. The name of the DisplayVideo360AdvertiserLink to get. Example format: properties/1234/displayVideo360AdvertiserLink/5678
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A link between a GA4 property and a Display & Video 360 advertiser.
- Return type
google.analytics.admin_v1alpha.types.DisplayVideo360AdvertiserLink
- async get_display_video360_advertiser_link_proposal(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetDisplayVideo360AdvertiserLinkProposalRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.DisplayVideo360AdvertiserLinkProposal [source]¶
Lookup for a single DisplayVideo360AdvertiserLinkProposal.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.GetDisplayVideo360AdvertiserLinkProposalRequest, dict]]) – The request object. Request message for GetDisplayVideo360AdvertiserLinkProposal RPC.
name (
str
) –Required. The name of the DisplayVideo360AdvertiserLinkProposal to get. Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
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.
- Return type
google.analytics.admin_v1alpha.types.DisplayVideo360AdvertiserLinkProposal
- async get_enhanced_measurement_settings(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetEnhancedMeasurementSettingsRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.EnhancedMeasurementSettings [source]¶
Returns the enhanced measurement settings for this data stream. Note that the stream must enable enhanced measurement for these settings to take effect.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.GetEnhancedMeasurementSettingsRequest, dict]]) – The request object. Request message for GetEnhancedMeasurementSettings RPC.
name (
str
) –Required. The name of the settings to lookup. Format: properties/{property}/dataStreams/{data_stream}/enhancedMeasurementSettings Example: “properties/1000/dataStreams/2000/enhancedMeasurementSettings”
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Singleton resource under a web DataStream, configuring measurement of additional site interactions and content.
- Return type
google.analytics.admin_v1alpha.types.EnhancedMeasurementSettings
- async get_event_create_rule(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetEventCreateRuleRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.event_create_and_edit.EventCreateRule [source]¶
Lookup for a single EventCreateRule.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.GetEventCreateRuleRequest, dict]]) – The request object. Request message for GetEventCreateRule RPC.
name (
str
) –Required. The name of the EventCreateRule to get. Example format: properties/123/dataStreams/456/eventCreateRules/789
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
An Event Create Rule defines conditions that will trigger the creation of an entirely new event based upon matched criteria of a source event. Additional mutations of the parameters from the source event can be defined.
Unlike Event Edit rules, Event Creation Rules have no defined order. They will all be run independently.
Event Edit and Event Create rules can’t be used to modify an event created from an Event Create rule.
- Return type
- async get_event_edit_rule(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetEventEditRuleRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.event_create_and_edit.EventEditRule [source]¶
Lookup for a single EventEditRule.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.GetEventEditRuleRequest, dict]]) – The request object. Request message for GetEventEditRule RPC.
name (
str
) –Required. The name of the EventEditRule to get. Example format: properties/123/dataStreams/456/eventEditRules/789
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
An Event Edit Rule defines conditions that will trigger the creation of an entirely new event based upon matched criteria of a source event. Additional mutations of the parameters from the source event can be defined.
Unlike Event Create rules, Event Edit Rules are applied in their defined order.
Event Edit rules can’t be used to modify an event created from an Event Create rule.
- Return type
- async get_expanded_data_set(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetExpandedDataSetRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.expanded_data_set.ExpandedDataSet [source]¶
Lookup for a single ExpandedDataSet.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.GetExpandedDataSetRequest, dict]]) – The request object. Request message for GetExpandedDataSet RPC.
name (
str
) –Required. The name of the ExpandedDataSet to get. Example format: properties/1234/expandedDataSets/5678
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A resource message representing a GA4 ExpandedDataSet.
- Return type
- async get_global_site_tag(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetGlobalSiteTagRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.GlobalSiteTag [source]¶
Returns the Site Tag for the specified web stream. Site Tags are immutable singletons.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.GetGlobalSiteTagRequest, dict]]) – The request object. Request message for GetGlobalSiteTag RPC.
name (
str
) –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
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Read-only resource with the tag for sending data from a website to a DataStream. Only present for web DataStream resources.
- Return type
- async get_google_signals_settings(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetGoogleSignalsSettingsRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.GoogleSignalsSettings [source]¶
Lookup for Google Signals settings for a property.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.GetGoogleSignalsSettingsRequest, dict]]) – The request object. Request message for GetGoogleSignalsSettings RPC
name (
str
) –Required. The name of the google signals settings to retrieve. Format: properties/{property}/googleSignalsSettings
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Settings values for Google Signals. This is a singleton resource.
- Return type
- async get_key_event(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetKeyEventRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.KeyEvent [source]¶
Retrieve a single Key Event.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.GetKeyEventRequest, dict]]) – The request object. Request message for GetKeyEvent RPC
name (
str
) –Required. The resource name of the Key Event to retrieve. Format: properties/{property}/keyEvents/{key_event} Example: “properties/123/keyEvents/456”
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A key event in a Google Analytics property.
- Return type
- async get_measurement_protocol_secret(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetMeasurementProtocolSecretRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.MeasurementProtocolSecret [source]¶
Lookup for a single “GA4” MeasurementProtocolSecret.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.GetMeasurementProtocolSecretRequest, dict]]) – The request object. Request message for GetMeasurementProtocolSecret RPC.
name (
str
) –Required. The name of the measurement protocol secret to lookup. Format:
properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A secret value used for sending hits to Measurement Protocol.
- Return type
google.analytics.admin_v1alpha.types.MeasurementProtocolSecret
- classmethod get_mtls_endpoint_and_cert_source(client_options: Optional[google.api_core.client_options.ClientOptions] = None)[source]¶
Return the API endpoint and client cert source for mutual TLS.
The client cert source is determined in the following order: (1) if GOOGLE_API_USE_CLIENT_CERTIFICATE environment variable is not “true”, the client cert source is None. (2) if client_options.client_cert_source is provided, use the provided one; if the default client cert source exists, use the default one; otherwise the client cert source is None.
The API endpoint is determined in the following order: (1) if client_options.api_endpoint if provided, use the provided one. (2) if GOOGLE_API_USE_CLIENT_CERTIFICATE environment variable is “always”, use the default mTLS endpoint; if the environment variable is “never”, use the default API endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise use the default API endpoint.
More details can be found at https://google.aip.dev/auth/4114.
- Parameters
client_options (google.api_core.client_options.ClientOptions) – Custom options for the client. Only the api_endpoint and client_cert_source properties may be used in this method.
- Returns
- returns the API endpoint and the
client cert source to use.
- Return type
- Raises
google.auth.exceptions.MutualTLSChannelError – If any errors happen.
- async get_property(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetPropertyRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.Property [source]¶
Lookup for a single “GA4” Property.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.GetPropertyRequest, dict]]) – The request object. Request message for GetProperty RPC.
name (
str
) –Required. The name of the property to lookup. Format: properties/{property_id} Example: “properties/1000”
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A resource message representing a Google Analytics GA4 property.
- Return type
- async get_rollup_property_source_link(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetRollupPropertySourceLinkRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.RollupPropertySourceLink [source]¶
Lookup for a single roll-up property source Link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.GetRollupPropertySourceLinkRequest, dict]]) – The request object. Request message for GetRollupPropertySourceLink RPC.
name (
str
) –Required. The name of the roll-up property source link to lookup. Format: properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id} Example: properties/123/rollupPropertySourceLinks/456
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A link that references a source property under the parent rollup property.
- Return type
google.analytics.admin_v1alpha.types.RollupPropertySourceLink
- async get_search_ads360_link(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetSearchAds360LinkRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.SearchAds360Link [source]¶
Look up a single SearchAds360Link
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.GetSearchAds360LinkRequest, dict]]) – The request object. Request message for GetSearchAds360Link RPC.
name (
str
) –Required. The name of the SearchAds360Link to get. Example format: properties/1234/SearchAds360Link/5678
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A link between a GA4 property and a Search Ads 360 entity.
- Return type
- async get_sk_ad_network_conversion_value_schema(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetSKAdNetworkConversionValueSchemaRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.SKAdNetworkConversionValueSchema [source]¶
Looks up a single SKAdNetworkConversionValueSchema.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.GetSKAdNetworkConversionValueSchemaRequest, dict]]) – The request object. Request message for GetSKAdNetworkConversionValueSchema RPC.
name (
str
) –Required. The resource name of SKAdNetwork conversion value schema to look up. Format: properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema}
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
SKAdNetwork conversion value schema of an iOS stream.
- Return type
google.analytics.admin_v1alpha.types.SKAdNetworkConversionValueSchema
- async get_subproperty_event_filter(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetSubpropertyEventFilterRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.subproperty_event_filter.SubpropertyEventFilter [source]¶
Lookup for a single subproperty Event Filter.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.GetSubpropertyEventFilterRequest, dict]]) – The request object. Request message for GetSubpropertyEventFilter RPC.
name (
str
) –Required. Resource name of the subproperty event filter to lookup. Format: properties/property_id/subpropertyEventFilters/subproperty_event_filter Example: properties/123/subpropertyEventFilters/456
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A resource message representing a GA4 Subproperty event filter.
- Return type
- classmethod get_transport_class(label: Optional[str] = None) Type[google.analytics.admin_v1alpha.services.analytics_admin_service.transports.base.AnalyticsAdminServiceTransport] ¶
Returns an appropriate transport class.
- Parameters
label – The name of the desired transport. If none is provided, then the first transport in the registry is used.
- Returns
The transport class to use.
- static global_site_tag_path(property: str, data_stream: str) str ¶
Returns a fully-qualified global_site_tag string.
- static google_ads_link_path(property: str, google_ads_link: str) str ¶
Returns a fully-qualified google_ads_link string.
- static google_signals_settings_path(property: str) str ¶
Returns a fully-qualified google_signals_settings string.
- static key_event_path(property: str, key_event: str) str ¶
Returns a fully-qualified key_event string.
- async list_access_bindings(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ListAccessBindingsRequest, dict]] = None, *, parent: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListAccessBindingsAsyncPager [source]¶
Lists all access bindings on an account or property.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.ListAccessBindingsRequest, dict]]) – The request object. Request message for ListAccessBindings RPC.
parent (
str
) –Required. Formats:
accounts/{account}
properties/{property}
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ListAccessBindings RPC. Iterating over this object will yield results and resolve additional pages automatically.
- Return type
google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListAccessBindingsAsyncPager
- async list_account_summaries(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ListAccountSummariesRequest, dict]] = None, *, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListAccountSummariesAsyncPager [source]¶
Returns summaries of all accounts accessible by the caller.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.ListAccountSummariesRequest, dict]]) – The request object. Request message for ListAccountSummaries RPC.
retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ListAccountSummaries RPC. Iterating over this object will yield results and resolve additional pages automatically.
- Return type
- async list_accounts(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ListAccountsRequest, dict]] = None, *, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListAccountsAsyncPager [source]¶
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.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.ListAccountsRequest, dict]]) – The request object. Request message for ListAccounts RPC.
retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Request message for ListAccounts RPC.
Iterating over this object will yield results and resolve additional pages automatically.
- Return type
google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListAccountsAsyncPager
- async list_ad_sense_links(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ListAdSenseLinksRequest, dict]] = None, *, parent: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListAdSenseLinksAsyncPager [source]¶
Lists AdSenseLinks on a property.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.ListAdSenseLinksRequest, dict]]) – The request object. Request message to be passed to ListAdSenseLinks method.
parent (
str
) –Required. Resource name of the parent property. Format: properties/{propertyId} Example: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ListAdSenseLinks method. Iterating over this object will yield results and resolve additional pages automatically.
- Return type
google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListAdSenseLinksAsyncPager
- async list_audiences(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ListAudiencesRequest, dict]] = None, *, parent: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListAudiencesAsyncPager [source]¶
Lists Audiences on a property. Audiences created before 2020 may not be supported. Default audiences will not show filter definitions.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.ListAudiencesRequest, dict]]) – The request object. Request message for ListAudiences RPC.
parent (
str
) –Required. Example format: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ListAudiences RPC. Iterating over this object will yield results and resolve additional pages automatically.
- Return type
google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListAudiencesAsyncPager
- async list_big_query_links(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ListBigQueryLinksRequest, dict]] = None, *, parent: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListBigQueryLinksAsyncPager [source]¶
Lists BigQuery Links on a property.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.ListBigQueryLinksRequest, dict]]) – The request object. Request message for ListBigQueryLinks RPC.
parent (
str
) –Required. The name of the property to list BigQuery links under. Format: properties/{property_id} Example: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ListBigQueryLinks RPC Iterating over this object will yield results and resolve additional pages automatically.
- Return type
google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListBigQueryLinksAsyncPager
- async list_calculated_metrics(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ListCalculatedMetricsRequest, dict]] = None, *, parent: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListCalculatedMetricsAsyncPager [source]¶
Lists CalculatedMetrics on a property.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.ListCalculatedMetricsRequest, dict]]) – The request object. Request message for ListCalculatedMetrics RPC.
parent (
str
) –Required. Example format: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ListCalculatedMetrics RPC. Iterating over this object will yield results and resolve additional pages automatically.
- Return type
- async list_channel_groups(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ListChannelGroupsRequest, dict]] = None, *, parent: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListChannelGroupsAsyncPager [source]¶
Lists ChannelGroups on a property.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.ListChannelGroupsRequest, dict]]) – The request object. Request message for ListChannelGroups RPC.
parent (
str
) –Required. The property for which to list ChannelGroups. Example format: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ListChannelGroups RPC. Iterating over this object will yield results and resolve additional pages automatically.
- Return type
google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListChannelGroupsAsyncPager
- async list_connected_site_tags(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ListConnectedSiteTagsRequest, dict]] = None, *, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.analytics_admin.ListConnectedSiteTagsResponse [source]¶
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.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.ListConnectedSiteTagsRequest, dict]]) – The request object. Request message for ListConnectedSiteTags RPC.
retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ListConnectedSiteTags RPC.
- Return type
google.analytics.admin_v1alpha.types.ListConnectedSiteTagsResponse
- async list_conversion_events(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ListConversionEventsRequest, dict]] = None, *, parent: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListConversionEventsAsyncPager [source]¶
Deprecated: Use
ListKeyEvents
instead. Returns a list of conversion events in the specified parent property.Returns an empty list if no conversion events are found.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.ListConversionEventsRequest, dict]]) – The request object. Request message for ListConversionEvents RPC
parent (
str
) –Required. The resource name of the parent property. Example: ‘properties/123’
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ListConversionEvents RPC. Iterating over this object will yield results and resolve additional pages automatically.
- Return type
- async list_custom_dimensions(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ListCustomDimensionsRequest, dict]] = None, *, parent: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListCustomDimensionsAsyncPager [source]¶
Lists CustomDimensions on a property.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.ListCustomDimensionsRequest, dict]]) – The request object. Request message for ListCustomDimensions RPC.
parent (
str
) –Required. Example format: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ListCustomDimensions RPC. Iterating over this object will yield results and resolve additional pages automatically.
- Return type
- async list_custom_metrics(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ListCustomMetricsRequest, dict]] = None, *, parent: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListCustomMetricsAsyncPager [source]¶
Lists CustomMetrics on a property.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.ListCustomMetricsRequest, dict]]) – The request object. Request message for ListCustomMetrics RPC.
parent (
str
) –Required. Example format: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ListCustomMetrics RPC. Iterating over this object will yield results and resolve additional pages automatically.
- Return type
google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListCustomMetricsAsyncPager
- async list_data_streams(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ListDataStreamsRequest, dict]] = None, *, parent: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListDataStreamsAsyncPager [source]¶
Lists DataStreams on a property.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.ListDataStreamsRequest, dict]]) – The request object. Request message for ListDataStreams RPC.
parent (
str
) –Required. Example format: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ListDataStreams RPC. Iterating over this object will yield results and resolve additional pages automatically.
- Return type
google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListDataStreamsAsyncPager
- async list_display_video360_advertiser_link_proposals(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ListDisplayVideo360AdvertiserLinkProposalsRequest, dict]] = None, *, parent: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListDisplayVideo360AdvertiserLinkProposalsAsyncPager [source]¶
Lists DisplayVideo360AdvertiserLinkProposals on a property.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.ListDisplayVideo360AdvertiserLinkProposalsRequest, dict]]) – The request object. Request message for ListDisplayVideo360AdvertiserLinkProposals RPC.
parent (
str
) –Required. Example format: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ListDisplayVideo360AdvertiserLinkProposals RPC. Iterating over this object will yield results and resolve additional pages automatically.
- Return type
- async list_display_video360_advertiser_links(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ListDisplayVideo360AdvertiserLinksRequest, dict]] = None, *, parent: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListDisplayVideo360AdvertiserLinksAsyncPager [source]¶
Lists all DisplayVideo360AdvertiserLinks on a property.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.ListDisplayVideo360AdvertiserLinksRequest, dict]]) – The request object. Request message for ListDisplayVideo360AdvertiserLinks RPC.
parent (
str
) –Required. Example format: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ListDisplayVideo360AdvertiserLinks RPC. Iterating over this object will yield results and resolve additional pages automatically.
- Return type
- async list_event_create_rules(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ListEventCreateRulesRequest, dict]] = None, *, parent: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListEventCreateRulesAsyncPager [source]¶
Lists EventCreateRules on a web data stream.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.ListEventCreateRulesRequest, dict]]) – The request object. Request message for ListEventCreateRules RPC.
parent (
str
) –Required. Example format: properties/123/dataStreams/456
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ListEventCreateRules RPC. Iterating over this object will yield results and resolve additional pages automatically.
- Return type
- async list_event_edit_rules(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ListEventEditRulesRequest, dict]] = None, *, parent: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListEventEditRulesAsyncPager [source]¶
Lists EventEditRules on a web data stream.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.ListEventEditRulesRequest, dict]]) – The request object. Request message for ListEventEditRules RPC.
parent (
str
) –Required. Example format: properties/123/dataStreams/456
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ListEventEditRules RPC. Iterating over this object will yield results and resolve additional pages automatically.
- Return type
google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListEventEditRulesAsyncPager
- async list_expanded_data_sets(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ListExpandedDataSetsRequest, dict]] = None, *, parent: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListExpandedDataSetsAsyncPager [source]¶
Lists ExpandedDataSets on a property.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.ListExpandedDataSetsRequest, dict]]) – The request object. Request message for ListExpandedDataSets RPC.
parent (
str
) –Required. Example format: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ListExpandedDataSets RPC. Iterating over this object will yield results and resolve additional pages automatically.
- Return type
- async list_firebase_links(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ListFirebaseLinksRequest, dict]] = None, *, parent: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListFirebaseLinksAsyncPager [source]¶
Lists FirebaseLinks on a property. Properties can have at most one FirebaseLink.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.ListFirebaseLinksRequest, dict]]) – The request object. Request message for ListFirebaseLinks RPC
parent (
str
) –Required. Format: properties/{property_id}
Example:
properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ListFirebaseLinks RPC Iterating over this object will yield results and resolve additional pages automatically.
- Return type
google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListFirebaseLinksAsyncPager
- async list_google_ads_links(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ListGoogleAdsLinksRequest, dict]] = None, *, parent: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListGoogleAdsLinksAsyncPager [source]¶
Lists GoogleAdsLinks on a property.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.ListGoogleAdsLinksRequest, dict]]) – The request object. Request message for ListGoogleAdsLinks RPC.
parent (
str
) –Required. Example format: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ListGoogleAdsLinks RPC. Iterating over this object will yield results and resolve additional pages automatically.
- Return type
google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListGoogleAdsLinksAsyncPager
- async list_key_events(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ListKeyEventsRequest, dict]] = None, *, parent: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListKeyEventsAsyncPager [source]¶
Returns a list of Key Events in the specified parent property. Returns an empty list if no Key Events are found.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.ListKeyEventsRequest, dict]]) – The request object. Request message for ListKeyEvents RPC
parent (
str
) –Required. The resource name of the parent property. Example: ‘properties/123’
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ListKeyEvents RPC. Iterating over this object will yield results and resolve additional pages automatically.
- Return type
google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListKeyEventsAsyncPager
- async list_measurement_protocol_secrets(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ListMeasurementProtocolSecretsRequest, dict]] = None, *, parent: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListMeasurementProtocolSecretsAsyncPager [source]¶
Returns child MeasurementProtocolSecrets under the specified parent Property.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.ListMeasurementProtocolSecretsRequest, dict]]) – The request object. Request message for ListMeasurementProtocolSecret RPC
parent (
str
) –Required. The resource name of the parent stream. Format:
properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ListMeasurementProtocolSecret RPC Iterating over this object will yield results and resolve additional pages automatically.
- Return type
- async list_properties(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ListPropertiesRequest, dict]] = None, *, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListPropertiesAsyncPager [source]¶
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.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.ListPropertiesRequest, dict]]) – The request object. Request message for ListProperties RPC.
retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ListProperties RPC. Iterating over this object will yield results and resolve additional pages automatically.
- Return type
google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListPropertiesAsyncPager
- async list_rollup_property_source_links(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ListRollupPropertySourceLinksRequest, dict]] = None, *, parent: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListRollupPropertySourceLinksAsyncPager [source]¶
Lists roll-up property source Links on a property. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.ListRollupPropertySourceLinksRequest, dict]]) – The request object. Request message for ListRollupPropertySourceLinks RPC.
parent (
str
) –Required. The name of the roll-up property to list roll-up property source links under. Format: properties/{property_id} Example: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ListRollupPropertySourceLinks RPC. Iterating over this object will yield results and resolve additional pages automatically.
- Return type
- async list_search_ads360_links(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ListSearchAds360LinksRequest, dict]] = None, *, parent: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListSearchAds360LinksAsyncPager [source]¶
Lists all SearchAds360Links on a property.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.ListSearchAds360LinksRequest, dict]]) – The request object. Request message for ListSearchAds360Links RPC.
parent (
str
) –Required. Example format: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ListSearchAds360Links RPC. Iterating over this object will yield results and resolve additional pages automatically.
- Return type
- async list_sk_ad_network_conversion_value_schemas(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ListSKAdNetworkConversionValueSchemasRequest, dict]] = None, *, parent: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListSKAdNetworkConversionValueSchemasAsyncPager [source]¶
Lists SKAdNetworkConversionValueSchema on a stream. Properties can have at most one SKAdNetworkConversionValueSchema.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.ListSKAdNetworkConversionValueSchemasRequest, dict]]) – The request object. Request message for ListSKAdNetworkConversionValueSchemas RPC
parent (
str
) –Required. The DataStream resource to list schemas for. Format: properties/{property_id}/dataStreams/{dataStream} Example: properties/1234/dataStreams/5678
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ListSKAdNetworkConversionValueSchemas RPC Iterating over this object will yield results and resolve additional pages automatically.
- Return type
- async list_subproperty_event_filters(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ListSubpropertyEventFiltersRequest, dict]] = None, *, parent: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListSubpropertyEventFiltersAsyncPager [source]¶
List all subproperty Event Filters on a property.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.ListSubpropertyEventFiltersRequest, dict]]) – The request object. Request message for ListSubpropertyEventFilters RPC.
parent (
str
) –Required. Resource name of the ordinary property. Format: properties/property_id Example: properties/123
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ListSubpropertyEventFilter RPC. Iterating over this object will yield results and resolve additional pages automatically.
- Return type
- static measurement_protocol_secret_path(property: str, data_stream: str, measurement_protocol_secret: str) str ¶
Returns a fully-qualified measurement_protocol_secret string.
- static parse_access_binding_path(path: str) Dict[str, str] ¶
Parses a access_binding path into its component segments.
- static parse_account_path(path: str) Dict[str, str] ¶
Parses a account path into its component segments.
- static parse_account_summary_path(path: str) Dict[str, str] ¶
Parses a account_summary path into its component segments.
- static parse_ad_sense_link_path(path: str) Dict[str, str] ¶
Parses a ad_sense_link path into its component segments.
- static parse_attribution_settings_path(path: str) Dict[str, str] ¶
Parses a attribution_settings path into its component segments.
- static parse_audience_path(path: str) Dict[str, str] ¶
Parses a audience path into its component segments.
- static parse_big_query_link_path(path: str) Dict[str, str] ¶
Parses a big_query_link path into its component segments.
- static parse_calculated_metric_path(path: str) Dict[str, str] ¶
Parses a calculated_metric path into its component segments.
- static parse_channel_group_path(path: str) Dict[str, str] ¶
Parses a channel_group path into its component segments.
- static parse_common_billing_account_path(path: str) Dict[str, str] ¶
Parse a billing_account path into its component segments.
- static parse_common_folder_path(path: str) Dict[str, str] ¶
Parse a folder path into its component segments.
- static parse_common_location_path(path: str) Dict[str, str] ¶
Parse a location path into its component segments.
- static parse_common_organization_path(path: str) Dict[str, str] ¶
Parse a organization path into its component segments.
- static parse_common_project_path(path: str) Dict[str, str] ¶
Parse a project path into its component segments.
- static parse_conversion_event_path(path: str) Dict[str, str] ¶
Parses a conversion_event path into its component segments.
- static parse_custom_dimension_path(path: str) Dict[str, str] ¶
Parses a custom_dimension path into its component segments.
- static parse_custom_metric_path(path: str) Dict[str, str] ¶
Parses a custom_metric path into its component segments.
- static parse_data_redaction_settings_path(path: str) Dict[str, str] ¶
Parses a data_redaction_settings path into its component segments.
- static parse_data_retention_settings_path(path: str) Dict[str, str] ¶
Parses a data_retention_settings path into its component segments.
- static parse_data_sharing_settings_path(path: str) Dict[str, str] ¶
Parses a data_sharing_settings path into its component segments.
- static parse_data_stream_path(path: str) Dict[str, str] ¶
Parses a data_stream path into its component segments.
- static parse_display_video360_advertiser_link_path(path: str) Dict[str, str] ¶
Parses a display_video360_advertiser_link path into its component segments.
- static parse_display_video360_advertiser_link_proposal_path(path: str) Dict[str, str] ¶
Parses a display_video360_advertiser_link_proposal path into its component segments.
- static parse_enhanced_measurement_settings_path(path: str) Dict[str, str] ¶
Parses a enhanced_measurement_settings path into its component segments.
- static parse_event_create_rule_path(path: str) Dict[str, str] ¶
Parses a event_create_rule path into its component segments.
- static parse_event_edit_rule_path(path: str) Dict[str, str] ¶
Parses a event_edit_rule path into its component segments.
- static parse_expanded_data_set_path(path: str) Dict[str, str] ¶
Parses a expanded_data_set path into its component segments.
- static parse_firebase_link_path(path: str) Dict[str, str] ¶
Parses a firebase_link path into its component segments.
- static parse_global_site_tag_path(path: str) Dict[str, str] ¶
Parses a global_site_tag path into its component segments.
- static parse_google_ads_link_path(path: str) Dict[str, str] ¶
Parses a google_ads_link path into its component segments.
- static parse_google_signals_settings_path(path: str) Dict[str, str] ¶
Parses a google_signals_settings path into its component segments.
- static parse_key_event_path(path: str) Dict[str, str] ¶
Parses a key_event path into its component segments.
- static parse_measurement_protocol_secret_path(path: str) Dict[str, str] ¶
Parses a measurement_protocol_secret path into its component segments.
- static parse_organization_path(path: str) Dict[str, str] ¶
Parses a organization path into its component segments.
- static parse_property_path(path: str) Dict[str, str] ¶
Parses a property path into its component segments.
- static parse_rollup_property_source_link_path(path: str) Dict[str, str] ¶
Parses a rollup_property_source_link path into its component segments.
- static parse_search_ads360_link_path(path: str) Dict[str, str] ¶
Parses a search_ads360_link path into its component segments.
- static parse_sk_ad_network_conversion_value_schema_path(path: str) Dict[str, str] ¶
Parses a sk_ad_network_conversion_value_schema path into its component segments.
- static parse_subproperty_event_filter_path(path: str) Dict[str, str] ¶
Parses a subproperty_event_filter path into its component segments.
- async provision_account_ticket(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ProvisionAccountTicketRequest, dict]] = None, *, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.analytics_admin.ProvisionAccountTicketResponse [source]¶
Requests a ticket for creating an account.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.ProvisionAccountTicketRequest, dict]]) – The request object. Request message for ProvisionAccountTicket RPC.
retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ProvisionAccountTicket RPC.
- Return type
google.analytics.admin_v1alpha.types.ProvisionAccountTicketResponse
- async provision_subproperty(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ProvisionSubpropertyRequest, dict]] = None, *, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.analytics_admin.ProvisionSubpropertyResponse [source]¶
Create a subproperty and a subproperty event filter that applies to the created subproperty.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.ProvisionSubpropertyRequest, dict]]) – The request object. Request message for CreateSubproperty RPC.
retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ProvisionSubproperty RPC.
- Return type
google.analytics.admin_v1alpha.types.ProvisionSubpropertyResponse
- async reorder_event_edit_rules(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ReorderEventEditRulesRequest, dict]] = None, *, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) None [source]¶
Changes the processing order of event edit rules on the specified stream.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.ReorderEventEditRulesRequest, dict]]) – The request object. Request message for ReorderEventEditRules RPC.
retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- static rollup_property_source_link_path(property: str, rollup_property_source_link: str) str ¶
Returns a fully-qualified rollup_property_source_link string.
- async run_access_report(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.RunAccessReportRequest, dict]] = None, *, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.analytics_admin.RunAccessReportResponse [source]¶
Returns a customized report of data access records. The report provides records of each time a user reads Google Analytics reporting data. Access records are retained for up to 2 years.
Data Access Reports can be requested for a property. Reports may be requested for any property, but dimensions that aren’t related to quota can only be requested on Google Analytics 360 properties. This method is only available to Administrators.
These data access records include GA4 UI Reporting, GA4 UI Explorations, GA4 Data API, and other products like Firebase & Admob that can retrieve data from Google Analytics through a linkage. These records don’t include property configuration changes like adding a stream or changing a property’s time zone. For configuration change history, see searchChangeHistoryEvents.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.RunAccessReportRequest, dict]]) – The request object. The request for a Data Access Record Report.
retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
The customized Data Access Record Report response.
- Return type
google.analytics.admin_v1alpha.types.RunAccessReportResponse
- static search_ads360_link_path(property: str, search_ads_360_link: str) str ¶
Returns a fully-qualified search_ads360_link string.
- async search_change_history_events(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.SearchChangeHistoryEventsRequest, dict]] = None, *, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.SearchChangeHistoryEventsAsyncPager [source]¶
Searches through all changes to an account or its children given the specified set of filters.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.SearchChangeHistoryEventsRequest, dict]]) – The request object. Request message for SearchChangeHistoryEvents RPC.
retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for SearchAccounts RPC. Iterating over this object will yield results and resolve additional pages automatically.
- Return type
- async set_automated_ga4_configuration_opt_out(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.SetAutomatedGa4ConfigurationOptOutRequest, dict]] = None, *, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.analytics_admin.SetAutomatedGa4ConfigurationOptOutResponse [source]¶
Sets the opt out status for the automated GA4 setup process for a UA property. Note: this has no effect on GA4 property.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.SetAutomatedGa4ConfigurationOptOutRequest, dict]]) – The request object. Request for setting the opt out status for the automated GA4 setup process.
retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for setting the opt out status for the automated GA4 setup process.
- Return type
google.analytics.admin_v1alpha.types.SetAutomatedGa4ConfigurationOptOutResponse
- static sk_ad_network_conversion_value_schema_path(property: str, data_stream: str, skadnetwork_conversion_value_schema: str) str ¶
Returns a fully-qualified sk_ad_network_conversion_value_schema string.
- static subproperty_event_filter_path(property: str, sub_property_event_filter: str) str ¶
Returns a fully-qualified subproperty_event_filter string.
- property transport: google.analytics.admin_v1alpha.services.analytics_admin_service.transports.base.AnalyticsAdminServiceTransport¶
Returns the transport used by the client instance.
- Returns
The transport used by the client instance.
- Return type
AnalyticsAdminServiceTransport
- property universe_domain: str¶
Return the universe domain used by the client instance.
- Returns
- The universe domain used
by the client instance.
- Return type
- async update_access_binding(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.UpdateAccessBindingRequest, dict]] = None, *, access_binding: Optional[google.analytics.admin_v1alpha.types.resources.AccessBinding] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.AccessBinding [source]¶
Updates an access binding on an account or property.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.UpdateAccessBindingRequest, dict]]) – The request object. Request message for UpdateAccessBinding RPC.
access_binding (
google.analytics.admin_v1alpha.types.AccessBinding
) –Required. The access binding to update.
This corresponds to the
access_binding
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A binding of a user to a set of roles.
- Return type
- async update_account(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.UpdateAccountRequest, dict]] = None, *, account: Optional[google.analytics.admin_v1alpha.types.resources.Account] = None, update_mask: Optional[google.protobuf.field_mask_pb2.FieldMask] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.Account [source]¶
Updates an account.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.UpdateAccountRequest, dict]]) – The request object. Request message for UpdateAccount RPC.
account (
google.analytics.admin_v1alpha.types.Account
) –Required. The account to update. The account’s
name
field is used to identify the account.This corresponds to the
account
field on therequest
instance; ifrequest
is provided, this should not be set.update_mask (
google.protobuf.field_mask_pb2.FieldMask
) –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.
This corresponds to the
update_mask
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A resource message representing a Google Analytics account.
- Return type
- async update_attribution_settings(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.UpdateAttributionSettingsRequest, dict]] = None, *, attribution_settings: Optional[google.analytics.admin_v1alpha.types.resources.AttributionSettings] = None, update_mask: Optional[google.protobuf.field_mask_pb2.FieldMask] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.AttributionSettings [source]¶
Updates attribution settings on a property.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.UpdateAttributionSettingsRequest, dict]]) – The request object. Request message for UpdateAttributionSettings RPC
attribution_settings (
google.analytics.admin_v1alpha.types.AttributionSettings
) –Required. The attribution settings to update. The
name
field is used to identify the settings to be updated.This corresponds to the
attribution_settings
field on therequest
instance; ifrequest
is provided, this should not be set.update_mask (
google.protobuf.field_mask_pb2.FieldMask
) –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.
This corresponds to the
update_mask
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
The attribution settings used for a given property. This is a singleton resource.
- Return type
- async update_audience(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.UpdateAudienceRequest, dict]] = None, *, audience: Optional[google.analytics.admin_v1alpha.types.audience.Audience] = None, update_mask: Optional[google.protobuf.field_mask_pb2.FieldMask] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.audience.Audience [source]¶
Updates an Audience on a property.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.UpdateAudienceRequest, dict]]) – The request object. Request message for UpdateAudience RPC.
audience (
google.analytics.admin_v1alpha.types.Audience
) –Required. The audience to update. The audience’s
name
field is used to identify the audience to be updated.This corresponds to the
audience
field on therequest
instance; ifrequest
is provided, this should not be set.update_mask (
google.protobuf.field_mask_pb2.FieldMask
) –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.
This corresponds to the
update_mask
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A resource message representing a GA4 Audience.
- Return type
- async update_big_query_link(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.UpdateBigQueryLinkRequest, dict]] = None, *, bigquery_link: Optional[google.analytics.admin_v1alpha.types.resources.BigQueryLink] = None, update_mask: Optional[google.protobuf.field_mask_pb2.FieldMask] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.BigQueryLink [source]¶
Updates a BigQueryLink.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.UpdateBigQueryLinkRequest, dict]]) – The request object. Request message for UpdateBigQueryLink RPC.
bigquery_link (
google.analytics.admin_v1alpha.types.BigQueryLink
) –Required. The settings to update. The
name
field is used to identify the settings to be updated.This corresponds to the
bigquery_link
field on therequest
instance; ifrequest
is provided, this should not be set.update_mask (
google.protobuf.field_mask_pb2.FieldMask
) –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.
This corresponds to the
update_mask
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A link between a GA4 Property and BigQuery project.
- Return type
- async update_calculated_metric(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.UpdateCalculatedMetricRequest, dict]] = None, *, calculated_metric: Optional[google.analytics.admin_v1alpha.types.resources.CalculatedMetric] = None, update_mask: Optional[google.protobuf.field_mask_pb2.FieldMask] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.CalculatedMetric [source]¶
Updates a CalculatedMetric on a property.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.UpdateCalculatedMetricRequest, dict]]) – The request object. Request message for UpdateCalculatedMetric RPC.
calculated_metric (
google.analytics.admin_v1alpha.types.CalculatedMetric
) –Required. The CalculatedMetric to update
This corresponds to the
calculated_metric
field on therequest
instance; ifrequest
is provided, this should not be set.update_mask (
google.protobuf.field_mask_pb2.FieldMask
) –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.
This corresponds to the
update_mask
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A definition for a calculated metric.
- Return type
- async update_channel_group(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.UpdateChannelGroupRequest, dict]] = None, *, channel_group: Optional[google.analytics.admin_v1alpha.types.channel_group.ChannelGroup] = None, update_mask: Optional[google.protobuf.field_mask_pb2.FieldMask] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.channel_group.ChannelGroup [source]¶
Updates a ChannelGroup.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.UpdateChannelGroupRequest, dict]]) – The request object. Request message for UpdateChannelGroup RPC.
channel_group (
google.analytics.admin_v1alpha.types.ChannelGroup
) –Required. The ChannelGroup to update. The resource’s
name
field is used to identify the ChannelGroup to be updated.This corresponds to the
channel_group
field on therequest
instance; ifrequest
is provided, this should not be set.update_mask (
google.protobuf.field_mask_pb2.FieldMask
) –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.
This corresponds to the
update_mask
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A resource message representing a Channel Group.
- Return type
- async update_conversion_event(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.UpdateConversionEventRequest, dict]] = None, *, conversion_event: Optional[google.analytics.admin_v1alpha.types.resources.ConversionEvent] = None, update_mask: Optional[google.protobuf.field_mask_pb2.FieldMask] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.ConversionEvent [source]¶
Deprecated: Use
UpdateKeyEvent
instead. Updates a conversion event with the specified attributes.- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.UpdateConversionEventRequest, dict]]) – The request object. Request message for UpdateConversionEvent RPC
conversion_event (
google.analytics.admin_v1alpha.types.ConversionEvent
) –Required. The conversion event to update. The
name
field is used to identify the settings to be updated.This corresponds to the
conversion_event
field on therequest
instance; ifrequest
is provided, this should not be set.update_mask (
google.protobuf.field_mask_pb2.FieldMask
) –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.
This corresponds to the
update_mask
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A conversion event in a Google Analytics property.
- Return type
- async update_custom_dimension(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.UpdateCustomDimensionRequest, dict]] = None, *, custom_dimension: Optional[google.analytics.admin_v1alpha.types.resources.CustomDimension] = None, update_mask: Optional[google.protobuf.field_mask_pb2.FieldMask] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.CustomDimension [source]¶
Updates a CustomDimension on a property.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.UpdateCustomDimensionRequest, dict]]) – The request object. Request message for UpdateCustomDimension RPC.
custom_dimension (
google.analytics.admin_v1alpha.types.CustomDimension
) – The CustomDimension to update This corresponds to thecustom_dimension
field on therequest
instance; ifrequest
is provided, this should not be set.update_mask (
google.protobuf.field_mask_pb2.FieldMask
) –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.
This corresponds to the
update_mask
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A definition for a CustomDimension.
- Return type
- async update_custom_metric(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.UpdateCustomMetricRequest, dict]] = None, *, custom_metric: Optional[google.analytics.admin_v1alpha.types.resources.CustomMetric] = None, update_mask: Optional[google.protobuf.field_mask_pb2.FieldMask] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.CustomMetric [source]¶
Updates a CustomMetric on a property.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.UpdateCustomMetricRequest, dict]]) – The request object. Request message for UpdateCustomMetric RPC.
custom_metric (
google.analytics.admin_v1alpha.types.CustomMetric
) – The CustomMetric to update This corresponds to thecustom_metric
field on therequest
instance; ifrequest
is provided, this should not be set.update_mask (
google.protobuf.field_mask_pb2.FieldMask
) –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.
This corresponds to the
update_mask
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A definition for a custom metric.
- Return type
- async update_data_redaction_settings(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.UpdateDataRedactionSettingsRequest, dict]] = None, *, data_redaction_settings: Optional[google.analytics.admin_v1alpha.types.resources.DataRedactionSettings] = None, update_mask: Optional[google.protobuf.field_mask_pb2.FieldMask] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.DataRedactionSettings [source]¶
Updates a DataRedactionSettings on a property.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.UpdateDataRedactionSettingsRequest, dict]]) – The request object. Request message for UpdateDataRedactionSettings RPC.
data_redaction_settings (
google.analytics.admin_v1alpha.types.DataRedactionSettings
) –Required. The settings to update. The
name
field is used to identify the settings to be updated.This corresponds to the
data_redaction_settings
field on therequest
instance; ifrequest
is provided, this should not be set.update_mask (
google.protobuf.field_mask_pb2.FieldMask
) –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.
This corresponds to the
update_mask
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Settings for client-side data redaction. Singleton resource under a Web Stream.
- Return type
- async update_data_retention_settings(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.UpdateDataRetentionSettingsRequest, dict]] = None, *, data_retention_settings: Optional[google.analytics.admin_v1alpha.types.resources.DataRetentionSettings] = None, update_mask: Optional[google.protobuf.field_mask_pb2.FieldMask] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.DataRetentionSettings [source]¶
Updates the singleton data retention settings for this property.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.UpdateDataRetentionSettingsRequest, dict]]) – The request object. Request message for UpdateDataRetentionSettings RPC.
data_retention_settings (
google.analytics.admin_v1alpha.types.DataRetentionSettings
) –Required. The settings to update. The
name
field is used to identify the settings to be updated.This corresponds to the
data_retention_settings
field on therequest
instance; ifrequest
is provided, this should not be set.update_mask (
google.protobuf.field_mask_pb2.FieldMask
) –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.
This corresponds to the
update_mask
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Settings values for data retention. This is a singleton resource.
- Return type
- async update_data_stream(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.UpdateDataStreamRequest, dict]] = None, *, data_stream: Optional[google.analytics.admin_v1alpha.types.resources.DataStream] = None, update_mask: Optional[google.protobuf.field_mask_pb2.FieldMask] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.DataStream [source]¶
Updates a DataStream on a property.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.UpdateDataStreamRequest, dict]]) – The request object. Request message for UpdateDataStream RPC.
data_stream (
google.analytics.admin_v1alpha.types.DataStream
) – The DataStream to update This corresponds to thedata_stream
field on therequest
instance; ifrequest
is provided, this should not be set.update_mask (
google.protobuf.field_mask_pb2.FieldMask
) –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.
This corresponds to the
update_mask
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A resource message representing a data stream.
- Return type
- async update_display_video360_advertiser_link(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.UpdateDisplayVideo360AdvertiserLinkRequest, dict]] = None, *, display_video_360_advertiser_link: Optional[google.analytics.admin_v1alpha.types.resources.DisplayVideo360AdvertiserLink] = None, update_mask: Optional[google.protobuf.field_mask_pb2.FieldMask] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.DisplayVideo360AdvertiserLink [source]¶
Updates a DisplayVideo360AdvertiserLink on a property.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.UpdateDisplayVideo360AdvertiserLinkRequest, dict]]) – The request object. Request message for UpdateDisplayVideo360AdvertiserLink RPC.
display_video_360_advertiser_link (
google.analytics.admin_v1alpha.types.DisplayVideo360AdvertiserLink
) –The DisplayVideo360AdvertiserLink to update
This corresponds to the
display_video_360_advertiser_link
field on therequest
instance; ifrequest
is provided, this should not be set.update_mask (
google.protobuf.field_mask_pb2.FieldMask
) –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.
This corresponds to the
update_mask
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A link between a GA4 property and a Display & Video 360 advertiser.
- Return type
google.analytics.admin_v1alpha.types.DisplayVideo360AdvertiserLink
- async update_enhanced_measurement_settings(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.UpdateEnhancedMeasurementSettingsRequest, dict]] = None, *, enhanced_measurement_settings: Optional[google.analytics.admin_v1alpha.types.resources.EnhancedMeasurementSettings] = None, update_mask: Optional[google.protobuf.field_mask_pb2.FieldMask] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.EnhancedMeasurementSettings [source]¶
Updates the enhanced measurement settings for this data stream. Note that the stream must enable enhanced measurement for these settings to take effect.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.UpdateEnhancedMeasurementSettingsRequest, dict]]) – The request object. Request message for UpdateEnhancedMeasurementSettings RPC.
enhanced_measurement_settings (
google.analytics.admin_v1alpha.types.EnhancedMeasurementSettings
) –Required. The settings to update. The
name
field is used to identify the settings to be updated.This corresponds to the
enhanced_measurement_settings
field on therequest
instance; ifrequest
is provided, this should not be set.update_mask (
google.protobuf.field_mask_pb2.FieldMask
) –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.
This corresponds to the
update_mask
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Singleton resource under a web DataStream, configuring measurement of additional site interactions and content.
- Return type
google.analytics.admin_v1alpha.types.EnhancedMeasurementSettings
- async update_event_create_rule(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.UpdateEventCreateRuleRequest, dict]] = None, *, event_create_rule: Optional[google.analytics.admin_v1alpha.types.event_create_and_edit.EventCreateRule] = None, update_mask: Optional[google.protobuf.field_mask_pb2.FieldMask] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.event_create_and_edit.EventCreateRule [source]¶
Updates an EventCreateRule.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.UpdateEventCreateRuleRequest, dict]]) – The request object. Request message for UpdateEventCreateRule RPC.
event_create_rule (
google.analytics.admin_v1alpha.types.EventCreateRule
) –Required. The EventCreateRule to update. The resource’s
name
field is used to identify the EventCreateRule to be updated.This corresponds to the
event_create_rule
field on therequest
instance; ifrequest
is provided, this should not be set.update_mask (
google.protobuf.field_mask_pb2.FieldMask
) –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.
This corresponds to the
update_mask
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
An Event Create Rule defines conditions that will trigger the creation of an entirely new event based upon matched criteria of a source event. Additional mutations of the parameters from the source event can be defined.
Unlike Event Edit rules, Event Creation Rules have no defined order. They will all be run independently.
Event Edit and Event Create rules can’t be used to modify an event created from an Event Create rule.
- Return type
- async update_event_edit_rule(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.UpdateEventEditRuleRequest, dict]] = None, *, event_edit_rule: Optional[google.analytics.admin_v1alpha.types.event_create_and_edit.EventEditRule] = None, update_mask: Optional[google.protobuf.field_mask_pb2.FieldMask] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.event_create_and_edit.EventEditRule [source]¶
Updates an EventEditRule.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.UpdateEventEditRuleRequest, dict]]) – The request object. Request message for UpdateEventEditRule RPC.
event_edit_rule (
google.analytics.admin_v1alpha.types.EventEditRule
) –Required. The EventEditRule to update. The resource’s
name
field is used to identify the EventEditRule to be updated.This corresponds to the
event_edit_rule
field on therequest
instance; ifrequest
is provided, this should not be set.update_mask (
google.protobuf.field_mask_pb2.FieldMask
) –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.
This corresponds to the
update_mask
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
An Event Edit Rule defines conditions that will trigger the creation of an entirely new event based upon matched criteria of a source event. Additional mutations of the parameters from the source event can be defined.
Unlike Event Create rules, Event Edit Rules are applied in their defined order.
Event Edit rules can’t be used to modify an event created from an Event Create rule.
- Return type
- async update_expanded_data_set(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.UpdateExpandedDataSetRequest, dict]] = None, *, expanded_data_set: Optional[google.analytics.admin_v1alpha.types.expanded_data_set.ExpandedDataSet] = None, update_mask: Optional[google.protobuf.field_mask_pb2.FieldMask] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.expanded_data_set.ExpandedDataSet [source]¶
Updates a ExpandedDataSet on a property.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.UpdateExpandedDataSetRequest, dict]]) – The request object. Request message for UpdateExpandedDataSet RPC.
expanded_data_set (
google.analytics.admin_v1alpha.types.ExpandedDataSet
) –Required. The ExpandedDataSet to update. The resource’s
name
field is used to identify the ExpandedDataSet to be updated.This corresponds to the
expanded_data_set
field on therequest
instance; ifrequest
is provided, this should not be set.update_mask (
google.protobuf.field_mask_pb2.FieldMask
) –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.
This corresponds to the
update_mask
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A resource message representing a GA4 ExpandedDataSet.
- Return type
- async update_google_ads_link(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.UpdateGoogleAdsLinkRequest, dict]] = None, *, google_ads_link: Optional[google.analytics.admin_v1alpha.types.resources.GoogleAdsLink] = None, update_mask: Optional[google.protobuf.field_mask_pb2.FieldMask] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.GoogleAdsLink [source]¶
Updates a GoogleAdsLink on a property
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.UpdateGoogleAdsLinkRequest, dict]]) – The request object. Request message for UpdateGoogleAdsLink RPC
google_ads_link (
google.analytics.admin_v1alpha.types.GoogleAdsLink
) – The GoogleAdsLink to update This corresponds to thegoogle_ads_link
field on therequest
instance; ifrequest
is provided, this should not be set.update_mask (
google.protobuf.field_mask_pb2.FieldMask
) –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.
This corresponds to the
update_mask
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A link between a GA4 property and a Google Ads account.
- Return type
- async update_google_signals_settings(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.UpdateGoogleSignalsSettingsRequest, dict]] = None, *, google_signals_settings: Optional[google.analytics.admin_v1alpha.types.resources.GoogleSignalsSettings] = None, update_mask: Optional[google.protobuf.field_mask_pb2.FieldMask] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.GoogleSignalsSettings [source]¶
Updates Google Signals settings for a property.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.UpdateGoogleSignalsSettingsRequest, dict]]) – The request object. Request message for UpdateGoogleSignalsSettings RPC
google_signals_settings (
google.analytics.admin_v1alpha.types.GoogleSignalsSettings
) –Required. The settings to update. The
name
field is used to identify the settings to be updated.This corresponds to the
google_signals_settings
field on therequest
instance; ifrequest
is provided, this should not be set.update_mask (
google.protobuf.field_mask_pb2.FieldMask
) –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.
This corresponds to the
update_mask
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Settings values for Google Signals. This is a singleton resource.
- Return type
- async update_key_event(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.UpdateKeyEventRequest, dict]] = None, *, key_event: Optional[google.analytics.admin_v1alpha.types.resources.KeyEvent] = None, update_mask: Optional[google.protobuf.field_mask_pb2.FieldMask] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.KeyEvent [source]¶
Updates a Key Event.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.UpdateKeyEventRequest, dict]]) – The request object. Request message for UpdateKeyEvent RPC
key_event (
google.analytics.admin_v1alpha.types.KeyEvent
) –Required. The Key Event to update. The
name
field is used to identify the settings to be updated.This corresponds to the
key_event
field on therequest
instance; ifrequest
is provided, this should not be set.update_mask (
google.protobuf.field_mask_pb2.FieldMask
) –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.
This corresponds to the
update_mask
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A key event in a Google Analytics property.
- Return type
- async update_measurement_protocol_secret(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.UpdateMeasurementProtocolSecretRequest, dict]] = None, *, measurement_protocol_secret: Optional[google.analytics.admin_v1alpha.types.resources.MeasurementProtocolSecret] = None, update_mask: Optional[google.protobuf.field_mask_pb2.FieldMask] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.MeasurementProtocolSecret [source]¶
Updates a measurement protocol secret.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.UpdateMeasurementProtocolSecretRequest, dict]]) – The request object. Request message for UpdateMeasurementProtocolSecret RPC
measurement_protocol_secret (
google.analytics.admin_v1alpha.types.MeasurementProtocolSecret
) –Required. The measurement protocol secret to update.
This corresponds to the
measurement_protocol_secret
field on therequest
instance; ifrequest
is provided, this should not be set.update_mask (
google.protobuf.field_mask_pb2.FieldMask
) –Required. The list of fields to be updated. Omitted fields will not be updated.
This corresponds to the
update_mask
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A secret value used for sending hits to Measurement Protocol.
- Return type
google.analytics.admin_v1alpha.types.MeasurementProtocolSecret
- async update_property(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.UpdatePropertyRequest, dict]] = None, *, property: Optional[google.analytics.admin_v1alpha.types.resources.Property] = None, update_mask: Optional[google.protobuf.field_mask_pb2.FieldMask] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.Property [source]¶
Updates a property.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.UpdatePropertyRequest, dict]]) – The request object. Request message for UpdateProperty RPC.
property (
google.analytics.admin_v1alpha.types.Property
) –Required. The property to update. The property’s
name
field is used to identify the property to be updated.This corresponds to the
property
field on therequest
instance; ifrequest
is provided, this should not be set.update_mask (
google.protobuf.field_mask_pb2.FieldMask
) –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.
This corresponds to the
update_mask
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A resource message representing a Google Analytics GA4 property.
- Return type
- async update_search_ads360_link(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.UpdateSearchAds360LinkRequest, dict]] = None, *, search_ads_360_link: Optional[google.analytics.admin_v1alpha.types.resources.SearchAds360Link] = None, update_mask: Optional[google.protobuf.field_mask_pb2.FieldMask] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.SearchAds360Link [source]¶
Updates a SearchAds360Link on a property.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.UpdateSearchAds360LinkRequest, dict]]) – The request object. Request message for UpdateSearchAds360Link RPC.
search_ads_360_link (
google.analytics.admin_v1alpha.types.SearchAds360Link
) – The SearchAds360Link to update This corresponds to thesearch_ads_360_link
field on therequest
instance; ifrequest
is provided, this should not be set.update_mask (
google.protobuf.field_mask_pb2.FieldMask
) –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.
This corresponds to the
update_mask
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A link between a GA4 property and a Search Ads 360 entity.
- Return type
- async update_sk_ad_network_conversion_value_schema(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.UpdateSKAdNetworkConversionValueSchemaRequest, dict]] = None, *, skadnetwork_conversion_value_schema: Optional[google.analytics.admin_v1alpha.types.resources.SKAdNetworkConversionValueSchema] = None, update_mask: Optional[google.protobuf.field_mask_pb2.FieldMask] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.SKAdNetworkConversionValueSchema [source]¶
Updates a SKAdNetworkConversionValueSchema.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.UpdateSKAdNetworkConversionValueSchemaRequest, dict]]) – The request object. Request message for UpdateSKAdNetworkConversionValueSchema RPC.
skadnetwork_conversion_value_schema (
google.analytics.admin_v1alpha.types.SKAdNetworkConversionValueSchema
) –Required. SKAdNetwork conversion value schema to update.
This corresponds to the
skadnetwork_conversion_value_schema
field on therequest
instance; ifrequest
is provided, this should not be set.update_mask (
google.protobuf.field_mask_pb2.FieldMask
) –Required. The list of fields to be updated. Omitted fields will not be updated.
This corresponds to the
update_mask
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
SKAdNetwork conversion value schema of an iOS stream.
- Return type
google.analytics.admin_v1alpha.types.SKAdNetworkConversionValueSchema
- async update_subproperty_event_filter(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.UpdateSubpropertyEventFilterRequest, dict]] = None, *, subproperty_event_filter: Optional[google.analytics.admin_v1alpha.types.subproperty_event_filter.SubpropertyEventFilter] = None, update_mask: Optional[google.protobuf.field_mask_pb2.FieldMask] = None, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.subproperty_event_filter.SubpropertyEventFilter [source]¶
Updates a subproperty Event Filter.
- Parameters
request (Optional[Union[google.analytics.admin_v1alpha.types.UpdateSubpropertyEventFilterRequest, dict]]) – The request object. Request message for UpdateSubpropertyEventFilter RPC.
subproperty_event_filter (
google.analytics.admin_v1alpha.types.SubpropertyEventFilter
) –Required. The subproperty event filter to update.
This corresponds to the
subproperty_event_filter
field on therequest
instance; ifrequest
is provided, this should not be set.update_mask (
google.protobuf.field_mask_pb2.FieldMask
) –Required. The list of fields to update. 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.
This corresponds to the
update_mask
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry_async.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A resource message representing a GA4 Subproperty event filter.
- Return type
- class google.analytics.admin_v1alpha.services.analytics_admin_service.AnalyticsAdminServiceClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.analytics.admin_v1alpha.services.analytics_admin_service.transports.base.AnalyticsAdminServiceTransport, typing.Callable[[...], google.analytics.admin_v1alpha.services.analytics_admin_service.transports.base.AnalyticsAdminServiceTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo = <google.api_core.gapic_v1.client_info.ClientInfo object>)[source]¶
Service Interface for the Analytics Admin API (GA4).
Instantiates the analytics admin service client.
- Parameters
credentials (Optional[google.auth.credentials.Credentials]) – The authorization credentials to attach to requests. These credentials identify the application to the service; if none are specified, the client will attempt to ascertain the credentials from the environment.
transport (Optional[Union[str,AnalyticsAdminServiceTransport,Callable[..., AnalyticsAdminServiceTransport]]]) – The transport to use, or a Callable that constructs and returns a new transport. If a Callable is given, it will be called with the same set of initialization arguments as used in the AnalyticsAdminServiceTransport constructor. If set to None, a transport is chosen automatically.
client_options (Optional[Union[google.api_core.client_options.ClientOptions, dict]]) –
Custom options for the client.
1. The
api_endpoint
property can be used to override the default endpoint provided by the client whentransport
is not explicitly provided. Only if this property is not set andtransport
was not explicitly provided, the endpoint is determined by the GOOGLE_API_USE_MTLS_ENDPOINT environment variable, which have one of the following values: “always” (always use the default mTLS endpoint), “never” (always use the default regular endpoint) and “auto” (auto-switch to the default mTLS endpoint if client certificate is present; this is the default value).2. If the GOOGLE_API_USE_CLIENT_CERTIFICATE environment variable is “true”, then the
client_cert_source
property can be used to provide a client certificate for mTLS transport. If not provided, the default SSL client certificate will be used if present. If GOOGLE_API_USE_CLIENT_CERTIFICATE is “false” or not set, no client certificate will be used.3. The
universe_domain
property can be used to override the default “googleapis.com” universe. Note that theapi_endpoint
property still takes precedence; anduniverse_domain
is currently not supported for mTLS.client_info (google.api_core.gapic_v1.client_info.ClientInfo) – The client info used to send a user-agent string along with API requests. If
None
, then default info will be used. Generally, you only need to set this if you’re developing your own client library.
- Raises
google.auth.exceptions.MutualTLSChannelError – If mutual TLS transport creation failed for any reason.
- __exit__(type, value, traceback)[source]¶
Releases underlying transport’s resources.
Warning
ONLY use as a context manager if the transport is NOT shared with other clients! Exiting the with block will CLOSE the transport and may cause errors in other clients!
- static access_binding_path(account: str, access_binding: str) str [source]¶
Returns a fully-qualified access_binding string.
- static account_summary_path(account_summary: str) str [source]¶
Returns a fully-qualified account_summary string.
- acknowledge_user_data_collection(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.AcknowledgeUserDataCollectionRequest, dict]] = None, *, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.analytics_admin.AcknowledgeUserDataCollectionResponse [source]¶
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.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.AcknowledgeUserDataCollectionRequest, dict]) – The request object. Request message for AcknowledgeUserDataCollection RPC.
retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for AcknowledgeUserDataCollection RPC.
- Return type
google.analytics.admin_v1alpha.types.AcknowledgeUserDataCollectionResponse
- static ad_sense_link_path(property: str, adsense_link: str) str [source]¶
Returns a fully-qualified ad_sense_link string.
- property api_endpoint¶
Return the API endpoint used by the client instance.
- Returns
The API endpoint used by the client instance.
- Return type
- approve_display_video360_advertiser_link_proposal(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ApproveDisplayVideo360AdvertiserLinkProposalRequest, dict]] = None, *, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.analytics_admin.ApproveDisplayVideo360AdvertiserLinkProposalResponse [source]¶
Approves a DisplayVideo360AdvertiserLinkProposal. The DisplayVideo360AdvertiserLinkProposal will be deleted and a new DisplayVideo360AdvertiserLink will be created.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.ApproveDisplayVideo360AdvertiserLinkProposalRequest, dict]) – The request object. Request message for ApproveDisplayVideo360AdvertiserLinkProposal RPC.
retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ApproveDisplayVideo360AdvertiserLinkProposal RPC.
- Return type
google.analytics.admin_v1alpha.types.ApproveDisplayVideo360AdvertiserLinkProposalResponse
- archive_audience(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ArchiveAudienceRequest, dict]] = None, *, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) None [source]¶
Archives an Audience on a property.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.ArchiveAudienceRequest, dict]) – The request object. Request message for ArchiveAudience RPC.
retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- archive_custom_dimension(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ArchiveCustomDimensionRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) None [source]¶
Archives a CustomDimension on a property.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.ArchiveCustomDimensionRequest, dict]) – The request object. Request message for ArchiveCustomDimension RPC.
name (str) –
Required. The name of the CustomDimension to archive. Example format: properties/1234/customDimensions/5678
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- archive_custom_metric(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ArchiveCustomMetricRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) None [source]¶
Archives a CustomMetric on a property.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.ArchiveCustomMetricRequest, dict]) – The request object. Request message for ArchiveCustomMetric RPC.
name (str) –
Required. The name of the CustomMetric to archive. Example format: properties/1234/customMetrics/5678
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- static attribution_settings_path(property: str) str [source]¶
Returns a fully-qualified attribution_settings string.
- static audience_path(property: str, audience: str) str [source]¶
Returns a fully-qualified audience string.
- batch_create_access_bindings(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.BatchCreateAccessBindingsRequest, dict]] = None, *, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.analytics_admin.BatchCreateAccessBindingsResponse [source]¶
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.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.BatchCreateAccessBindingsRequest, dict]) – The request object. Request message for BatchCreateAccessBindings RPC.
retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for BatchCreateAccessBindings RPC.
- Return type
google.analytics.admin_v1alpha.types.BatchCreateAccessBindingsResponse
- batch_delete_access_bindings(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.BatchDeleteAccessBindingsRequest, dict]] = None, *, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) None [source]¶
Deletes information about multiple users’ links to an account or property.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.BatchDeleteAccessBindingsRequest, dict]) – The request object. Request message for BatchDeleteAccessBindings RPC.
retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- batch_get_access_bindings(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.BatchGetAccessBindingsRequest, dict]] = None, *, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.analytics_admin.BatchGetAccessBindingsResponse [source]¶
Gets information about multiple access bindings to an account or property.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.BatchGetAccessBindingsRequest, dict]) – The request object. Request message for BatchGetAccessBindings RPC.
retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for BatchGetAccessBindings RPC.
- Return type
google.analytics.admin_v1alpha.types.BatchGetAccessBindingsResponse
- batch_update_access_bindings(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.BatchUpdateAccessBindingsRequest, dict]] = None, *, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.analytics_admin.BatchUpdateAccessBindingsResponse [source]¶
Updates information about multiple access bindings to an account or property.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.BatchUpdateAccessBindingsRequest, dict]) – The request object. Request message for BatchUpdateAccessBindings RPC.
retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for BatchUpdateAccessBindings RPC.
- Return type
google.analytics.admin_v1alpha.types.BatchUpdateAccessBindingsResponse
- static big_query_link_path(property: str, bigquery_link: str) str [source]¶
Returns a fully-qualified big_query_link string.
- static calculated_metric_path(property: str, calculated_metric: str) str [source]¶
Returns a fully-qualified calculated_metric string.
- cancel_display_video360_advertiser_link_proposal(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.CancelDisplayVideo360AdvertiserLinkProposalRequest, dict]] = None, *, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.DisplayVideo360AdvertiserLinkProposal [source]¶
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.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.CancelDisplayVideo360AdvertiserLinkProposalRequest, dict]) – The request object. Request message for CancelDisplayVideo360AdvertiserLinkProposal RPC.
retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
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.
- Return type
google.analytics.admin_v1alpha.types.DisplayVideo360AdvertiserLinkProposal
- static channel_group_path(property: str, channel_group: str) str [source]¶
Returns a fully-qualified channel_group string.
- static common_billing_account_path(billing_account: str) str [source]¶
Returns a fully-qualified billing_account string.
- static common_location_path(project: str, location: str) str [source]¶
Returns a fully-qualified location string.
- static common_organization_path(organization: str) str [source]¶
Returns a fully-qualified organization string.
- static conversion_event_path(property: str, conversion_event: str) str [source]¶
Returns a fully-qualified conversion_event string.
- create_access_binding(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.CreateAccessBindingRequest, dict]] = None, *, parent: Optional[str] = None, access_binding: Optional[google.analytics.admin_v1alpha.types.resources.AccessBinding] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.AccessBinding [source]¶
Creates an access binding on an account or property.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.CreateAccessBindingRequest, dict]) – The request object. Request message for CreateAccessBinding RPC.
parent (str) –
Required. Formats:
accounts/{account}
properties/{property}
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.access_binding (google.analytics.admin_v1alpha.types.AccessBinding) –
Required. The access binding to create.
This corresponds to the
access_binding
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A binding of a user to a set of roles.
- Return type
- create_ad_sense_link(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.CreateAdSenseLinkRequest, dict]] = None, *, parent: Optional[str] = None, adsense_link: Optional[google.analytics.admin_v1alpha.types.resources.AdSenseLink] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.AdSenseLink [source]¶
Creates an AdSenseLink.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.CreateAdSenseLinkRequest, dict]) – The request object. Request message to be passed to CreateAdSenseLink method.
parent (str) –
Required. The property for which to create an AdSense Link. Format: properties/{propertyId} Example: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.adsense_link (google.analytics.admin_v1alpha.types.AdSenseLink) – Required. The AdSense Link to create This corresponds to the
adsense_link
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A link between a GA4 Property and an AdSense for Content ad client.
- Return type
- create_audience(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.CreateAudienceRequest, dict]] = None, *, parent: Optional[str] = None, audience: Optional[google.analytics.admin_v1alpha.types.audience.Audience] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.audience.Audience [source]¶
Creates an Audience.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.CreateAudienceRequest, dict]) – The request object. Request message for CreateAudience RPC.
parent (str) –
Required. Example format: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.audience (google.analytics.admin_v1alpha.types.Audience) – Required. The audience to create. This corresponds to the
audience
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A resource message representing a GA4 Audience.
- Return type
- create_big_query_link(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.CreateBigQueryLinkRequest, dict]] = None, *, parent: Optional[str] = None, bigquery_link: Optional[google.analytics.admin_v1alpha.types.resources.BigQueryLink] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.BigQueryLink [source]¶
Creates a BigQueryLink.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.CreateBigQueryLinkRequest, dict]) – The request object. Request message for CreateBigQueryLink RPC.
parent (str) –
Required. Example format: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.bigquery_link (google.analytics.admin_v1alpha.types.BigQueryLink) – Required. The BigQueryLink to create. This corresponds to the
bigquery_link
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A link between a GA4 Property and BigQuery project.
- Return type
- create_calculated_metric(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.CreateCalculatedMetricRequest, dict]] = None, *, parent: Optional[str] = None, calculated_metric: Optional[google.analytics.admin_v1alpha.types.resources.CalculatedMetric] = None, calculated_metric_id: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.CalculatedMetric [source]¶
Creates a CalculatedMetric.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.CreateCalculatedMetricRequest, dict]) – The request object. Request message for CreateCalculatedMetric RPC.
parent (str) –
Required. Format: properties/{property_id} Example: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.calculated_metric (google.analytics.admin_v1alpha.types.CalculatedMetric) –
Required. The CalculatedMetric to create.
This corresponds to the
calculated_metric
field on therequest
instance; ifrequest
is provided, this should not be set.calculated_metric_id (str) –
Required. The ID to use for the calculated metric which will become the final component of the calculated metric’s resource name.
This value should be 1-80 characters and valid characters are [a-zA-Z0-9_], no spaces allowed. calculated_metric_id must be unique between all calculated metrics under a property. The calculated_metric_id is used when referencing this calculated metric from external APIs, for example, “calcMetric:{calculated_metric_id}”.
This corresponds to the
calculated_metric_id
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A definition for a calculated metric.
- Return type
- create_channel_group(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.CreateChannelGroupRequest, dict]] = None, *, parent: Optional[str] = None, channel_group: Optional[google.analytics.admin_v1alpha.types.channel_group.ChannelGroup] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.channel_group.ChannelGroup [source]¶
Creates a ChannelGroup.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.CreateChannelGroupRequest, dict]) – The request object. Request message for CreateChannelGroup RPC.
parent (str) –
Required. The property for which to create a ChannelGroup. Example format: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.channel_group (google.analytics.admin_v1alpha.types.ChannelGroup) – Required. The ChannelGroup to create. This corresponds to the
channel_group
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A resource message representing a Channel Group.
- Return type
- create_connected_site_tag(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.CreateConnectedSiteTagRequest, dict]] = None, *, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.analytics_admin.CreateConnectedSiteTagResponse [source]¶
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.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.CreateConnectedSiteTagRequest, dict]) – The request object. Request message for CreateConnectedSiteTag RPC.
retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for CreateConnectedSiteTag RPC.
- Return type
google.analytics.admin_v1alpha.types.CreateConnectedSiteTagResponse
- create_conversion_event(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.CreateConversionEventRequest, dict]] = None, *, parent: Optional[str] = None, conversion_event: Optional[google.analytics.admin_v1alpha.types.resources.ConversionEvent] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.ConversionEvent [source]¶
Deprecated: Use
CreateKeyEvent
instead. Creates a conversion event with the specified attributes.- Parameters
request (Union[google.analytics.admin_v1alpha.types.CreateConversionEventRequest, dict]) – The request object. Request message for CreateConversionEvent RPC
parent (str) –
Required. The resource name of the parent property where this conversion event will be created. Format: properties/123
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.conversion_event (google.analytics.admin_v1alpha.types.ConversionEvent) –
Required. The conversion event to create.
This corresponds to the
conversion_event
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A conversion event in a Google Analytics property.
- Return type
- create_custom_dimension(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.CreateCustomDimensionRequest, dict]] = None, *, parent: Optional[str] = None, custom_dimension: Optional[google.analytics.admin_v1alpha.types.resources.CustomDimension] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.CustomDimension [source]¶
Creates a CustomDimension.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.CreateCustomDimensionRequest, dict]) – The request object. Request message for CreateCustomDimension RPC.
parent (str) –
Required. Example format: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.custom_dimension (google.analytics.admin_v1alpha.types.CustomDimension) –
Required. The CustomDimension to create.
This corresponds to the
custom_dimension
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A definition for a CustomDimension.
- Return type
- create_custom_metric(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.CreateCustomMetricRequest, dict]] = None, *, parent: Optional[str] = None, custom_metric: Optional[google.analytics.admin_v1alpha.types.resources.CustomMetric] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.CustomMetric [source]¶
Creates a CustomMetric.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.CreateCustomMetricRequest, dict]) – The request object. Request message for CreateCustomMetric RPC.
parent (str) –
Required. Example format: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.custom_metric (google.analytics.admin_v1alpha.types.CustomMetric) – Required. The CustomMetric to create. This corresponds to the
custom_metric
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A definition for a custom metric.
- Return type
- create_data_stream(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.CreateDataStreamRequest, dict]] = None, *, parent: Optional[str] = None, data_stream: Optional[google.analytics.admin_v1alpha.types.resources.DataStream] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.DataStream [source]¶
Creates a DataStream.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.CreateDataStreamRequest, dict]) – The request object. Request message for CreateDataStream RPC.
parent (str) –
Required. Example format: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.data_stream (google.analytics.admin_v1alpha.types.DataStream) – Required. The DataStream to create. This corresponds to the
data_stream
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A resource message representing a data stream.
- Return type
- create_display_video360_advertiser_link(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.CreateDisplayVideo360AdvertiserLinkRequest, dict]] = None, *, parent: Optional[str] = None, display_video_360_advertiser_link: Optional[google.analytics.admin_v1alpha.types.resources.DisplayVideo360AdvertiserLink] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.DisplayVideo360AdvertiserLink [source]¶
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.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.CreateDisplayVideo360AdvertiserLinkRequest, dict]) – The request object. Request message for CreateDisplayVideo360AdvertiserLink RPC.
parent (str) –
Required. Example format: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.display_video_360_advertiser_link (google.analytics.admin_v1alpha.types.DisplayVideo360AdvertiserLink) –
Required. The DisplayVideo360AdvertiserLink to create.
This corresponds to the
display_video_360_advertiser_link
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A link between a GA4 property and a Display & Video 360 advertiser.
- Return type
google.analytics.admin_v1alpha.types.DisplayVideo360AdvertiserLink
- create_display_video360_advertiser_link_proposal(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.CreateDisplayVideo360AdvertiserLinkProposalRequest, dict]] = None, *, parent: Optional[str] = None, display_video_360_advertiser_link_proposal: Optional[google.analytics.admin_v1alpha.types.resources.DisplayVideo360AdvertiserLinkProposal] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.DisplayVideo360AdvertiserLinkProposal [source]¶
Creates a DisplayVideo360AdvertiserLinkProposal.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.CreateDisplayVideo360AdvertiserLinkProposalRequest, dict]) – The request object. Request message for CreateDisplayVideo360AdvertiserLinkProposal RPC.
parent (str) –
Required. Example format: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.display_video_360_advertiser_link_proposal (google.analytics.admin_v1alpha.types.DisplayVideo360AdvertiserLinkProposal) –
Required. The DisplayVideo360AdvertiserLinkProposal to create.
This corresponds to the
display_video_360_advertiser_link_proposal
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
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.
- Return type
google.analytics.admin_v1alpha.types.DisplayVideo360AdvertiserLinkProposal
- create_event_create_rule(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.CreateEventCreateRuleRequest, dict]] = None, *, parent: Optional[str] = None, event_create_rule: Optional[google.analytics.admin_v1alpha.types.event_create_and_edit.EventCreateRule] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.event_create_and_edit.EventCreateRule [source]¶
Creates an EventCreateRule.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.CreateEventCreateRuleRequest, dict]) – The request object. Request message for CreateEventCreateRule RPC.
parent (str) –
Required. Example format: properties/123/dataStreams/456
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.event_create_rule (google.analytics.admin_v1alpha.types.EventCreateRule) –
Required. The EventCreateRule to create.
This corresponds to the
event_create_rule
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
An Event Create Rule defines conditions that will trigger the creation of an entirely new event based upon matched criteria of a source event. Additional mutations of the parameters from the source event can be defined.
Unlike Event Edit rules, Event Creation Rules have no defined order. They will all be run independently.
Event Edit and Event Create rules can’t be used to modify an event created from an Event Create rule.
- Return type
- create_event_edit_rule(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.CreateEventEditRuleRequest, dict]] = None, *, parent: Optional[str] = None, event_edit_rule: Optional[google.analytics.admin_v1alpha.types.event_create_and_edit.EventEditRule] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.event_create_and_edit.EventEditRule [source]¶
Creates an EventEditRule.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.CreateEventEditRuleRequest, dict]) – The request object. Request message for CreateEventEditRule RPC.
parent (str) –
Required. Example format: properties/123/dataStreams/456
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.event_edit_rule (google.analytics.admin_v1alpha.types.EventEditRule) –
Required. The EventEditRule to create.
This corresponds to the
event_edit_rule
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
An Event Edit Rule defines conditions that will trigger the creation of an entirely new event based upon matched criteria of a source event. Additional mutations of the parameters from the source event can be defined.
Unlike Event Create rules, Event Edit Rules are applied in their defined order.
Event Edit rules can’t be used to modify an event created from an Event Create rule.
- Return type
- create_expanded_data_set(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.CreateExpandedDataSetRequest, dict]] = None, *, parent: Optional[str] = None, expanded_data_set: Optional[google.analytics.admin_v1alpha.types.expanded_data_set.ExpandedDataSet] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.expanded_data_set.ExpandedDataSet [source]¶
Creates a ExpandedDataSet.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.CreateExpandedDataSetRequest, dict]) – The request object. Request message for CreateExpandedDataSet RPC.
parent (str) –
Required. Example format: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.expanded_data_set (google.analytics.admin_v1alpha.types.ExpandedDataSet) –
Required. The ExpandedDataSet to create.
This corresponds to the
expanded_data_set
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A resource message representing a GA4 ExpandedDataSet.
- Return type
- create_firebase_link(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.CreateFirebaseLinkRequest, dict]] = None, *, parent: Optional[str] = None, firebase_link: Optional[google.analytics.admin_v1alpha.types.resources.FirebaseLink] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.FirebaseLink [source]¶
Creates a FirebaseLink.
Properties can have at most one FirebaseLink.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.CreateFirebaseLinkRequest, dict]) – The request object. Request message for CreateFirebaseLink RPC
parent (str) –
Required. Format: properties/{property_id}
Example:
properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.firebase_link (google.analytics.admin_v1alpha.types.FirebaseLink) –
Required. The Firebase link to create.
This corresponds to the
firebase_link
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A link between a GA4 property and a Firebase project.
- Return type
- create_google_ads_link(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.CreateGoogleAdsLinkRequest, dict]] = None, *, parent: Optional[str] = None, google_ads_link: Optional[google.analytics.admin_v1alpha.types.resources.GoogleAdsLink] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.GoogleAdsLink [source]¶
Creates a GoogleAdsLink.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.CreateGoogleAdsLinkRequest, dict]) – The request object. Request message for CreateGoogleAdsLink RPC
parent (str) –
Required. Example format: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.google_ads_link (google.analytics.admin_v1alpha.types.GoogleAdsLink) –
Required. The GoogleAdsLink to create.
This corresponds to the
google_ads_link
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A link between a GA4 property and a Google Ads account.
- Return type
- create_key_event(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.CreateKeyEventRequest, dict]] = None, *, parent: Optional[str] = None, key_event: Optional[google.analytics.admin_v1alpha.types.resources.KeyEvent] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.KeyEvent [source]¶
Creates a Key Event.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.CreateKeyEventRequest, dict]) – The request object. Request message for CreateKeyEvent RPC
parent (str) –
Required. The resource name of the parent property where this Key Event will be created. Format: properties/123
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.key_event (google.analytics.admin_v1alpha.types.KeyEvent) – Required. The Key Event to create. This corresponds to the
key_event
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A key event in a Google Analytics property.
- Return type
- create_measurement_protocol_secret(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.CreateMeasurementProtocolSecretRequest, dict]] = None, *, parent: Optional[str] = None, measurement_protocol_secret: Optional[google.analytics.admin_v1alpha.types.resources.MeasurementProtocolSecret] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.MeasurementProtocolSecret [source]¶
Creates a measurement protocol secret.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.CreateMeasurementProtocolSecretRequest, dict]) – The request object. Request message for CreateMeasurementProtocolSecret RPC
parent (str) –
Required. The parent resource where this secret will be created. Format: properties/{property}/dataStreams/{dataStream}
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.measurement_protocol_secret (google.analytics.admin_v1alpha.types.MeasurementProtocolSecret) –
Required. The measurement protocol secret to create.
This corresponds to the
measurement_protocol_secret
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A secret value used for sending hits to Measurement Protocol.
- Return type
google.analytics.admin_v1alpha.types.MeasurementProtocolSecret
- create_property(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.CreatePropertyRequest, dict]] = None, *, property: Optional[google.analytics.admin_v1alpha.types.resources.Property] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.Property [source]¶
Creates an “GA4” property with the specified location and attributes.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.CreatePropertyRequest, dict]) – The request object. Request message for CreateProperty RPC.
property (google.analytics.admin_v1alpha.types.Property) –
Required. The property to create. Note: the supplied property must specify its parent.
This corresponds to the
property
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A resource message representing a Google Analytics GA4 property.
- Return type
- create_rollup_property(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.CreateRollupPropertyRequest, dict]] = None, *, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.analytics_admin.CreateRollupPropertyResponse [source]¶
Create a roll-up property and all roll-up property source links.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.CreateRollupPropertyRequest, dict]) – The request object. Request message for CreateRollupProperty RPC.
retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for CreateRollupProperty RPC.
- Return type
google.analytics.admin_v1alpha.types.CreateRollupPropertyResponse
- create_rollup_property_source_link(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.CreateRollupPropertySourceLinkRequest, dict]] = None, *, parent: Optional[str] = None, rollup_property_source_link: Optional[google.analytics.admin_v1alpha.types.resources.RollupPropertySourceLink] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.RollupPropertySourceLink [source]¶
Creates a roll-up property source link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.CreateRollupPropertySourceLinkRequest, dict]) – The request object. Request message for CreateRollupPropertySourceLink RPC.
parent (str) –
Required. Format: properties/{property_id} Example: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.rollup_property_source_link (google.analytics.admin_v1alpha.types.RollupPropertySourceLink) –
Required. The roll-up property source link to create.
This corresponds to the
rollup_property_source_link
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A link that references a source property under the parent rollup property.
- Return type
google.analytics.admin_v1alpha.types.RollupPropertySourceLink
- create_search_ads360_link(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.CreateSearchAds360LinkRequest, dict]] = None, *, parent: Optional[str] = None, search_ads_360_link: Optional[google.analytics.admin_v1alpha.types.resources.SearchAds360Link] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.SearchAds360Link [source]¶
Creates a SearchAds360Link.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.CreateSearchAds360LinkRequest, dict]) – The request object. Request message for CreateSearchAds360Link RPC.
parent (str) –
Required. Example format: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.search_ads_360_link (google.analytics.admin_v1alpha.types.SearchAds360Link) –
Required. The SearchAds360Link to create.
This corresponds to the
search_ads_360_link
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A link between a GA4 property and a Search Ads 360 entity.
- Return type
- create_sk_ad_network_conversion_value_schema(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.CreateSKAdNetworkConversionValueSchemaRequest, dict]] = None, *, parent: Optional[str] = None, skadnetwork_conversion_value_schema: Optional[google.analytics.admin_v1alpha.types.resources.SKAdNetworkConversionValueSchema] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.SKAdNetworkConversionValueSchema [source]¶
Creates a SKAdNetworkConversionValueSchema.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.CreateSKAdNetworkConversionValueSchemaRequest, dict]) – The request object. Request message for CreateSKAdNetworkConversionValueSchema RPC.
parent (str) –
Required. The parent resource where this schema will be created. Format: properties/{property}/dataStreams/{dataStream}
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.skadnetwork_conversion_value_schema (google.analytics.admin_v1alpha.types.SKAdNetworkConversionValueSchema) –
Required. SKAdNetwork conversion value schema to create.
This corresponds to the
skadnetwork_conversion_value_schema
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
SKAdNetwork conversion value schema of an iOS stream.
- Return type
google.analytics.admin_v1alpha.types.SKAdNetworkConversionValueSchema
- create_subproperty_event_filter(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.CreateSubpropertyEventFilterRequest, dict]] = None, *, parent: Optional[str] = None, subproperty_event_filter: Optional[google.analytics.admin_v1alpha.types.subproperty_event_filter.SubpropertyEventFilter] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.subproperty_event_filter.SubpropertyEventFilter [source]¶
Creates a subproperty Event Filter.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.CreateSubpropertyEventFilterRequest, dict]) – The request object. Request message for CreateSubpropertyEventFilter RPC.
parent (str) –
Required. The ordinary property for which to create a subproperty event filter. Format: properties/property_id Example: properties/123
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.subproperty_event_filter (google.analytics.admin_v1alpha.types.SubpropertyEventFilter) –
Required. The subproperty event filter to create.
This corresponds to the
subproperty_event_filter
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A resource message representing a GA4 Subproperty event filter.
- Return type
- static custom_dimension_path(property: str, custom_dimension: str) str [source]¶
Returns a fully-qualified custom_dimension string.
- static custom_metric_path(property: str, custom_metric: str) str [source]¶
Returns a fully-qualified custom_metric string.
- static data_redaction_settings_path(property: str, data_stream: str) str [source]¶
Returns a fully-qualified data_redaction_settings string.
- static data_retention_settings_path(property: str) str [source]¶
Returns a fully-qualified data_retention_settings string.
- static data_sharing_settings_path(account: str) str [source]¶
Returns a fully-qualified data_sharing_settings string.
- static data_stream_path(property: str, data_stream: str) str [source]¶
Returns a fully-qualified data_stream string.
- delete_access_binding(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.DeleteAccessBindingRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) None [source]¶
Deletes an access binding on an account or property.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.DeleteAccessBindingRequest, dict]) – The request object. Request message for DeleteAccessBinding RPC.
name (str) –
Required. Formats:
accounts/{account}/accessBindings/{accessBinding}
properties/{property}/accessBindings/{accessBinding}
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- delete_account(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.DeleteAccountRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) None [source]¶
Marks target Account as soft-deleted (ie: “trashed”) and returns it. This API does not have a method to restore soft-deleted accounts. However, they can be restored using the Trash Can UI.
If the accounts are not restored before the expiration time, the account and all child resources (eg: Properties, GoogleAdsLinks, Streams, AccessBindings) will be permanently purged. https://support.google.com/analytics/answer/6154772
Returns an error if the target is not found.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.DeleteAccountRequest, dict]) – The request object. Request message for DeleteAccount RPC.
name (str) –
Required. The name of the Account to soft-delete. Format: accounts/{account} Example: “accounts/100”
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- delete_ad_sense_link(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.DeleteAdSenseLinkRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) None [source]¶
Deletes an AdSenseLink.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.DeleteAdSenseLinkRequest, dict]) – The request object. Request message to be passed to DeleteAdSenseLink method.
name (str) –
Required. Unique identifier for the AdSense Link to be deleted. Format: properties/{propertyId}/adSenseLinks/{linkId} Example: properties/1234/adSenseLinks/5678
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- delete_big_query_link(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.DeleteBigQueryLinkRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) None [source]¶
Deletes a BigQueryLink on a property.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.DeleteBigQueryLinkRequest, dict]) – The request object. Request message for DeleteBigQueryLink RPC.
name (str) –
Required. The BigQueryLink to delete. Example format: properties/1234/bigQueryLinks/5678
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- delete_calculated_metric(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.DeleteCalculatedMetricRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) None [source]¶
Deletes a CalculatedMetric on a property.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.DeleteCalculatedMetricRequest, dict]) – The request object. Request message for DeleteCalculatedMetric RPC.
name (str) –
Required. The name of the CalculatedMetric to delete. Format: properties/{property_id}/calculatedMetrics/{calculated_metric_id} Example: properties/1234/calculatedMetrics/Metric01
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- delete_channel_group(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.DeleteChannelGroupRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) None [source]¶
Deletes a ChannelGroup on a property.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.DeleteChannelGroupRequest, dict]) – The request object. Request message for DeleteChannelGroup RPC.
name (str) –
Required. The ChannelGroup to delete. Example format: properties/1234/channelGroups/5678
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- delete_connected_site_tag(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.DeleteConnectedSiteTagRequest, dict]] = None, *, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) None [source]¶
Deletes a connected site tag for a Universal Analytics property. Note: this has no effect on GA4 properties.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.DeleteConnectedSiteTagRequest, dict]) – The request object. Request message for DeleteConnectedSiteTag RPC.
retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- delete_conversion_event(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.DeleteConversionEventRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) None [source]¶
Deprecated: Use
DeleteKeyEvent
instead. Deletes a conversion event in a property.- Parameters
request (Union[google.analytics.admin_v1alpha.types.DeleteConversionEventRequest, dict]) – The request object. Request message for DeleteConversionEvent RPC
name (str) –
Required. The resource name of the conversion event to delete. Format: properties/{property}/conversionEvents/{conversion_event} Example: “properties/123/conversionEvents/456”
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- delete_data_stream(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.DeleteDataStreamRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) None [source]¶
Deletes a DataStream on a property.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.DeleteDataStreamRequest, dict]) – The request object. Request message for DeleteDataStream RPC.
name (str) –
Required. The name of the DataStream to delete. Example format: properties/1234/dataStreams/5678
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- delete_display_video360_advertiser_link(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.DeleteDisplayVideo360AdvertiserLinkRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) None [source]¶
Deletes a DisplayVideo360AdvertiserLink on a property.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.DeleteDisplayVideo360AdvertiserLinkRequest, dict]) – The request object. Request message for DeleteDisplayVideo360AdvertiserLink RPC.
name (str) –
Required. The name of the DisplayVideo360AdvertiserLink to delete. Example format: properties/1234/displayVideo360AdvertiserLinks/5678
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- delete_display_video360_advertiser_link_proposal(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.DeleteDisplayVideo360AdvertiserLinkProposalRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) None [source]¶
Deletes a DisplayVideo360AdvertiserLinkProposal on a property. This can only be used on cancelled proposals.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.DeleteDisplayVideo360AdvertiserLinkProposalRequest, dict]) – The request object. Request message for DeleteDisplayVideo360AdvertiserLinkProposal RPC.
name (str) –
Required. The name of the DisplayVideo360AdvertiserLinkProposal to delete. Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- delete_event_create_rule(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.DeleteEventCreateRuleRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) None [source]¶
Deletes an EventCreateRule.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.DeleteEventCreateRuleRequest, dict]) – The request object. Request message for DeleteEventCreateRule RPC.
name (str) –
Required. Example format:
properties/123/dataStreams/456/eventCreateRules/789
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- delete_event_edit_rule(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.DeleteEventEditRuleRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) None [source]¶
Deletes an EventEditRule.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.DeleteEventEditRuleRequest, dict]) – The request object. Request message for DeleteEventEditRule RPC.
name (str) –
Required. Example format: properties/123/dataStreams/456/eventEditRules/789
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- delete_expanded_data_set(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.DeleteExpandedDataSetRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) None [source]¶
Deletes a ExpandedDataSet on a property.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.DeleteExpandedDataSetRequest, dict]) – The request object. Request message for DeleteExpandedDataSet RPC.
name (str) –
Required. Example format: properties/1234/expandedDataSets/5678
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- delete_firebase_link(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.DeleteFirebaseLinkRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) None [source]¶
Deletes a FirebaseLink on a property
- Parameters
request (Union[google.analytics.admin_v1alpha.types.DeleteFirebaseLinkRequest, dict]) – The request object. Request message for DeleteFirebaseLink RPC
name (str) –
Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
Example:
properties/1234/firebaseLinks/5678
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- delete_google_ads_link(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.DeleteGoogleAdsLinkRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) None [source]¶
Deletes a GoogleAdsLink on a property
- Parameters
request (Union[google.analytics.admin_v1alpha.types.DeleteGoogleAdsLinkRequest, dict]) – The request object. Request message for DeleteGoogleAdsLink RPC.
name (str) –
Required. Example format: properties/1234/googleAdsLinks/5678
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- delete_key_event(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.DeleteKeyEventRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) None [source]¶
Deletes a Key Event.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.DeleteKeyEventRequest, dict]) – The request object. Request message for DeleteKeyEvent RPC
name (str) –
Required. The resource name of the Key Event to delete. Format: properties/{property}/keyEvents/{key_event} Example: “properties/123/keyEvents/456”
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- delete_measurement_protocol_secret(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.DeleteMeasurementProtocolSecretRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) None [source]¶
Deletes target MeasurementProtocolSecret.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.DeleteMeasurementProtocolSecretRequest, dict]) – The request object. Request message for DeleteMeasurementProtocolSecret RPC
name (str) –
Required. The name of the MeasurementProtocolSecret to delete. Format:
properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- delete_property(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.DeletePropertyRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.Property [source]¶
Marks target Property as soft-deleted (ie: “trashed”) and returns it. This API does not have a method to restore soft-deleted properties. However, they can be restored using the Trash Can UI.
If the properties are not restored before the expiration time, the Property and all child resources (eg: GoogleAdsLinks, Streams, AccessBindings) will be permanently purged. https://support.google.com/analytics/answer/6154772
Returns an error if the target is not found, or is not a GA4 Property.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.DeletePropertyRequest, dict]) – The request object. Request message for DeleteProperty RPC.
name (str) –
Required. The name of the Property to soft-delete. Format: properties/{property_id} Example: “properties/1000”
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A resource message representing a Google Analytics GA4 property.
- Return type
- delete_rollup_property_source_link(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.DeleteRollupPropertySourceLinkRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) None [source]¶
Deletes a roll-up property source link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.DeleteRollupPropertySourceLinkRequest, dict]) – The request object. Request message for DeleteRollupPropertySourceLink RPC.
name (str) –
Required. Format: properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id} Example: properties/1234/rollupPropertySourceLinks/5678
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- delete_search_ads360_link(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.DeleteSearchAds360LinkRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) None [source]¶
Deletes a SearchAds360Link on a property.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.DeleteSearchAds360LinkRequest, dict]) – The request object. Request message for DeleteSearchAds360Link RPC.
name (str) –
Required. The name of the SearchAds360Link to delete. Example format: properties/1234/SearchAds360Links/5678
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- delete_sk_ad_network_conversion_value_schema(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.DeleteSKAdNetworkConversionValueSchemaRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) None [source]¶
Deletes target SKAdNetworkConversionValueSchema.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.DeleteSKAdNetworkConversionValueSchemaRequest, dict]) – The request object. Request message for DeleteSKAdNetworkConversionValueSchema RPC.
name (str) –
Required. The name of the SKAdNetworkConversionValueSchema to delete. Format: properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema}
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- delete_subproperty_event_filter(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.DeleteSubpropertyEventFilterRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) None [source]¶
Deletes a subproperty event filter.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.DeleteSubpropertyEventFilterRequest, dict]) – The request object. Request message for DeleteSubpropertyEventFilter RPC.
name (str) –
Required. Resource name of the subproperty event filter to delete. Format: properties/property_id/subpropertyEventFilters/subproperty_event_filter Example: properties/123/subpropertyEventFilters/456
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- static display_video360_advertiser_link_path(property: str, display_video_360_advertiser_link: str) str [source]¶
Returns a fully-qualified display_video360_advertiser_link string.
- static display_video360_advertiser_link_proposal_path(property: str, display_video_360_advertiser_link_proposal: str) str [source]¶
Returns a fully-qualified display_video360_advertiser_link_proposal string.
- static enhanced_measurement_settings_path(property: str, data_stream: str) str [source]¶
Returns a fully-qualified enhanced_measurement_settings string.
- static event_create_rule_path(property: str, data_stream: str, event_create_rule: str) str [source]¶
Returns a fully-qualified event_create_rule string.
- static event_edit_rule_path(property: str, data_stream: str, event_edit_rule: str) str [source]¶
Returns a fully-qualified event_edit_rule string.
- static expanded_data_set_path(property: str, expanded_data_set: str) str [source]¶
Returns a fully-qualified expanded_data_set string.
- fetch_automated_ga4_configuration_opt_out(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.FetchAutomatedGa4ConfigurationOptOutRequest, dict]] = None, *, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.analytics_admin.FetchAutomatedGa4ConfigurationOptOutResponse [source]¶
Fetches the opt out status for the automated GA4 setup process for a UA property. Note: this has no effect on GA4 property.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.FetchAutomatedGa4ConfigurationOptOutRequest, dict]) – The request object. Request for fetching the opt out status for the automated GA4 setup process.
retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for fetching the opt out status for the automated GA4 setup process.
- Return type
google.analytics.admin_v1alpha.types.FetchAutomatedGa4ConfigurationOptOutResponse
- fetch_connected_ga4_property(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.FetchConnectedGa4PropertyRequest, dict]] = None, *, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.analytics_admin.FetchConnectedGa4PropertyResponse [source]¶
Given a specified UA property, looks up the GA4 property connected to it. Note: this cannot be used with GA4 properties.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.FetchConnectedGa4PropertyRequest, dict]) – The request object. Request for looking up GA4 property connected to a UA property.
retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response for looking up GA4 property connected to a UA property.
- Return type
google.analytics.admin_v1alpha.types.FetchConnectedGa4PropertyResponse
- static firebase_link_path(property: str, firebase_link: str) str [source]¶
Returns a fully-qualified firebase_link string.
- classmethod from_service_account_file(filename: str, *args, **kwargs)[source]¶
- Creates an instance of this client using the provided credentials
file.
- Parameters
filename (str) – The path to the service account private key json file.
args – Additional arguments to pass to the constructor.
kwargs – Additional arguments to pass to the constructor.
- Returns
The constructed client.
- Return type
- classmethod from_service_account_info(info: dict, *args, **kwargs)[source]¶
- Creates an instance of this client using the provided credentials
info.
- Parameters
info (dict) – The service account private key info.
args – Additional arguments to pass to the constructor.
kwargs – Additional arguments to pass to the constructor.
- Returns
The constructed client.
- Return type
- classmethod from_service_account_json(filename: str, *args, **kwargs)¶
- Creates an instance of this client using the provided credentials
file.
- Parameters
filename (str) – The path to the service account private key json file.
args – Additional arguments to pass to the constructor.
kwargs – Additional arguments to pass to the constructor.
- Returns
The constructed client.
- Return type
- get_access_binding(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetAccessBindingRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.AccessBinding [source]¶
Gets information about an access binding.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.GetAccessBindingRequest, dict]) – The request object. Request message for GetAccessBinding RPC.
name (str) –
Required. The name of the access binding to retrieve. Formats:
accounts/{account}/accessBindings/{accessBinding}
properties/{property}/accessBindings/{accessBinding}
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A binding of a user to a set of roles.
- Return type
- get_account(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetAccountRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.Account [source]¶
Lookup for a single Account.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.GetAccountRequest, dict]) – The request object. Request message for GetAccount RPC.
name (str) –
Required. The name of the account to lookup. Format: accounts/{account} Example: “accounts/100”
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A resource message representing a Google Analytics account.
- Return type
- get_ad_sense_link(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetAdSenseLinkRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.AdSenseLink [source]¶
Looks up a single AdSenseLink.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.GetAdSenseLinkRequest, dict]) – The request object. Request message to be passed to GetAdSenseLink method.
name (str) –
Required. Unique identifier for the AdSense Link requested. Format: properties/{propertyId}/adSenseLinks/{linkId} Example: properties/1234/adSenseLinks/5678
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A link between a GA4 Property and an AdSense for Content ad client.
- Return type
- get_attribution_settings(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetAttributionSettingsRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.AttributionSettings [source]¶
Lookup for a AttributionSettings singleton.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.GetAttributionSettingsRequest, dict]) – The request object. Request message for GetAttributionSettings RPC.
name (str) –
Required. The name of the attribution settings to retrieve. Format: properties/{property}/attributionSettings
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
The attribution settings used for a given property. This is a singleton resource.
- Return type
- get_audience(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetAudienceRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.audience.Audience [source]¶
Lookup for a single Audience. Audiences created before 2020 may not be supported. Default audiences will not show filter definitions.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.GetAudienceRequest, dict]) – The request object. Request message for GetAudience RPC.
name (str) –
Required. The name of the Audience to get. Example format: properties/1234/audiences/5678
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A resource message representing a GA4 Audience.
- Return type
- get_big_query_link(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetBigQueryLinkRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.BigQueryLink [source]¶
Lookup for a single BigQuery Link.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.GetBigQueryLinkRequest, dict]) – The request object. Request message for GetBigQueryLink RPC.
name (str) –
Required. The name of the BigQuery link to lookup. Format: properties/{property_id}/bigQueryLinks/{bigquery_link_id} Example: properties/123/bigQueryLinks/456
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A link between a GA4 Property and BigQuery project.
- Return type
- get_calculated_metric(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetCalculatedMetricRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.CalculatedMetric [source]¶
Lookup for a single CalculatedMetric.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.GetCalculatedMetricRequest, dict]) – The request object. Request message for GetCalculatedMetric RPC.
name (str) –
Required. The name of the CalculatedMetric to get. Format: properties/{property_id}/calculatedMetrics/{calculated_metric_id} Example: properties/1234/calculatedMetrics/Metric01
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A definition for a calculated metric.
- Return type
- get_channel_group(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetChannelGroupRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.channel_group.ChannelGroup [source]¶
Lookup for a single ChannelGroup.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.GetChannelGroupRequest, dict]) – The request object. Request message for GetChannelGroup RPC.
name (str) –
Required. The ChannelGroup to get. Example format: properties/1234/channelGroups/5678
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A resource message representing a Channel Group.
- Return type
- get_conversion_event(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetConversionEventRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.ConversionEvent [source]¶
Deprecated: Use
GetKeyEvent
instead. Retrieve a single conversion event.- Parameters
request (Union[google.analytics.admin_v1alpha.types.GetConversionEventRequest, dict]) – The request object. Request message for GetConversionEvent RPC
name (str) –
Required. The resource name of the conversion event to retrieve. Format: properties/{property}/conversionEvents/{conversion_event} Example: “properties/123/conversionEvents/456”
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A conversion event in a Google Analytics property.
- Return type
- get_custom_dimension(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetCustomDimensionRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.CustomDimension [source]¶
Lookup for a single CustomDimension.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.GetCustomDimensionRequest, dict]) – The request object. Request message for GetCustomDimension RPC.
name (str) –
Required. The name of the CustomDimension to get. Example format: properties/1234/customDimensions/5678
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A definition for a CustomDimension.
- Return type
- get_custom_metric(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetCustomMetricRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.CustomMetric [source]¶
Lookup for a single CustomMetric.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.GetCustomMetricRequest, dict]) – The request object. Request message for GetCustomMetric RPC.
name (str) –
Required. The name of the CustomMetric to get. Example format: properties/1234/customMetrics/5678
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A definition for a custom metric.
- Return type
- get_data_redaction_settings(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetDataRedactionSettingsRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.DataRedactionSettings [source]¶
Lookup for a single DataRedactionSettings.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.GetDataRedactionSettingsRequest, dict]) – The request object. Request message for GetDataRedactionSettings RPC.
name (str) –
Required. The name of the settings to lookup. Format: properties/{property}/dataStreams/{data_stream}/dataRedactionSettings Example: “properties/1000/dataStreams/2000/dataRedactionSettings”
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Settings for client-side data redaction. Singleton resource under a Web Stream.
- Return type
- get_data_retention_settings(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetDataRetentionSettingsRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.DataRetentionSettings [source]¶
Returns the singleton data retention settings for this property.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.GetDataRetentionSettingsRequest, dict]) – The request object. Request message for GetDataRetentionSettings RPC.
name (str) –
Required. The name of the settings to lookup. Format:
properties/{property}/dataRetentionSettings Example: “properties/1000/dataRetentionSettings”
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Settings values for data retention. This is a singleton resource.
- Return type
- get_data_sharing_settings(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetDataSharingSettingsRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.DataSharingSettings [source]¶
Get data sharing settings on an account. Data sharing settings are singletons.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.GetDataSharingSettingsRequest, dict]) – The request object. Request message for GetDataSharingSettings RPC.
name (str) –
Required. The name of the settings to lookup. Format: accounts/{account}/dataSharingSettings
Example:
accounts/1000/dataSharingSettings
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A resource message representing data sharing settings of a Google Analytics account.
- Return type
- get_data_stream(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetDataStreamRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.DataStream [source]¶
Lookup for a single DataStream.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.GetDataStreamRequest, dict]) – The request object. Request message for GetDataStream RPC.
name (str) –
Required. The name of the DataStream to get. Example format: properties/1234/dataStreams/5678
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A resource message representing a data stream.
- Return type
- get_display_video360_advertiser_link(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetDisplayVideo360AdvertiserLinkRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.DisplayVideo360AdvertiserLink [source]¶
Look up a single DisplayVideo360AdvertiserLink
- Parameters
request (Union[google.analytics.admin_v1alpha.types.GetDisplayVideo360AdvertiserLinkRequest, dict]) – The request object. Request message for GetDisplayVideo360AdvertiserLink RPC.
name (str) –
Required. The name of the DisplayVideo360AdvertiserLink to get. Example format: properties/1234/displayVideo360AdvertiserLink/5678
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A link between a GA4 property and a Display & Video 360 advertiser.
- Return type
google.analytics.admin_v1alpha.types.DisplayVideo360AdvertiserLink
- get_display_video360_advertiser_link_proposal(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetDisplayVideo360AdvertiserLinkProposalRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.DisplayVideo360AdvertiserLinkProposal [source]¶
Lookup for a single DisplayVideo360AdvertiserLinkProposal.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.GetDisplayVideo360AdvertiserLinkProposalRequest, dict]) – The request object. Request message for GetDisplayVideo360AdvertiserLinkProposal RPC.
name (str) –
Required. The name of the DisplayVideo360AdvertiserLinkProposal to get. Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
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.
- Return type
google.analytics.admin_v1alpha.types.DisplayVideo360AdvertiserLinkProposal
- get_enhanced_measurement_settings(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetEnhancedMeasurementSettingsRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.EnhancedMeasurementSettings [source]¶
Returns the enhanced measurement settings for this data stream. Note that the stream must enable enhanced measurement for these settings to take effect.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.GetEnhancedMeasurementSettingsRequest, dict]) – The request object. Request message for GetEnhancedMeasurementSettings RPC.
name (str) –
Required. The name of the settings to lookup. Format: properties/{property}/dataStreams/{data_stream}/enhancedMeasurementSettings Example: “properties/1000/dataStreams/2000/enhancedMeasurementSettings”
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Singleton resource under a web DataStream, configuring measurement of additional site interactions and content.
- Return type
google.analytics.admin_v1alpha.types.EnhancedMeasurementSettings
- get_event_create_rule(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetEventCreateRuleRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.event_create_and_edit.EventCreateRule [source]¶
Lookup for a single EventCreateRule.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.GetEventCreateRuleRequest, dict]) – The request object. Request message for GetEventCreateRule RPC.
name (str) –
Required. The name of the EventCreateRule to get. Example format: properties/123/dataStreams/456/eventCreateRules/789
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
An Event Create Rule defines conditions that will trigger the creation of an entirely new event based upon matched criteria of a source event. Additional mutations of the parameters from the source event can be defined.
Unlike Event Edit rules, Event Creation Rules have no defined order. They will all be run independently.
Event Edit and Event Create rules can’t be used to modify an event created from an Event Create rule.
- Return type
- get_event_edit_rule(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetEventEditRuleRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.event_create_and_edit.EventEditRule [source]¶
Lookup for a single EventEditRule.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.GetEventEditRuleRequest, dict]) – The request object. Request message for GetEventEditRule RPC.
name (str) –
Required. The name of the EventEditRule to get. Example format: properties/123/dataStreams/456/eventEditRules/789
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
An Event Edit Rule defines conditions that will trigger the creation of an entirely new event based upon matched criteria of a source event. Additional mutations of the parameters from the source event can be defined.
Unlike Event Create rules, Event Edit Rules are applied in their defined order.
Event Edit rules can’t be used to modify an event created from an Event Create rule.
- Return type
- get_expanded_data_set(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetExpandedDataSetRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.expanded_data_set.ExpandedDataSet [source]¶
Lookup for a single ExpandedDataSet.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.GetExpandedDataSetRequest, dict]) – The request object. Request message for GetExpandedDataSet RPC.
name (str) –
Required. The name of the ExpandedDataSet to get. Example format: properties/1234/expandedDataSets/5678
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A resource message representing a GA4 ExpandedDataSet.
- Return type
- get_global_site_tag(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetGlobalSiteTagRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.GlobalSiteTag [source]¶
Returns the Site Tag for the specified web stream. Site Tags are immutable singletons.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.GetGlobalSiteTagRequest, dict]) – The request object. Request message for GetGlobalSiteTag RPC.
name (str) –
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
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Read-only resource with the tag for sending data from a website to a DataStream. Only present for web DataStream resources.
- Return type
- get_google_signals_settings(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetGoogleSignalsSettingsRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.GoogleSignalsSettings [source]¶
Lookup for Google Signals settings for a property.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.GetGoogleSignalsSettingsRequest, dict]) – The request object. Request message for GetGoogleSignalsSettings RPC
name (str) –
Required. The name of the google signals settings to retrieve. Format: properties/{property}/googleSignalsSettings
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Settings values for Google Signals. This is a singleton resource.
- Return type
- get_key_event(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetKeyEventRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.KeyEvent [source]¶
Retrieve a single Key Event.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.GetKeyEventRequest, dict]) – The request object. Request message for GetKeyEvent RPC
name (str) –
Required. The resource name of the Key Event to retrieve. Format: properties/{property}/keyEvents/{key_event} Example: “properties/123/keyEvents/456”
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A key event in a Google Analytics property.
- Return type
- get_measurement_protocol_secret(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetMeasurementProtocolSecretRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.MeasurementProtocolSecret [source]¶
Lookup for a single “GA4” MeasurementProtocolSecret.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.GetMeasurementProtocolSecretRequest, dict]) – The request object. Request message for GetMeasurementProtocolSecret RPC.
name (str) –
Required. The name of the measurement protocol secret to lookup. Format:
properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A secret value used for sending hits to Measurement Protocol.
- Return type
google.analytics.admin_v1alpha.types.MeasurementProtocolSecret
- classmethod get_mtls_endpoint_and_cert_source(client_options: Optional[google.api_core.client_options.ClientOptions] = None)[source]¶
Deprecated. Return the API endpoint and client cert source for mutual TLS.
The client cert source is determined in the following order: (1) if GOOGLE_API_USE_CLIENT_CERTIFICATE environment variable is not “true”, the client cert source is None. (2) if client_options.client_cert_source is provided, use the provided one; if the default client cert source exists, use the default one; otherwise the client cert source is None.
The API endpoint is determined in the following order: (1) if client_options.api_endpoint if provided, use the provided one. (2) if GOOGLE_API_USE_CLIENT_CERTIFICATE environment variable is “always”, use the default mTLS endpoint; if the environment variable is “never”, use the default API endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise use the default API endpoint.
More details can be found at https://google.aip.dev/auth/4114.
- Parameters
client_options (google.api_core.client_options.ClientOptions) – Custom options for the client. Only the api_endpoint and client_cert_source properties may be used in this method.
- Returns
- returns the API endpoint and the
client cert source to use.
- Return type
- Raises
google.auth.exceptions.MutualTLSChannelError – If any errors happen.
- get_property(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetPropertyRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.Property [source]¶
Lookup for a single “GA4” Property.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.GetPropertyRequest, dict]) – The request object. Request message for GetProperty RPC.
name (str) –
Required. The name of the property to lookup. Format: properties/{property_id} Example: “properties/1000”
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A resource message representing a Google Analytics GA4 property.
- Return type
- get_rollup_property_source_link(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetRollupPropertySourceLinkRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.RollupPropertySourceLink [source]¶
Lookup for a single roll-up property source Link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.GetRollupPropertySourceLinkRequest, dict]) – The request object. Request message for GetRollupPropertySourceLink RPC.
name (str) –
Required. The name of the roll-up property source link to lookup. Format: properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id} Example: properties/123/rollupPropertySourceLinks/456
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A link that references a source property under the parent rollup property.
- Return type
google.analytics.admin_v1alpha.types.RollupPropertySourceLink
- get_search_ads360_link(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetSearchAds360LinkRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.SearchAds360Link [source]¶
Look up a single SearchAds360Link
- Parameters
request (Union[google.analytics.admin_v1alpha.types.GetSearchAds360LinkRequest, dict]) – The request object. Request message for GetSearchAds360Link RPC.
name (str) –
Required. The name of the SearchAds360Link to get. Example format: properties/1234/SearchAds360Link/5678
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A link between a GA4 property and a Search Ads 360 entity.
- Return type
- get_sk_ad_network_conversion_value_schema(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetSKAdNetworkConversionValueSchemaRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.SKAdNetworkConversionValueSchema [source]¶
Looks up a single SKAdNetworkConversionValueSchema.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.GetSKAdNetworkConversionValueSchemaRequest, dict]) – The request object. Request message for GetSKAdNetworkConversionValueSchema RPC.
name (str) –
Required. The resource name of SKAdNetwork conversion value schema to look up. Format: properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema}
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
SKAdNetwork conversion value schema of an iOS stream.
- Return type
google.analytics.admin_v1alpha.types.SKAdNetworkConversionValueSchema
- get_subproperty_event_filter(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.GetSubpropertyEventFilterRequest, dict]] = None, *, name: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.subproperty_event_filter.SubpropertyEventFilter [source]¶
Lookup for a single subproperty Event Filter.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.GetSubpropertyEventFilterRequest, dict]) – The request object. Request message for GetSubpropertyEventFilter RPC.
name (str) –
Required. Resource name of the subproperty event filter to lookup. Format: properties/property_id/subpropertyEventFilters/subproperty_event_filter Example: properties/123/subpropertyEventFilters/456
This corresponds to the
name
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A resource message representing a GA4 Subproperty event filter.
- Return type
- static global_site_tag_path(property: str, data_stream: str) str [source]¶
Returns a fully-qualified global_site_tag string.
- static google_ads_link_path(property: str, google_ads_link: str) str [source]¶
Returns a fully-qualified google_ads_link string.
- static google_signals_settings_path(property: str) str [source]¶
Returns a fully-qualified google_signals_settings string.
- static key_event_path(property: str, key_event: str) str [source]¶
Returns a fully-qualified key_event string.
- list_access_bindings(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ListAccessBindingsRequest, dict]] = None, *, parent: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListAccessBindingsPager [source]¶
Lists all access bindings on an account or property.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.ListAccessBindingsRequest, dict]) – The request object. Request message for ListAccessBindings RPC.
parent (str) –
Required. Formats:
accounts/{account}
properties/{property}
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ListAccessBindings RPC. Iterating over this object will yield results and resolve additional pages automatically.
- Return type
google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListAccessBindingsPager
- list_account_summaries(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ListAccountSummariesRequest, dict]] = None, *, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListAccountSummariesPager [source]¶
Returns summaries of all accounts accessible by the caller.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.ListAccountSummariesRequest, dict]) – The request object. Request message for ListAccountSummaries RPC.
retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ListAccountSummaries RPC. Iterating over this object will yield results and resolve additional pages automatically.
- Return type
google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListAccountSummariesPager
- list_accounts(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ListAccountsRequest, dict]] = None, *, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListAccountsPager [source]¶
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.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.ListAccountsRequest, dict]) – The request object. Request message for ListAccounts RPC.
retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Request message for ListAccounts RPC.
Iterating over this object will yield results and resolve additional pages automatically.
- Return type
google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListAccountsPager
- list_ad_sense_links(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ListAdSenseLinksRequest, dict]] = None, *, parent: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListAdSenseLinksPager [source]¶
Lists AdSenseLinks on a property.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.ListAdSenseLinksRequest, dict]) – The request object. Request message to be passed to ListAdSenseLinks method.
parent (str) –
Required. Resource name of the parent property. Format: properties/{propertyId} Example: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ListAdSenseLinks method. Iterating over this object will yield results and resolve additional pages automatically.
- Return type
google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListAdSenseLinksPager
- list_audiences(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ListAudiencesRequest, dict]] = None, *, parent: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListAudiencesPager [source]¶
Lists Audiences on a property. Audiences created before 2020 may not be supported. Default audiences will not show filter definitions.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.ListAudiencesRequest, dict]) – The request object. Request message for ListAudiences RPC.
parent (str) –
Required. Example format: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ListAudiences RPC. Iterating over this object will yield results and resolve additional pages automatically.
- Return type
google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListAudiencesPager
- list_big_query_links(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ListBigQueryLinksRequest, dict]] = None, *, parent: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListBigQueryLinksPager [source]¶
Lists BigQuery Links on a property.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.ListBigQueryLinksRequest, dict]) – The request object. Request message for ListBigQueryLinks RPC.
parent (str) –
Required. The name of the property to list BigQuery links under. Format: properties/{property_id} Example: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ListBigQueryLinks RPC Iterating over this object will yield results and resolve additional pages automatically.
- Return type
google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListBigQueryLinksPager
- list_calculated_metrics(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ListCalculatedMetricsRequest, dict]] = None, *, parent: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListCalculatedMetricsPager [source]¶
Lists CalculatedMetrics on a property.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.ListCalculatedMetricsRequest, dict]) – The request object. Request message for ListCalculatedMetrics RPC.
parent (str) –
Required. Example format: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ListCalculatedMetrics RPC. Iterating over this object will yield results and resolve additional pages automatically.
- Return type
google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListCalculatedMetricsPager
- list_channel_groups(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ListChannelGroupsRequest, dict]] = None, *, parent: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListChannelGroupsPager [source]¶
Lists ChannelGroups on a property.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.ListChannelGroupsRequest, dict]) – The request object. Request message for ListChannelGroups RPC.
parent (str) –
Required. The property for which to list ChannelGroups. Example format: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ListChannelGroups RPC. Iterating over this object will yield results and resolve additional pages automatically.
- Return type
google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListChannelGroupsPager
- list_connected_site_tags(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ListConnectedSiteTagsRequest, dict]] = None, *, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.analytics_admin.ListConnectedSiteTagsResponse [source]¶
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.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.ListConnectedSiteTagsRequest, dict]) – The request object. Request message for ListConnectedSiteTags RPC.
retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ListConnectedSiteTags RPC.
- Return type
google.analytics.admin_v1alpha.types.ListConnectedSiteTagsResponse
- list_conversion_events(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ListConversionEventsRequest, dict]] = None, *, parent: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListConversionEventsPager [source]¶
Deprecated: Use
ListKeyEvents
instead. Returns a list of conversion events in the specified parent property.Returns an empty list if no conversion events are found.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.ListConversionEventsRequest, dict]) – The request object. Request message for ListConversionEvents RPC
parent (str) –
Required. The resource name of the parent property. Example: ‘properties/123’
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ListConversionEvents RPC. Iterating over this object will yield results and resolve additional pages automatically.
- Return type
google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListConversionEventsPager
- list_custom_dimensions(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ListCustomDimensionsRequest, dict]] = None, *, parent: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListCustomDimensionsPager [source]¶
Lists CustomDimensions on a property.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.ListCustomDimensionsRequest, dict]) – The request object. Request message for ListCustomDimensions RPC.
parent (str) –
Required. Example format: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ListCustomDimensions RPC. Iterating over this object will yield results and resolve additional pages automatically.
- Return type
google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListCustomDimensionsPager
- list_custom_metrics(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ListCustomMetricsRequest, dict]] = None, *, parent: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListCustomMetricsPager [source]¶
Lists CustomMetrics on a property.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.ListCustomMetricsRequest, dict]) – The request object. Request message for ListCustomMetrics RPC.
parent (str) –
Required. Example format: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ListCustomMetrics RPC. Iterating over this object will yield results and resolve additional pages automatically.
- Return type
google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListCustomMetricsPager
- list_data_streams(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ListDataStreamsRequest, dict]] = None, *, parent: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListDataStreamsPager [source]¶
Lists DataStreams on a property.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.ListDataStreamsRequest, dict]) – The request object. Request message for ListDataStreams RPC.
parent (str) –
Required. Example format: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ListDataStreams RPC. Iterating over this object will yield results and resolve additional pages automatically.
- Return type
google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListDataStreamsPager
- list_display_video360_advertiser_link_proposals(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ListDisplayVideo360AdvertiserLinkProposalsRequest, dict]] = None, *, parent: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListDisplayVideo360AdvertiserLinkProposalsPager [source]¶
Lists DisplayVideo360AdvertiserLinkProposals on a property.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.ListDisplayVideo360AdvertiserLinkProposalsRequest, dict]) – The request object. Request message for ListDisplayVideo360AdvertiserLinkProposals RPC.
parent (str) –
Required. Example format: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ListDisplayVideo360AdvertiserLinkProposals RPC. Iterating over this object will yield results and resolve additional pages automatically.
- Return type
- list_display_video360_advertiser_links(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ListDisplayVideo360AdvertiserLinksRequest, dict]] = None, *, parent: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListDisplayVideo360AdvertiserLinksPager [source]¶
Lists all DisplayVideo360AdvertiserLinks on a property.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.ListDisplayVideo360AdvertiserLinksRequest, dict]) – The request object. Request message for ListDisplayVideo360AdvertiserLinks RPC.
parent (str) –
Required. Example format: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ListDisplayVideo360AdvertiserLinks RPC. Iterating over this object will yield results and resolve additional pages automatically.
- Return type
- list_event_create_rules(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ListEventCreateRulesRequest, dict]] = None, *, parent: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListEventCreateRulesPager [source]¶
Lists EventCreateRules on a web data stream.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.ListEventCreateRulesRequest, dict]) – The request object. Request message for ListEventCreateRules RPC.
parent (str) –
Required. Example format: properties/123/dataStreams/456
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ListEventCreateRules RPC. Iterating over this object will yield results and resolve additional pages automatically.
- Return type
google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListEventCreateRulesPager
- list_event_edit_rules(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ListEventEditRulesRequest, dict]] = None, *, parent: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListEventEditRulesPager [source]¶
Lists EventEditRules on a web data stream.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.ListEventEditRulesRequest, dict]) – The request object. Request message for ListEventEditRules RPC.
parent (str) –
Required. Example format: properties/123/dataStreams/456
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ListEventEditRules RPC. Iterating over this object will yield results and resolve additional pages automatically.
- Return type
google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListEventEditRulesPager
- list_expanded_data_sets(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ListExpandedDataSetsRequest, dict]] = None, *, parent: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListExpandedDataSetsPager [source]¶
Lists ExpandedDataSets on a property.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.ListExpandedDataSetsRequest, dict]) – The request object. Request message for ListExpandedDataSets RPC.
parent (str) –
Required. Example format: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ListExpandedDataSets RPC. Iterating over this object will yield results and resolve additional pages automatically.
- Return type
google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListExpandedDataSetsPager
- list_firebase_links(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ListFirebaseLinksRequest, dict]] = None, *, parent: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListFirebaseLinksPager [source]¶
Lists FirebaseLinks on a property. Properties can have at most one FirebaseLink.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.ListFirebaseLinksRequest, dict]) – The request object. Request message for ListFirebaseLinks RPC
parent (str) –
Required. Format: properties/{property_id}
Example:
properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ListFirebaseLinks RPC Iterating over this object will yield results and resolve additional pages automatically.
- Return type
google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListFirebaseLinksPager
- list_google_ads_links(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ListGoogleAdsLinksRequest, dict]] = None, *, parent: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListGoogleAdsLinksPager [source]¶
Lists GoogleAdsLinks on a property.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.ListGoogleAdsLinksRequest, dict]) – The request object. Request message for ListGoogleAdsLinks RPC.
parent (str) –
Required. Example format: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ListGoogleAdsLinks RPC. Iterating over this object will yield results and resolve additional pages automatically.
- Return type
google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListGoogleAdsLinksPager
- list_key_events(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ListKeyEventsRequest, dict]] = None, *, parent: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListKeyEventsPager [source]¶
Returns a list of Key Events in the specified parent property. Returns an empty list if no Key Events are found.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.ListKeyEventsRequest, dict]) – The request object. Request message for ListKeyEvents RPC
parent (str) –
Required. The resource name of the parent property. Example: ‘properties/123’
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ListKeyEvents RPC. Iterating over this object will yield results and resolve additional pages automatically.
- Return type
google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListKeyEventsPager
- list_measurement_protocol_secrets(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ListMeasurementProtocolSecretsRequest, dict]] = None, *, parent: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListMeasurementProtocolSecretsPager [source]¶
Returns child MeasurementProtocolSecrets under the specified parent Property.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.ListMeasurementProtocolSecretsRequest, dict]) – The request object. Request message for ListMeasurementProtocolSecret RPC
parent (str) –
Required. The resource name of the parent stream. Format:
properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ListMeasurementProtocolSecret RPC Iterating over this object will yield results and resolve additional pages automatically.
- Return type
- list_properties(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ListPropertiesRequest, dict]] = None, *, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListPropertiesPager [source]¶
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.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.ListPropertiesRequest, dict]) – The request object. Request message for ListProperties RPC.
retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ListProperties RPC. Iterating over this object will yield results and resolve additional pages automatically.
- Return type
google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListPropertiesPager
- list_rollup_property_source_links(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ListRollupPropertySourceLinksRequest, dict]] = None, *, parent: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListRollupPropertySourceLinksPager [source]¶
Lists roll-up property source Links on a property. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.ListRollupPropertySourceLinksRequest, dict]) – The request object. Request message for ListRollupPropertySourceLinks RPC.
parent (str) –
Required. The name of the roll-up property to list roll-up property source links under. Format: properties/{property_id} Example: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ListRollupPropertySourceLinks RPC. Iterating over this object will yield results and resolve additional pages automatically.
- Return type
- list_search_ads360_links(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ListSearchAds360LinksRequest, dict]] = None, *, parent: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListSearchAds360LinksPager [source]¶
Lists all SearchAds360Links on a property.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.ListSearchAds360LinksRequest, dict]) – The request object. Request message for ListSearchAds360Links RPC.
parent (str) –
Required. Example format: properties/1234
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ListSearchAds360Links RPC. Iterating over this object will yield results and resolve additional pages automatically.
- Return type
google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListSearchAds360LinksPager
- list_sk_ad_network_conversion_value_schemas(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ListSKAdNetworkConversionValueSchemasRequest, dict]] = None, *, parent: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListSKAdNetworkConversionValueSchemasPager [source]¶
Lists SKAdNetworkConversionValueSchema on a stream. Properties can have at most one SKAdNetworkConversionValueSchema.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.ListSKAdNetworkConversionValueSchemasRequest, dict]) – The request object. Request message for ListSKAdNetworkConversionValueSchemas RPC
parent (str) –
Required. The DataStream resource to list schemas for. Format: properties/{property_id}/dataStreams/{dataStream} Example: properties/1234/dataStreams/5678
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ListSKAdNetworkConversionValueSchemas RPC Iterating over this object will yield results and resolve additional pages automatically.
- Return type
- list_subproperty_event_filters(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ListSubpropertyEventFiltersRequest, dict]] = None, *, parent: Optional[str] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListSubpropertyEventFiltersPager [source]¶
List all subproperty Event Filters on a property.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.ListSubpropertyEventFiltersRequest, dict]) – The request object. Request message for ListSubpropertyEventFilters RPC.
parent (str) –
Required. Resource name of the ordinary property. Format: properties/property_id Example: properties/123
This corresponds to the
parent
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ListSubpropertyEventFilter RPC. Iterating over this object will yield results and resolve additional pages automatically.
- Return type
- static measurement_protocol_secret_path(property: str, data_stream: str, measurement_protocol_secret: str) str [source]¶
Returns a fully-qualified measurement_protocol_secret string.
- static organization_path(organization: str) str [source]¶
Returns a fully-qualified organization string.
- static parse_access_binding_path(path: str) Dict[str, str] [source]¶
Parses a access_binding path into its component segments.
- static parse_account_path(path: str) Dict[str, str] [source]¶
Parses a account path into its component segments.
- static parse_account_summary_path(path: str) Dict[str, str] [source]¶
Parses a account_summary path into its component segments.
- static parse_ad_sense_link_path(path: str) Dict[str, str] [source]¶
Parses a ad_sense_link path into its component segments.
- static parse_attribution_settings_path(path: str) Dict[str, str] [source]¶
Parses a attribution_settings path into its component segments.
- static parse_audience_path(path: str) Dict[str, str] [source]¶
Parses a audience path into its component segments.
- static parse_big_query_link_path(path: str) Dict[str, str] [source]¶
Parses a big_query_link path into its component segments.
- static parse_calculated_metric_path(path: str) Dict[str, str] [source]¶
Parses a calculated_metric path into its component segments.
- static parse_channel_group_path(path: str) Dict[str, str] [source]¶
Parses a channel_group path into its component segments.
- static parse_common_billing_account_path(path: str) Dict[str, str] [source]¶
Parse a billing_account path into its component segments.
- static parse_common_folder_path(path: str) Dict[str, str] [source]¶
Parse a folder path into its component segments.
- static parse_common_location_path(path: str) Dict[str, str] [source]¶
Parse a location path into its component segments.
- static parse_common_organization_path(path: str) Dict[str, str] [source]¶
Parse a organization path into its component segments.
- static parse_common_project_path(path: str) Dict[str, str] [source]¶
Parse a project path into its component segments.
- static parse_conversion_event_path(path: str) Dict[str, str] [source]¶
Parses a conversion_event path into its component segments.
- static parse_custom_dimension_path(path: str) Dict[str, str] [source]¶
Parses a custom_dimension path into its component segments.
- static parse_custom_metric_path(path: str) Dict[str, str] [source]¶
Parses a custom_metric path into its component segments.
- static parse_data_redaction_settings_path(path: str) Dict[str, str] [source]¶
Parses a data_redaction_settings path into its component segments.
- static parse_data_retention_settings_path(path: str) Dict[str, str] [source]¶
Parses a data_retention_settings path into its component segments.
- static parse_data_sharing_settings_path(path: str) Dict[str, str] [source]¶
Parses a data_sharing_settings path into its component segments.
- static parse_data_stream_path(path: str) Dict[str, str] [source]¶
Parses a data_stream path into its component segments.
- static parse_display_video360_advertiser_link_path(path: str) Dict[str, str] [source]¶
Parses a display_video360_advertiser_link path into its component segments.
- static parse_display_video360_advertiser_link_proposal_path(path: str) Dict[str, str] [source]¶
Parses a display_video360_advertiser_link_proposal path into its component segments.
- static parse_enhanced_measurement_settings_path(path: str) Dict[str, str] [source]¶
Parses a enhanced_measurement_settings path into its component segments.
- static parse_event_create_rule_path(path: str) Dict[str, str] [source]¶
Parses a event_create_rule path into its component segments.
- static parse_event_edit_rule_path(path: str) Dict[str, str] [source]¶
Parses a event_edit_rule path into its component segments.
- static parse_expanded_data_set_path(path: str) Dict[str, str] [source]¶
Parses a expanded_data_set path into its component segments.
- static parse_firebase_link_path(path: str) Dict[str, str] [source]¶
Parses a firebase_link path into its component segments.
- static parse_global_site_tag_path(path: str) Dict[str, str] [source]¶
Parses a global_site_tag path into its component segments.
- static parse_google_ads_link_path(path: str) Dict[str, str] [source]¶
Parses a google_ads_link path into its component segments.
- static parse_google_signals_settings_path(path: str) Dict[str, str] [source]¶
Parses a google_signals_settings path into its component segments.
- static parse_key_event_path(path: str) Dict[str, str] [source]¶
Parses a key_event path into its component segments.
- static parse_measurement_protocol_secret_path(path: str) Dict[str, str] [source]¶
Parses a measurement_protocol_secret path into its component segments.
- static parse_organization_path(path: str) Dict[str, str] [source]¶
Parses a organization path into its component segments.
- static parse_property_path(path: str) Dict[str, str] [source]¶
Parses a property path into its component segments.
- static parse_rollup_property_source_link_path(path: str) Dict[str, str] [source]¶
Parses a rollup_property_source_link path into its component segments.
- static parse_search_ads360_link_path(path: str) Dict[str, str] [source]¶
Parses a search_ads360_link path into its component segments.
- static parse_sk_ad_network_conversion_value_schema_path(path: str) Dict[str, str] [source]¶
Parses a sk_ad_network_conversion_value_schema path into its component segments.
- static parse_subproperty_event_filter_path(path: str) Dict[str, str] [source]¶
Parses a subproperty_event_filter path into its component segments.
- provision_account_ticket(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ProvisionAccountTicketRequest, dict]] = None, *, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.analytics_admin.ProvisionAccountTicketResponse [source]¶
Requests a ticket for creating an account.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.ProvisionAccountTicketRequest, dict]) – The request object. Request message for ProvisionAccountTicket RPC.
retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ProvisionAccountTicket RPC.
- Return type
google.analytics.admin_v1alpha.types.ProvisionAccountTicketResponse
- provision_subproperty(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ProvisionSubpropertyRequest, dict]] = None, *, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.analytics_admin.ProvisionSubpropertyResponse [source]¶
Create a subproperty and a subproperty event filter that applies to the created subproperty.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.ProvisionSubpropertyRequest, dict]) – The request object. Request message for CreateSubproperty RPC.
retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for ProvisionSubproperty RPC.
- Return type
google.analytics.admin_v1alpha.types.ProvisionSubpropertyResponse
- reorder_event_edit_rules(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.ReorderEventEditRulesRequest, dict]] = None, *, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) None [source]¶
Changes the processing order of event edit rules on the specified stream.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.ReorderEventEditRulesRequest, dict]) – The request object. Request message for ReorderEventEditRules RPC.
retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- static rollup_property_source_link_path(property: str, rollup_property_source_link: str) str [source]¶
Returns a fully-qualified rollup_property_source_link string.
- run_access_report(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.RunAccessReportRequest, dict]] = None, *, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.analytics_admin.RunAccessReportResponse [source]¶
Returns a customized report of data access records. The report provides records of each time a user reads Google Analytics reporting data. Access records are retained for up to 2 years.
Data Access Reports can be requested for a property. Reports may be requested for any property, but dimensions that aren’t related to quota can only be requested on Google Analytics 360 properties. This method is only available to Administrators.
These data access records include GA4 UI Reporting, GA4 UI Explorations, GA4 Data API, and other products like Firebase & Admob that can retrieve data from Google Analytics through a linkage. These records don’t include property configuration changes like adding a stream or changing a property’s time zone. For configuration change history, see searchChangeHistoryEvents.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.RunAccessReportRequest, dict]) – The request object. The request for a Data Access Record Report.
retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
The customized Data Access Record Report response.
- Return type
google.analytics.admin_v1alpha.types.RunAccessReportResponse
- static search_ads360_link_path(property: str, search_ads_360_link: str) str [source]¶
Returns a fully-qualified search_ads360_link string.
- search_change_history_events(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.SearchChangeHistoryEventsRequest, dict]] = None, *, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.SearchChangeHistoryEventsPager [source]¶
Searches through all changes to an account or its children given the specified set of filters.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.SearchChangeHistoryEventsRequest, dict]) – The request object. Request message for SearchChangeHistoryEvents RPC.
retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for SearchAccounts RPC. Iterating over this object will yield results and resolve additional pages automatically.
- Return type
- set_automated_ga4_configuration_opt_out(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.SetAutomatedGa4ConfigurationOptOutRequest, dict]] = None, *, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.analytics_admin.SetAutomatedGa4ConfigurationOptOutResponse [source]¶
Sets the opt out status for the automated GA4 setup process for a UA property. Note: this has no effect on GA4 property.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.SetAutomatedGa4ConfigurationOptOutRequest, dict]) – The request object. Request for setting the opt out status for the automated GA4 setup process.
retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Response message for setting the opt out status for the automated GA4 setup process.
- Return type
google.analytics.admin_v1alpha.types.SetAutomatedGa4ConfigurationOptOutResponse
- static sk_ad_network_conversion_value_schema_path(property: str, data_stream: str, skadnetwork_conversion_value_schema: str) str [source]¶
Returns a fully-qualified sk_ad_network_conversion_value_schema string.
- static subproperty_event_filter_path(property: str, sub_property_event_filter: str) str [source]¶
Returns a fully-qualified subproperty_event_filter string.
- property transport: google.analytics.admin_v1alpha.services.analytics_admin_service.transports.base.AnalyticsAdminServiceTransport¶
Returns the transport used by the client instance.
- Returns
- The transport used by the client
instance.
- Return type
AnalyticsAdminServiceTransport
- property universe_domain: str¶
Return the universe domain used by the client instance.
- Returns
The universe domain used by the client instance.
- Return type
- update_access_binding(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.UpdateAccessBindingRequest, dict]] = None, *, access_binding: Optional[google.analytics.admin_v1alpha.types.resources.AccessBinding] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.AccessBinding [source]¶
Updates an access binding on an account or property.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.UpdateAccessBindingRequest, dict]) – The request object. Request message for UpdateAccessBinding RPC.
access_binding (google.analytics.admin_v1alpha.types.AccessBinding) –
Required. The access binding to update.
This corresponds to the
access_binding
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A binding of a user to a set of roles.
- Return type
- update_account(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.UpdateAccountRequest, dict]] = None, *, account: Optional[google.analytics.admin_v1alpha.types.resources.Account] = None, update_mask: Optional[google.protobuf.field_mask_pb2.FieldMask] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.Account [source]¶
Updates an account.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.UpdateAccountRequest, dict]) – The request object. Request message for UpdateAccount RPC.
account (google.analytics.admin_v1alpha.types.Account) –
Required. The account to update. The account’s
name
field is used to identify the account.This corresponds to the
account
field on therequest
instance; ifrequest
is provided, this should not be set.update_mask (google.protobuf.field_mask_pb2.FieldMask) –
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.
This corresponds to the
update_mask
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A resource message representing a Google Analytics account.
- Return type
- update_attribution_settings(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.UpdateAttributionSettingsRequest, dict]] = None, *, attribution_settings: Optional[google.analytics.admin_v1alpha.types.resources.AttributionSettings] = None, update_mask: Optional[google.protobuf.field_mask_pb2.FieldMask] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.AttributionSettings [source]¶
Updates attribution settings on a property.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.UpdateAttributionSettingsRequest, dict]) – The request object. Request message for UpdateAttributionSettings RPC
attribution_settings (google.analytics.admin_v1alpha.types.AttributionSettings) –
Required. The attribution settings to update. The
name
field is used to identify the settings to be updated.This corresponds to the
attribution_settings
field on therequest
instance; ifrequest
is provided, this should not be set.update_mask (google.protobuf.field_mask_pb2.FieldMask) –
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.
This corresponds to the
update_mask
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
The attribution settings used for a given property. This is a singleton resource.
- Return type
- update_audience(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.UpdateAudienceRequest, dict]] = None, *, audience: Optional[google.analytics.admin_v1alpha.types.audience.Audience] = None, update_mask: Optional[google.protobuf.field_mask_pb2.FieldMask] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.audience.Audience [source]¶
Updates an Audience on a property.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.UpdateAudienceRequest, dict]) – The request object. Request message for UpdateAudience RPC.
audience (google.analytics.admin_v1alpha.types.Audience) –
Required. The audience to update. The audience’s
name
field is used to identify the audience to be updated.This corresponds to the
audience
field on therequest
instance; ifrequest
is provided, this should not be set.update_mask (google.protobuf.field_mask_pb2.FieldMask) –
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.
This corresponds to the
update_mask
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A resource message representing a GA4 Audience.
- Return type
- update_big_query_link(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.UpdateBigQueryLinkRequest, dict]] = None, *, bigquery_link: Optional[google.analytics.admin_v1alpha.types.resources.BigQueryLink] = None, update_mask: Optional[google.protobuf.field_mask_pb2.FieldMask] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.BigQueryLink [source]¶
Updates a BigQueryLink.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.UpdateBigQueryLinkRequest, dict]) – The request object. Request message for UpdateBigQueryLink RPC.
bigquery_link (google.analytics.admin_v1alpha.types.BigQueryLink) –
Required. The settings to update. The
name
field is used to identify the settings to be updated.This corresponds to the
bigquery_link
field on therequest
instance; ifrequest
is provided, this should not be set.update_mask (google.protobuf.field_mask_pb2.FieldMask) –
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.
This corresponds to the
update_mask
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A link between a GA4 Property and BigQuery project.
- Return type
- update_calculated_metric(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.UpdateCalculatedMetricRequest, dict]] = None, *, calculated_metric: Optional[google.analytics.admin_v1alpha.types.resources.CalculatedMetric] = None, update_mask: Optional[google.protobuf.field_mask_pb2.FieldMask] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.CalculatedMetric [source]¶
Updates a CalculatedMetric on a property.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.UpdateCalculatedMetricRequest, dict]) – The request object. Request message for UpdateCalculatedMetric RPC.
calculated_metric (google.analytics.admin_v1alpha.types.CalculatedMetric) –
Required. The CalculatedMetric to update
This corresponds to the
calculated_metric
field on therequest
instance; ifrequest
is provided, this should not be set.update_mask (google.protobuf.field_mask_pb2.FieldMask) –
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.
This corresponds to the
update_mask
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A definition for a calculated metric.
- Return type
- update_channel_group(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.UpdateChannelGroupRequest, dict]] = None, *, channel_group: Optional[google.analytics.admin_v1alpha.types.channel_group.ChannelGroup] = None, update_mask: Optional[google.protobuf.field_mask_pb2.FieldMask] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.channel_group.ChannelGroup [source]¶
Updates a ChannelGroup.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.UpdateChannelGroupRequest, dict]) – The request object. Request message for UpdateChannelGroup RPC.
channel_group (google.analytics.admin_v1alpha.types.ChannelGroup) –
Required. The ChannelGroup to update. The resource’s
name
field is used to identify the ChannelGroup to be updated.This corresponds to the
channel_group
field on therequest
instance; ifrequest
is provided, this should not be set.update_mask (google.protobuf.field_mask_pb2.FieldMask) –
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.
This corresponds to the
update_mask
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A resource message representing a Channel Group.
- Return type
- update_conversion_event(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.UpdateConversionEventRequest, dict]] = None, *, conversion_event: Optional[google.analytics.admin_v1alpha.types.resources.ConversionEvent] = None, update_mask: Optional[google.protobuf.field_mask_pb2.FieldMask] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.ConversionEvent [source]¶
Deprecated: Use
UpdateKeyEvent
instead. Updates a conversion event with the specified attributes.- Parameters
request (Union[google.analytics.admin_v1alpha.types.UpdateConversionEventRequest, dict]) – The request object. Request message for UpdateConversionEvent RPC
conversion_event (google.analytics.admin_v1alpha.types.ConversionEvent) –
Required. The conversion event to update. The
name
field is used to identify the settings to be updated.This corresponds to the
conversion_event
field on therequest
instance; ifrequest
is provided, this should not be set.update_mask (google.protobuf.field_mask_pb2.FieldMask) –
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.
This corresponds to the
update_mask
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A conversion event in a Google Analytics property.
- Return type
- update_custom_dimension(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.UpdateCustomDimensionRequest, dict]] = None, *, custom_dimension: Optional[google.analytics.admin_v1alpha.types.resources.CustomDimension] = None, update_mask: Optional[google.protobuf.field_mask_pb2.FieldMask] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.CustomDimension [source]¶
Updates a CustomDimension on a property.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.UpdateCustomDimensionRequest, dict]) – The request object. Request message for UpdateCustomDimension RPC.
custom_dimension (google.analytics.admin_v1alpha.types.CustomDimension) – The CustomDimension to update This corresponds to the
custom_dimension
field on therequest
instance; ifrequest
is provided, this should not be set.update_mask (google.protobuf.field_mask_pb2.FieldMask) –
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.
This corresponds to the
update_mask
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A definition for a CustomDimension.
- Return type
- update_custom_metric(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.UpdateCustomMetricRequest, dict]] = None, *, custom_metric: Optional[google.analytics.admin_v1alpha.types.resources.CustomMetric] = None, update_mask: Optional[google.protobuf.field_mask_pb2.FieldMask] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.CustomMetric [source]¶
Updates a CustomMetric on a property.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.UpdateCustomMetricRequest, dict]) – The request object. Request message for UpdateCustomMetric RPC.
custom_metric (google.analytics.admin_v1alpha.types.CustomMetric) – The CustomMetric to update This corresponds to the
custom_metric
field on therequest
instance; ifrequest
is provided, this should not be set.update_mask (google.protobuf.field_mask_pb2.FieldMask) –
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.
This corresponds to the
update_mask
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A definition for a custom metric.
- Return type
- update_data_redaction_settings(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.UpdateDataRedactionSettingsRequest, dict]] = None, *, data_redaction_settings: Optional[google.analytics.admin_v1alpha.types.resources.DataRedactionSettings] = None, update_mask: Optional[google.protobuf.field_mask_pb2.FieldMask] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.DataRedactionSettings [source]¶
Updates a DataRedactionSettings on a property.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.UpdateDataRedactionSettingsRequest, dict]) – The request object. Request message for UpdateDataRedactionSettings RPC.
data_redaction_settings (google.analytics.admin_v1alpha.types.DataRedactionSettings) –
Required. The settings to update. The
name
field is used to identify the settings to be updated.This corresponds to the
data_redaction_settings
field on therequest
instance; ifrequest
is provided, this should not be set.update_mask (google.protobuf.field_mask_pb2.FieldMask) –
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.
This corresponds to the
update_mask
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Settings for client-side data redaction. Singleton resource under a Web Stream.
- Return type
- update_data_retention_settings(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.UpdateDataRetentionSettingsRequest, dict]] = None, *, data_retention_settings: Optional[google.analytics.admin_v1alpha.types.resources.DataRetentionSettings] = None, update_mask: Optional[google.protobuf.field_mask_pb2.FieldMask] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.DataRetentionSettings [source]¶
Updates the singleton data retention settings for this property.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.UpdateDataRetentionSettingsRequest, dict]) – The request object. Request message for UpdateDataRetentionSettings RPC.
data_retention_settings (google.analytics.admin_v1alpha.types.DataRetentionSettings) –
Required. The settings to update. The
name
field is used to identify the settings to be updated.This corresponds to the
data_retention_settings
field on therequest
instance; ifrequest
is provided, this should not be set.update_mask (google.protobuf.field_mask_pb2.FieldMask) –
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.
This corresponds to the
update_mask
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Settings values for data retention. This is a singleton resource.
- Return type
- update_data_stream(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.UpdateDataStreamRequest, dict]] = None, *, data_stream: Optional[google.analytics.admin_v1alpha.types.resources.DataStream] = None, update_mask: Optional[google.protobuf.field_mask_pb2.FieldMask] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.DataStream [source]¶
Updates a DataStream on a property.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.UpdateDataStreamRequest, dict]) – The request object. Request message for UpdateDataStream RPC.
data_stream (google.analytics.admin_v1alpha.types.DataStream) – The DataStream to update This corresponds to the
data_stream
field on therequest
instance; ifrequest
is provided, this should not be set.update_mask (google.protobuf.field_mask_pb2.FieldMask) –
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.
This corresponds to the
update_mask
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A resource message representing a data stream.
- Return type
- update_display_video360_advertiser_link(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.UpdateDisplayVideo360AdvertiserLinkRequest, dict]] = None, *, display_video_360_advertiser_link: Optional[google.analytics.admin_v1alpha.types.resources.DisplayVideo360AdvertiserLink] = None, update_mask: Optional[google.protobuf.field_mask_pb2.FieldMask] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.DisplayVideo360AdvertiserLink [source]¶
Updates a DisplayVideo360AdvertiserLink on a property.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.UpdateDisplayVideo360AdvertiserLinkRequest, dict]) – The request object. Request message for UpdateDisplayVideo360AdvertiserLink RPC.
display_video_360_advertiser_link (google.analytics.admin_v1alpha.types.DisplayVideo360AdvertiserLink) –
The DisplayVideo360AdvertiserLink to update
This corresponds to the
display_video_360_advertiser_link
field on therequest
instance; ifrequest
is provided, this should not be set.update_mask (google.protobuf.field_mask_pb2.FieldMask) –
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.
This corresponds to the
update_mask
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A link between a GA4 property and a Display & Video 360 advertiser.
- Return type
google.analytics.admin_v1alpha.types.DisplayVideo360AdvertiserLink
- update_enhanced_measurement_settings(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.UpdateEnhancedMeasurementSettingsRequest, dict]] = None, *, enhanced_measurement_settings: Optional[google.analytics.admin_v1alpha.types.resources.EnhancedMeasurementSettings] = None, update_mask: Optional[google.protobuf.field_mask_pb2.FieldMask] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.EnhancedMeasurementSettings [source]¶
Updates the enhanced measurement settings for this data stream. Note that the stream must enable enhanced measurement for these settings to take effect.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.UpdateEnhancedMeasurementSettingsRequest, dict]) – The request object. Request message for UpdateEnhancedMeasurementSettings RPC.
enhanced_measurement_settings (google.analytics.admin_v1alpha.types.EnhancedMeasurementSettings) –
Required. The settings to update. The
name
field is used to identify the settings to be updated.This corresponds to the
enhanced_measurement_settings
field on therequest
instance; ifrequest
is provided, this should not be set.update_mask (google.protobuf.field_mask_pb2.FieldMask) –
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.
This corresponds to the
update_mask
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Singleton resource under a web DataStream, configuring measurement of additional site interactions and content.
- Return type
google.analytics.admin_v1alpha.types.EnhancedMeasurementSettings
- update_event_create_rule(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.UpdateEventCreateRuleRequest, dict]] = None, *, event_create_rule: Optional[google.analytics.admin_v1alpha.types.event_create_and_edit.EventCreateRule] = None, update_mask: Optional[google.protobuf.field_mask_pb2.FieldMask] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.event_create_and_edit.EventCreateRule [source]¶
Updates an EventCreateRule.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.UpdateEventCreateRuleRequest, dict]) – The request object. Request message for UpdateEventCreateRule RPC.
event_create_rule (google.analytics.admin_v1alpha.types.EventCreateRule) –
Required. The EventCreateRule to update. The resource’s
name
field is used to identify the EventCreateRule to be updated.This corresponds to the
event_create_rule
field on therequest
instance; ifrequest
is provided, this should not be set.update_mask (google.protobuf.field_mask_pb2.FieldMask) –
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.
This corresponds to the
update_mask
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
An Event Create Rule defines conditions that will trigger the creation of an entirely new event based upon matched criteria of a source event. Additional mutations of the parameters from the source event can be defined.
Unlike Event Edit rules, Event Creation Rules have no defined order. They will all be run independently.
Event Edit and Event Create rules can’t be used to modify an event created from an Event Create rule.
- Return type
- update_event_edit_rule(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.UpdateEventEditRuleRequest, dict]] = None, *, event_edit_rule: Optional[google.analytics.admin_v1alpha.types.event_create_and_edit.EventEditRule] = None, update_mask: Optional[google.protobuf.field_mask_pb2.FieldMask] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.event_create_and_edit.EventEditRule [source]¶
Updates an EventEditRule.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.UpdateEventEditRuleRequest, dict]) – The request object. Request message for UpdateEventEditRule RPC.
event_edit_rule (google.analytics.admin_v1alpha.types.EventEditRule) –
Required. The EventEditRule to update. The resource’s
name
field is used to identify the EventEditRule to be updated.This corresponds to the
event_edit_rule
field on therequest
instance; ifrequest
is provided, this should not be set.update_mask (google.protobuf.field_mask_pb2.FieldMask) –
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.
This corresponds to the
update_mask
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
An Event Edit Rule defines conditions that will trigger the creation of an entirely new event based upon matched criteria of a source event. Additional mutations of the parameters from the source event can be defined.
Unlike Event Create rules, Event Edit Rules are applied in their defined order.
Event Edit rules can’t be used to modify an event created from an Event Create rule.
- Return type
- update_expanded_data_set(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.UpdateExpandedDataSetRequest, dict]] = None, *, expanded_data_set: Optional[google.analytics.admin_v1alpha.types.expanded_data_set.ExpandedDataSet] = None, update_mask: Optional[google.protobuf.field_mask_pb2.FieldMask] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.expanded_data_set.ExpandedDataSet [source]¶
Updates a ExpandedDataSet on a property.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.UpdateExpandedDataSetRequest, dict]) – The request object. Request message for UpdateExpandedDataSet RPC.
expanded_data_set (google.analytics.admin_v1alpha.types.ExpandedDataSet) –
Required. The ExpandedDataSet to update. The resource’s
name
field is used to identify the ExpandedDataSet to be updated.This corresponds to the
expanded_data_set
field on therequest
instance; ifrequest
is provided, this should not be set.update_mask (google.protobuf.field_mask_pb2.FieldMask) –
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.
This corresponds to the
update_mask
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A resource message representing a GA4 ExpandedDataSet.
- Return type
- update_google_ads_link(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.UpdateGoogleAdsLinkRequest, dict]] = None, *, google_ads_link: Optional[google.analytics.admin_v1alpha.types.resources.GoogleAdsLink] = None, update_mask: Optional[google.protobuf.field_mask_pb2.FieldMask] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.GoogleAdsLink [source]¶
Updates a GoogleAdsLink on a property
- Parameters
request (Union[google.analytics.admin_v1alpha.types.UpdateGoogleAdsLinkRequest, dict]) – The request object. Request message for UpdateGoogleAdsLink RPC
google_ads_link (google.analytics.admin_v1alpha.types.GoogleAdsLink) – The GoogleAdsLink to update This corresponds to the
google_ads_link
field on therequest
instance; ifrequest
is provided, this should not be set.update_mask (google.protobuf.field_mask_pb2.FieldMask) –
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.
This corresponds to the
update_mask
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A link between a GA4 property and a Google Ads account.
- Return type
- update_google_signals_settings(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.UpdateGoogleSignalsSettingsRequest, dict]] = None, *, google_signals_settings: Optional[google.analytics.admin_v1alpha.types.resources.GoogleSignalsSettings] = None, update_mask: Optional[google.protobuf.field_mask_pb2.FieldMask] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.GoogleSignalsSettings [source]¶
Updates Google Signals settings for a property.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.UpdateGoogleSignalsSettingsRequest, dict]) – The request object. Request message for UpdateGoogleSignalsSettings RPC
google_signals_settings (google.analytics.admin_v1alpha.types.GoogleSignalsSettings) –
Required. The settings to update. The
name
field is used to identify the settings to be updated.This corresponds to the
google_signals_settings
field on therequest
instance; ifrequest
is provided, this should not be set.update_mask (google.protobuf.field_mask_pb2.FieldMask) –
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.
This corresponds to the
update_mask
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
Settings values for Google Signals. This is a singleton resource.
- Return type
- update_key_event(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.UpdateKeyEventRequest, dict]] = None, *, key_event: Optional[google.analytics.admin_v1alpha.types.resources.KeyEvent] = None, update_mask: Optional[google.protobuf.field_mask_pb2.FieldMask] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.KeyEvent [source]¶
Updates a Key Event.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.UpdateKeyEventRequest, dict]) – The request object. Request message for UpdateKeyEvent RPC
key_event (google.analytics.admin_v1alpha.types.KeyEvent) –
Required. The Key Event to update. The
name
field is used to identify the settings to be updated.This corresponds to the
key_event
field on therequest
instance; ifrequest
is provided, this should not be set.update_mask (google.protobuf.field_mask_pb2.FieldMask) –
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.
This corresponds to the
update_mask
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A key event in a Google Analytics property.
- Return type
- update_measurement_protocol_secret(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.UpdateMeasurementProtocolSecretRequest, dict]] = None, *, measurement_protocol_secret: Optional[google.analytics.admin_v1alpha.types.resources.MeasurementProtocolSecret] = None, update_mask: Optional[google.protobuf.field_mask_pb2.FieldMask] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.MeasurementProtocolSecret [source]¶
Updates a measurement protocol secret.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.UpdateMeasurementProtocolSecretRequest, dict]) – The request object. Request message for UpdateMeasurementProtocolSecret RPC
measurement_protocol_secret (google.analytics.admin_v1alpha.types.MeasurementProtocolSecret) –
Required. The measurement protocol secret to update.
This corresponds to the
measurement_protocol_secret
field on therequest
instance; ifrequest
is provided, this should not be set.update_mask (google.protobuf.field_mask_pb2.FieldMask) –
Required. The list of fields to be updated. Omitted fields will not be updated.
This corresponds to the
update_mask
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A secret value used for sending hits to Measurement Protocol.
- Return type
google.analytics.admin_v1alpha.types.MeasurementProtocolSecret
- update_property(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.UpdatePropertyRequest, dict]] = None, *, property: Optional[google.analytics.admin_v1alpha.types.resources.Property] = None, update_mask: Optional[google.protobuf.field_mask_pb2.FieldMask] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.Property [source]¶
Updates a property.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.UpdatePropertyRequest, dict]) – The request object. Request message for UpdateProperty RPC.
property (google.analytics.admin_v1alpha.types.Property) –
Required. The property to update. The property’s
name
field is used to identify the property to be updated.This corresponds to the
property
field on therequest
instance; ifrequest
is provided, this should not be set.update_mask (google.protobuf.field_mask_pb2.FieldMask) –
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.
This corresponds to the
update_mask
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A resource message representing a Google Analytics GA4 property.
- Return type
- update_search_ads360_link(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.UpdateSearchAds360LinkRequest, dict]] = None, *, search_ads_360_link: Optional[google.analytics.admin_v1alpha.types.resources.SearchAds360Link] = None, update_mask: Optional[google.protobuf.field_mask_pb2.FieldMask] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.SearchAds360Link [source]¶
Updates a SearchAds360Link on a property.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.UpdateSearchAds360LinkRequest, dict]) – The request object. Request message for UpdateSearchAds360Link RPC.
search_ads_360_link (google.analytics.admin_v1alpha.types.SearchAds360Link) – The SearchAds360Link to update This corresponds to the
search_ads_360_link
field on therequest
instance; ifrequest
is provided, this should not be set.update_mask (google.protobuf.field_mask_pb2.FieldMask) –
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.
This corresponds to the
update_mask
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A link between a GA4 property and a Search Ads 360 entity.
- Return type
- update_sk_ad_network_conversion_value_schema(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.UpdateSKAdNetworkConversionValueSchemaRequest, dict]] = None, *, skadnetwork_conversion_value_schema: Optional[google.analytics.admin_v1alpha.types.resources.SKAdNetworkConversionValueSchema] = None, update_mask: Optional[google.protobuf.field_mask_pb2.FieldMask] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.resources.SKAdNetworkConversionValueSchema [source]¶
Updates a SKAdNetworkConversionValueSchema.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.UpdateSKAdNetworkConversionValueSchemaRequest, dict]) – The request object. Request message for UpdateSKAdNetworkConversionValueSchema RPC.
skadnetwork_conversion_value_schema (google.analytics.admin_v1alpha.types.SKAdNetworkConversionValueSchema) –
Required. SKAdNetwork conversion value schema to update.
This corresponds to the
skadnetwork_conversion_value_schema
field on therequest
instance; ifrequest
is provided, this should not be set.update_mask (google.protobuf.field_mask_pb2.FieldMask) –
Required. The list of fields to be updated. Omitted fields will not be updated.
This corresponds to the
update_mask
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
SKAdNetwork conversion value schema of an iOS stream.
- Return type
google.analytics.admin_v1alpha.types.SKAdNetworkConversionValueSchema
- update_subproperty_event_filter(request: Optional[Union[google.analytics.admin_v1alpha.types.analytics_admin.UpdateSubpropertyEventFilterRequest, dict]] = None, *, subproperty_event_filter: Optional[google.analytics.admin_v1alpha.types.subproperty_event_filter.SubpropertyEventFilter] = None, update_mask: Optional[google.protobuf.field_mask_pb2.FieldMask] = None, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ()) google.analytics.admin_v1alpha.types.subproperty_event_filter.SubpropertyEventFilter [source]¶
Updates a subproperty Event Filter.
- Parameters
request (Union[google.analytics.admin_v1alpha.types.UpdateSubpropertyEventFilterRequest, dict]) – The request object. Request message for UpdateSubpropertyEventFilter RPC.
subproperty_event_filter (google.analytics.admin_v1alpha.types.SubpropertyEventFilter) –
Required. The subproperty event filter to update.
This corresponds to the
subproperty_event_filter
field on therequest
instance; ifrequest
is provided, this should not be set.update_mask (google.protobuf.field_mask_pb2.FieldMask) –
Required. The list of fields to update. 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.
This corresponds to the
update_mask
field on therequest
instance; ifrequest
is provided, this should not be set.retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- Returns
A resource message representing a GA4 Subproperty event filter.
- Return type
- class google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListAccessBindingsAsyncPager(method: Callable[[...], Awaitable[google.analytics.admin_v1alpha.types.analytics_admin.ListAccessBindingsResponse]], request: google.analytics.admin_v1alpha.types.analytics_admin.ListAccessBindingsRequest, response: google.analytics.admin_v1alpha.types.analytics_admin.ListAccessBindingsResponse, *, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ())[source]¶
A pager for iterating through
list_access_bindings
requests.This class thinly wraps an initial
google.analytics.admin_v1alpha.types.ListAccessBindingsResponse
object, and provides an__aiter__
method to iterate through itsaccess_bindings
field.If there are more pages, the
__aiter__
method will make additionalListAccessBindings
requests and continue to iterate through theaccess_bindings
field on the corresponding responses.All the usual
google.analytics.admin_v1alpha.types.ListAccessBindingsResponse
attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.Instantiates the pager.
- Parameters
method (Callable) – The method that was originally called, and which instantiated this pager.
request (google.analytics.admin_v1alpha.types.ListAccessBindingsRequest) – The initial request object.
response (google.analytics.admin_v1alpha.types.ListAccessBindingsResponse) – The initial response object.
retry (google.api_core.retry.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- class google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListAccessBindingsPager(method: Callable[[...], google.analytics.admin_v1alpha.types.analytics_admin.ListAccessBindingsResponse], request: google.analytics.admin_v1alpha.types.analytics_admin.ListAccessBindingsRequest, response: google.analytics.admin_v1alpha.types.analytics_admin.ListAccessBindingsResponse, *, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ())[source]¶
A pager for iterating through
list_access_bindings
requests.This class thinly wraps an initial
google.analytics.admin_v1alpha.types.ListAccessBindingsResponse
object, and provides an__iter__
method to iterate through itsaccess_bindings
field.If there are more pages, the
__iter__
method will make additionalListAccessBindings
requests and continue to iterate through theaccess_bindings
field on the corresponding responses.All the usual
google.analytics.admin_v1alpha.types.ListAccessBindingsResponse
attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.Instantiate the pager.
- Parameters
method (Callable) – The method that was originally called, and which instantiated this pager.
request (google.analytics.admin_v1alpha.types.ListAccessBindingsRequest) – The initial request object.
response (google.analytics.admin_v1alpha.types.ListAccessBindingsResponse) – The initial response object.
retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- class google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListAccountSummariesAsyncPager(method: Callable[[...], Awaitable[google.analytics.admin_v1alpha.types.analytics_admin.ListAccountSummariesResponse]], request: google.analytics.admin_v1alpha.types.analytics_admin.ListAccountSummariesRequest, response: google.analytics.admin_v1alpha.types.analytics_admin.ListAccountSummariesResponse, *, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ())[source]¶
A pager for iterating through
list_account_summaries
requests.This class thinly wraps an initial
google.analytics.admin_v1alpha.types.ListAccountSummariesResponse
object, and provides an__aiter__
method to iterate through itsaccount_summaries
field.If there are more pages, the
__aiter__
method will make additionalListAccountSummaries
requests and continue to iterate through theaccount_summaries
field on the corresponding responses.All the usual
google.analytics.admin_v1alpha.types.ListAccountSummariesResponse
attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.Instantiates the pager.
- Parameters
method (Callable) – The method that was originally called, and which instantiated this pager.
request (google.analytics.admin_v1alpha.types.ListAccountSummariesRequest) – The initial request object.
response (google.analytics.admin_v1alpha.types.ListAccountSummariesResponse) – The initial response object.
retry (google.api_core.retry.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- class google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListAccountSummariesPager(method: Callable[[...], google.analytics.admin_v1alpha.types.analytics_admin.ListAccountSummariesResponse], request: google.analytics.admin_v1alpha.types.analytics_admin.ListAccountSummariesRequest, response: google.analytics.admin_v1alpha.types.analytics_admin.ListAccountSummariesResponse, *, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ())[source]¶
A pager for iterating through
list_account_summaries
requests.This class thinly wraps an initial
google.analytics.admin_v1alpha.types.ListAccountSummariesResponse
object, and provides an__iter__
method to iterate through itsaccount_summaries
field.If there are more pages, the
__iter__
method will make additionalListAccountSummaries
requests and continue to iterate through theaccount_summaries
field on the corresponding responses.All the usual
google.analytics.admin_v1alpha.types.ListAccountSummariesResponse
attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.Instantiate the pager.
- Parameters
method (Callable) – The method that was originally called, and which instantiated this pager.
request (google.analytics.admin_v1alpha.types.ListAccountSummariesRequest) – The initial request object.
response (google.analytics.admin_v1alpha.types.ListAccountSummariesResponse) – The initial response object.
retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- class google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListAccountsAsyncPager(method: Callable[[...], Awaitable[google.analytics.admin_v1alpha.types.analytics_admin.ListAccountsResponse]], request: google.analytics.admin_v1alpha.types.analytics_admin.ListAccountsRequest, response: google.analytics.admin_v1alpha.types.analytics_admin.ListAccountsResponse, *, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ())[source]¶
A pager for iterating through
list_accounts
requests.This class thinly wraps an initial
google.analytics.admin_v1alpha.types.ListAccountsResponse
object, and provides an__aiter__
method to iterate through itsaccounts
field.If there are more pages, the
__aiter__
method will make additionalListAccounts
requests and continue to iterate through theaccounts
field on the corresponding responses.All the usual
google.analytics.admin_v1alpha.types.ListAccountsResponse
attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.Instantiates the pager.
- Parameters
method (Callable) – The method that was originally called, and which instantiated this pager.
request (google.analytics.admin_v1alpha.types.ListAccountsRequest) – The initial request object.
response (google.analytics.admin_v1alpha.types.ListAccountsResponse) – The initial response object.
retry (google.api_core.retry.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- class google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListAccountsPager(method: Callable[[...], google.analytics.admin_v1alpha.types.analytics_admin.ListAccountsResponse], request: google.analytics.admin_v1alpha.types.analytics_admin.ListAccountsRequest, response: google.analytics.admin_v1alpha.types.analytics_admin.ListAccountsResponse, *, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ())[source]¶
A pager for iterating through
list_accounts
requests.This class thinly wraps an initial
google.analytics.admin_v1alpha.types.ListAccountsResponse
object, and provides an__iter__
method to iterate through itsaccounts
field.If there are more pages, the
__iter__
method will make additionalListAccounts
requests and continue to iterate through theaccounts
field on the corresponding responses.All the usual
google.analytics.admin_v1alpha.types.ListAccountsResponse
attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.Instantiate the pager.
- Parameters
method (Callable) – The method that was originally called, and which instantiated this pager.
request (google.analytics.admin_v1alpha.types.ListAccountsRequest) – The initial request object.
response (google.analytics.admin_v1alpha.types.ListAccountsResponse) – The initial response object.
retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- class google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListAdSenseLinksAsyncPager(method: Callable[[...], Awaitable[google.analytics.admin_v1alpha.types.analytics_admin.ListAdSenseLinksResponse]], request: google.analytics.admin_v1alpha.types.analytics_admin.ListAdSenseLinksRequest, response: google.analytics.admin_v1alpha.types.analytics_admin.ListAdSenseLinksResponse, *, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ())[source]¶
A pager for iterating through
list_ad_sense_links
requests.This class thinly wraps an initial
google.analytics.admin_v1alpha.types.ListAdSenseLinksResponse
object, and provides an__aiter__
method to iterate through itsadsense_links
field.If there are more pages, the
__aiter__
method will make additionalListAdSenseLinks
requests and continue to iterate through theadsense_links
field on the corresponding responses.All the usual
google.analytics.admin_v1alpha.types.ListAdSenseLinksResponse
attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.Instantiates the pager.
- Parameters
method (Callable) – The method that was originally called, and which instantiated this pager.
request (google.analytics.admin_v1alpha.types.ListAdSenseLinksRequest) – The initial request object.
response (google.analytics.admin_v1alpha.types.ListAdSenseLinksResponse) – The initial response object.
retry (google.api_core.retry.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- class google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListAdSenseLinksPager(method: Callable[[...], google.analytics.admin_v1alpha.types.analytics_admin.ListAdSenseLinksResponse], request: google.analytics.admin_v1alpha.types.analytics_admin.ListAdSenseLinksRequest, response: google.analytics.admin_v1alpha.types.analytics_admin.ListAdSenseLinksResponse, *, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ())[source]¶
A pager for iterating through
list_ad_sense_links
requests.This class thinly wraps an initial
google.analytics.admin_v1alpha.types.ListAdSenseLinksResponse
object, and provides an__iter__
method to iterate through itsadsense_links
field.If there are more pages, the
__iter__
method will make additionalListAdSenseLinks
requests and continue to iterate through theadsense_links
field on the corresponding responses.All the usual
google.analytics.admin_v1alpha.types.ListAdSenseLinksResponse
attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.Instantiate the pager.
- Parameters
method (Callable) – The method that was originally called, and which instantiated this pager.
request (google.analytics.admin_v1alpha.types.ListAdSenseLinksRequest) – The initial request object.
response (google.analytics.admin_v1alpha.types.ListAdSenseLinksResponse) – The initial response object.
retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- class google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListAudiencesAsyncPager(method: Callable[[...], Awaitable[google.analytics.admin_v1alpha.types.analytics_admin.ListAudiencesResponse]], request: google.analytics.admin_v1alpha.types.analytics_admin.ListAudiencesRequest, response: google.analytics.admin_v1alpha.types.analytics_admin.ListAudiencesResponse, *, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ())[source]¶
A pager for iterating through
list_audiences
requests.This class thinly wraps an initial
google.analytics.admin_v1alpha.types.ListAudiencesResponse
object, and provides an__aiter__
method to iterate through itsaudiences
field.If there are more pages, the
__aiter__
method will make additionalListAudiences
requests and continue to iterate through theaudiences
field on the corresponding responses.All the usual
google.analytics.admin_v1alpha.types.ListAudiencesResponse
attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.Instantiates the pager.
- Parameters
method (Callable) – The method that was originally called, and which instantiated this pager.
request (google.analytics.admin_v1alpha.types.ListAudiencesRequest) – The initial request object.
response (google.analytics.admin_v1alpha.types.ListAudiencesResponse) – The initial response object.
retry (google.api_core.retry.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- class google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListAudiencesPager(method: Callable[[...], google.analytics.admin_v1alpha.types.analytics_admin.ListAudiencesResponse], request: google.analytics.admin_v1alpha.types.analytics_admin.ListAudiencesRequest, response: google.analytics.admin_v1alpha.types.analytics_admin.ListAudiencesResponse, *, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ())[source]¶
A pager for iterating through
list_audiences
requests.This class thinly wraps an initial
google.analytics.admin_v1alpha.types.ListAudiencesResponse
object, and provides an__iter__
method to iterate through itsaudiences
field.If there are more pages, the
__iter__
method will make additionalListAudiences
requests and continue to iterate through theaudiences
field on the corresponding responses.All the usual
google.analytics.admin_v1alpha.types.ListAudiencesResponse
attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.Instantiate the pager.
- Parameters
method (Callable) – The method that was originally called, and which instantiated this pager.
request (google.analytics.admin_v1alpha.types.ListAudiencesRequest) – The initial request object.
response (google.analytics.admin_v1alpha.types.ListAudiencesResponse) – The initial response object.
retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- class google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListBigQueryLinksAsyncPager(method: Callable[[...], Awaitable[google.analytics.admin_v1alpha.types.analytics_admin.ListBigQueryLinksResponse]], request: google.analytics.admin_v1alpha.types.analytics_admin.ListBigQueryLinksRequest, response: google.analytics.admin_v1alpha.types.analytics_admin.ListBigQueryLinksResponse, *, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ())[source]¶
A pager for iterating through
list_big_query_links
requests.This class thinly wraps an initial
google.analytics.admin_v1alpha.types.ListBigQueryLinksResponse
object, and provides an__aiter__
method to iterate through itsbigquery_links
field.If there are more pages, the
__aiter__
method will make additionalListBigQueryLinks
requests and continue to iterate through thebigquery_links
field on the corresponding responses.All the usual
google.analytics.admin_v1alpha.types.ListBigQueryLinksResponse
attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.Instantiates the pager.
- Parameters
method (Callable) – The method that was originally called, and which instantiated this pager.
request (google.analytics.admin_v1alpha.types.ListBigQueryLinksRequest) – The initial request object.
response (google.analytics.admin_v1alpha.types.ListBigQueryLinksResponse) – The initial response object.
retry (google.api_core.retry.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- class google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListBigQueryLinksPager(method: Callable[[...], google.analytics.admin_v1alpha.types.analytics_admin.ListBigQueryLinksResponse], request: google.analytics.admin_v1alpha.types.analytics_admin.ListBigQueryLinksRequest, response: google.analytics.admin_v1alpha.types.analytics_admin.ListBigQueryLinksResponse, *, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ())[source]¶
A pager for iterating through
list_big_query_links
requests.This class thinly wraps an initial
google.analytics.admin_v1alpha.types.ListBigQueryLinksResponse
object, and provides an__iter__
method to iterate through itsbigquery_links
field.If there are more pages, the
__iter__
method will make additionalListBigQueryLinks
requests and continue to iterate through thebigquery_links
field on the corresponding responses.All the usual
google.analytics.admin_v1alpha.types.ListBigQueryLinksResponse
attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.Instantiate the pager.
- Parameters
method (Callable) – The method that was originally called, and which instantiated this pager.
request (google.analytics.admin_v1alpha.types.ListBigQueryLinksRequest) – The initial request object.
response (google.analytics.admin_v1alpha.types.ListBigQueryLinksResponse) – The initial response object.
retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- class google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListCalculatedMetricsAsyncPager(method: Callable[[...], Awaitable[google.analytics.admin_v1alpha.types.analytics_admin.ListCalculatedMetricsResponse]], request: google.analytics.admin_v1alpha.types.analytics_admin.ListCalculatedMetricsRequest, response: google.analytics.admin_v1alpha.types.analytics_admin.ListCalculatedMetricsResponse, *, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ())[source]¶
A pager for iterating through
list_calculated_metrics
requests.This class thinly wraps an initial
google.analytics.admin_v1alpha.types.ListCalculatedMetricsResponse
object, and provides an__aiter__
method to iterate through itscalculated_metrics
field.If there are more pages, the
__aiter__
method will make additionalListCalculatedMetrics
requests and continue to iterate through thecalculated_metrics
field on the corresponding responses.All the usual
google.analytics.admin_v1alpha.types.ListCalculatedMetricsResponse
attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.Instantiates the pager.
- Parameters
method (Callable) – The method that was originally called, and which instantiated this pager.
request (google.analytics.admin_v1alpha.types.ListCalculatedMetricsRequest) – The initial request object.
response (google.analytics.admin_v1alpha.types.ListCalculatedMetricsResponse) – The initial response object.
retry (google.api_core.retry.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- class google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListCalculatedMetricsPager(method: Callable[[...], google.analytics.admin_v1alpha.types.analytics_admin.ListCalculatedMetricsResponse], request: google.analytics.admin_v1alpha.types.analytics_admin.ListCalculatedMetricsRequest, response: google.analytics.admin_v1alpha.types.analytics_admin.ListCalculatedMetricsResponse, *, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ())[source]¶
A pager for iterating through
list_calculated_metrics
requests.This class thinly wraps an initial
google.analytics.admin_v1alpha.types.ListCalculatedMetricsResponse
object, and provides an__iter__
method to iterate through itscalculated_metrics
field.If there are more pages, the
__iter__
method will make additionalListCalculatedMetrics
requests and continue to iterate through thecalculated_metrics
field on the corresponding responses.All the usual
google.analytics.admin_v1alpha.types.ListCalculatedMetricsResponse
attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.Instantiate the pager.
- Parameters
method (Callable) – The method that was originally called, and which instantiated this pager.
request (google.analytics.admin_v1alpha.types.ListCalculatedMetricsRequest) – The initial request object.
response (google.analytics.admin_v1alpha.types.ListCalculatedMetricsResponse) – The initial response object.
retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- class google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListChannelGroupsAsyncPager(method: Callable[[...], Awaitable[google.analytics.admin_v1alpha.types.analytics_admin.ListChannelGroupsResponse]], request: google.analytics.admin_v1alpha.types.analytics_admin.ListChannelGroupsRequest, response: google.analytics.admin_v1alpha.types.analytics_admin.ListChannelGroupsResponse, *, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ())[source]¶
A pager for iterating through
list_channel_groups
requests.This class thinly wraps an initial
google.analytics.admin_v1alpha.types.ListChannelGroupsResponse
object, and provides an__aiter__
method to iterate through itschannel_groups
field.If there are more pages, the
__aiter__
method will make additionalListChannelGroups
requests and continue to iterate through thechannel_groups
field on the corresponding responses.All the usual
google.analytics.admin_v1alpha.types.ListChannelGroupsResponse
attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.Instantiates the pager.
- Parameters
method (Callable) – The method that was originally called, and which instantiated this pager.
request (google.analytics.admin_v1alpha.types.ListChannelGroupsRequest) – The initial request object.
response (google.analytics.admin_v1alpha.types.ListChannelGroupsResponse) – The initial response object.
retry (google.api_core.retry.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- class google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListChannelGroupsPager(method: Callable[[...], google.analytics.admin_v1alpha.types.analytics_admin.ListChannelGroupsResponse], request: google.analytics.admin_v1alpha.types.analytics_admin.ListChannelGroupsRequest, response: google.analytics.admin_v1alpha.types.analytics_admin.ListChannelGroupsResponse, *, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ())[source]¶
A pager for iterating through
list_channel_groups
requests.This class thinly wraps an initial
google.analytics.admin_v1alpha.types.ListChannelGroupsResponse
object, and provides an__iter__
method to iterate through itschannel_groups
field.If there are more pages, the
__iter__
method will make additionalListChannelGroups
requests and continue to iterate through thechannel_groups
field on the corresponding responses.All the usual
google.analytics.admin_v1alpha.types.ListChannelGroupsResponse
attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.Instantiate the pager.
- Parameters
method (Callable) – The method that was originally called, and which instantiated this pager.
request (google.analytics.admin_v1alpha.types.ListChannelGroupsRequest) – The initial request object.
response (google.analytics.admin_v1alpha.types.ListChannelGroupsResponse) – The initial response object.
retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- class google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListConversionEventsAsyncPager(method: Callable[[...], Awaitable[google.analytics.admin_v1alpha.types.analytics_admin.ListConversionEventsResponse]], request: google.analytics.admin_v1alpha.types.analytics_admin.ListConversionEventsRequest, response: google.analytics.admin_v1alpha.types.analytics_admin.ListConversionEventsResponse, *, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ())[source]¶
A pager for iterating through
list_conversion_events
requests.This class thinly wraps an initial
google.analytics.admin_v1alpha.types.ListConversionEventsResponse
object, and provides an__aiter__
method to iterate through itsconversion_events
field.If there are more pages, the
__aiter__
method will make additionalListConversionEvents
requests and continue to iterate through theconversion_events
field on the corresponding responses.All the usual
google.analytics.admin_v1alpha.types.ListConversionEventsResponse
attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.Instantiates the pager.
- Parameters
method (Callable) – The method that was originally called, and which instantiated this pager.
request (google.analytics.admin_v1alpha.types.ListConversionEventsRequest) – The initial request object.
response (google.analytics.admin_v1alpha.types.ListConversionEventsResponse) – The initial response object.
retry (google.api_core.retry.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- class google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListConversionEventsPager(method: Callable[[...], google.analytics.admin_v1alpha.types.analytics_admin.ListConversionEventsResponse], request: google.analytics.admin_v1alpha.types.analytics_admin.ListConversionEventsRequest, response: google.analytics.admin_v1alpha.types.analytics_admin.ListConversionEventsResponse, *, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ())[source]¶
A pager for iterating through
list_conversion_events
requests.This class thinly wraps an initial
google.analytics.admin_v1alpha.types.ListConversionEventsResponse
object, and provides an__iter__
method to iterate through itsconversion_events
field.If there are more pages, the
__iter__
method will make additionalListConversionEvents
requests and continue to iterate through theconversion_events
field on the corresponding responses.All the usual
google.analytics.admin_v1alpha.types.ListConversionEventsResponse
attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.Instantiate the pager.
- Parameters
method (Callable) – The method that was originally called, and which instantiated this pager.
request (google.analytics.admin_v1alpha.types.ListConversionEventsRequest) – The initial request object.
response (google.analytics.admin_v1alpha.types.ListConversionEventsResponse) – The initial response object.
retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- class google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListCustomDimensionsAsyncPager(method: Callable[[...], Awaitable[google.analytics.admin_v1alpha.types.analytics_admin.ListCustomDimensionsResponse]], request: google.analytics.admin_v1alpha.types.analytics_admin.ListCustomDimensionsRequest, response: google.analytics.admin_v1alpha.types.analytics_admin.ListCustomDimensionsResponse, *, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ())[source]¶
A pager for iterating through
list_custom_dimensions
requests.This class thinly wraps an initial
google.analytics.admin_v1alpha.types.ListCustomDimensionsResponse
object, and provides an__aiter__
method to iterate through itscustom_dimensions
field.If there are more pages, the
__aiter__
method will make additionalListCustomDimensions
requests and continue to iterate through thecustom_dimensions
field on the corresponding responses.All the usual
google.analytics.admin_v1alpha.types.ListCustomDimensionsResponse
attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.Instantiates the pager.
- Parameters
method (Callable) – The method that was originally called, and which instantiated this pager.
request (google.analytics.admin_v1alpha.types.ListCustomDimensionsRequest) – The initial request object.
response (google.analytics.admin_v1alpha.types.ListCustomDimensionsResponse) – The initial response object.
retry (google.api_core.retry.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- class google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListCustomDimensionsPager(method: Callable[[...], google.analytics.admin_v1alpha.types.analytics_admin.ListCustomDimensionsResponse], request: google.analytics.admin_v1alpha.types.analytics_admin.ListCustomDimensionsRequest, response: google.analytics.admin_v1alpha.types.analytics_admin.ListCustomDimensionsResponse, *, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ())[source]¶
A pager for iterating through
list_custom_dimensions
requests.This class thinly wraps an initial
google.analytics.admin_v1alpha.types.ListCustomDimensionsResponse
object, and provides an__iter__
method to iterate through itscustom_dimensions
field.If there are more pages, the
__iter__
method will make additionalListCustomDimensions
requests and continue to iterate through thecustom_dimensions
field on the corresponding responses.All the usual
google.analytics.admin_v1alpha.types.ListCustomDimensionsResponse
attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.Instantiate the pager.
- Parameters
method (Callable) – The method that was originally called, and which instantiated this pager.
request (google.analytics.admin_v1alpha.types.ListCustomDimensionsRequest) – The initial request object.
response (google.analytics.admin_v1alpha.types.ListCustomDimensionsResponse) – The initial response object.
retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- class google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListCustomMetricsAsyncPager(method: Callable[[...], Awaitable[google.analytics.admin_v1alpha.types.analytics_admin.ListCustomMetricsResponse]], request: google.analytics.admin_v1alpha.types.analytics_admin.ListCustomMetricsRequest, response: google.analytics.admin_v1alpha.types.analytics_admin.ListCustomMetricsResponse, *, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ())[source]¶
A pager for iterating through
list_custom_metrics
requests.This class thinly wraps an initial
google.analytics.admin_v1alpha.types.ListCustomMetricsResponse
object, and provides an__aiter__
method to iterate through itscustom_metrics
field.If there are more pages, the
__aiter__
method will make additionalListCustomMetrics
requests and continue to iterate through thecustom_metrics
field on the corresponding responses.All the usual
google.analytics.admin_v1alpha.types.ListCustomMetricsResponse
attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.Instantiates the pager.
- Parameters
method (Callable) – The method that was originally called, and which instantiated this pager.
request (google.analytics.admin_v1alpha.types.ListCustomMetricsRequest) – The initial request object.
response (google.analytics.admin_v1alpha.types.ListCustomMetricsResponse) – The initial response object.
retry (google.api_core.retry.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- class google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListCustomMetricsPager(method: Callable[[...], google.analytics.admin_v1alpha.types.analytics_admin.ListCustomMetricsResponse], request: google.analytics.admin_v1alpha.types.analytics_admin.ListCustomMetricsRequest, response: google.analytics.admin_v1alpha.types.analytics_admin.ListCustomMetricsResponse, *, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ())[source]¶
A pager for iterating through
list_custom_metrics
requests.This class thinly wraps an initial
google.analytics.admin_v1alpha.types.ListCustomMetricsResponse
object, and provides an__iter__
method to iterate through itscustom_metrics
field.If there are more pages, the
__iter__
method will make additionalListCustomMetrics
requests and continue to iterate through thecustom_metrics
field on the corresponding responses.All the usual
google.analytics.admin_v1alpha.types.ListCustomMetricsResponse
attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.Instantiate the pager.
- Parameters
method (Callable) – The method that was originally called, and which instantiated this pager.
request (google.analytics.admin_v1alpha.types.ListCustomMetricsRequest) – The initial request object.
response (google.analytics.admin_v1alpha.types.ListCustomMetricsResponse) – The initial response object.
retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- class google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListDataStreamsAsyncPager(method: Callable[[...], Awaitable[google.analytics.admin_v1alpha.types.analytics_admin.ListDataStreamsResponse]], request: google.analytics.admin_v1alpha.types.analytics_admin.ListDataStreamsRequest, response: google.analytics.admin_v1alpha.types.analytics_admin.ListDataStreamsResponse, *, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ())[source]¶
A pager for iterating through
list_data_streams
requests.This class thinly wraps an initial
google.analytics.admin_v1alpha.types.ListDataStreamsResponse
object, and provides an__aiter__
method to iterate through itsdata_streams
field.If there are more pages, the
__aiter__
method will make additionalListDataStreams
requests and continue to iterate through thedata_streams
field on the corresponding responses.All the usual
google.analytics.admin_v1alpha.types.ListDataStreamsResponse
attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.Instantiates the pager.
- Parameters
method (Callable) – The method that was originally called, and which instantiated this pager.
request (google.analytics.admin_v1alpha.types.ListDataStreamsRequest) – The initial request object.
response (google.analytics.admin_v1alpha.types.ListDataStreamsResponse) – The initial response object.
retry (google.api_core.retry.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- class google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListDataStreamsPager(method: Callable[[...], google.analytics.admin_v1alpha.types.analytics_admin.ListDataStreamsResponse], request: google.analytics.admin_v1alpha.types.analytics_admin.ListDataStreamsRequest, response: google.analytics.admin_v1alpha.types.analytics_admin.ListDataStreamsResponse, *, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ())[source]¶
A pager for iterating through
list_data_streams
requests.This class thinly wraps an initial
google.analytics.admin_v1alpha.types.ListDataStreamsResponse
object, and provides an__iter__
method to iterate through itsdata_streams
field.If there are more pages, the
__iter__
method will make additionalListDataStreams
requests and continue to iterate through thedata_streams
field on the corresponding responses.All the usual
google.analytics.admin_v1alpha.types.ListDataStreamsResponse
attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.Instantiate the pager.
- Parameters
method (Callable) – The method that was originally called, and which instantiated this pager.
request (google.analytics.admin_v1alpha.types.ListDataStreamsRequest) – The initial request object.
response (google.analytics.admin_v1alpha.types.ListDataStreamsResponse) – The initial response object.
retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- class google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListDisplayVideo360AdvertiserLinkProposalsAsyncPager(method: Callable[[...], Awaitable[google.analytics.admin_v1alpha.types.analytics_admin.ListDisplayVideo360AdvertiserLinkProposalsResponse]], request: google.analytics.admin_v1alpha.types.analytics_admin.ListDisplayVideo360AdvertiserLinkProposalsRequest, response: google.analytics.admin_v1alpha.types.analytics_admin.ListDisplayVideo360AdvertiserLinkProposalsResponse, *, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ())[source]¶
A pager for iterating through
list_display_video360_advertiser_link_proposals
requests.This class thinly wraps an initial
google.analytics.admin_v1alpha.types.ListDisplayVideo360AdvertiserLinkProposalsResponse
object, and provides an__aiter__
method to iterate through itsdisplay_video_360_advertiser_link_proposals
field.If there are more pages, the
__aiter__
method will make additionalListDisplayVideo360AdvertiserLinkProposals
requests and continue to iterate through thedisplay_video_360_advertiser_link_proposals
field on the corresponding responses.All the usual
google.analytics.admin_v1alpha.types.ListDisplayVideo360AdvertiserLinkProposalsResponse
attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.Instantiates the pager.
- Parameters
method (Callable) – The method that was originally called, and which instantiated this pager.
request (google.analytics.admin_v1alpha.types.ListDisplayVideo360AdvertiserLinkProposalsRequest) – The initial request object.
response (google.analytics.admin_v1alpha.types.ListDisplayVideo360AdvertiserLinkProposalsResponse) – The initial response object.
retry (google.api_core.retry.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- class google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListDisplayVideo360AdvertiserLinkProposalsPager(method: Callable[[...], google.analytics.admin_v1alpha.types.analytics_admin.ListDisplayVideo360AdvertiserLinkProposalsResponse], request: google.analytics.admin_v1alpha.types.analytics_admin.ListDisplayVideo360AdvertiserLinkProposalsRequest, response: google.analytics.admin_v1alpha.types.analytics_admin.ListDisplayVideo360AdvertiserLinkProposalsResponse, *, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ())[source]¶
A pager for iterating through
list_display_video360_advertiser_link_proposals
requests.This class thinly wraps an initial
google.analytics.admin_v1alpha.types.ListDisplayVideo360AdvertiserLinkProposalsResponse
object, and provides an__iter__
method to iterate through itsdisplay_video_360_advertiser_link_proposals
field.If there are more pages, the
__iter__
method will make additionalListDisplayVideo360AdvertiserLinkProposals
requests and continue to iterate through thedisplay_video_360_advertiser_link_proposals
field on the corresponding responses.All the usual
google.analytics.admin_v1alpha.types.ListDisplayVideo360AdvertiserLinkProposalsResponse
attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.Instantiate the pager.
- Parameters
method (Callable) – The method that was originally called, and which instantiated this pager.
request (google.analytics.admin_v1alpha.types.ListDisplayVideo360AdvertiserLinkProposalsRequest) – The initial request object.
response (google.analytics.admin_v1alpha.types.ListDisplayVideo360AdvertiserLinkProposalsResponse) – The initial response object.
retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- class google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListDisplayVideo360AdvertiserLinksAsyncPager(method: Callable[[...], Awaitable[google.analytics.admin_v1alpha.types.analytics_admin.ListDisplayVideo360AdvertiserLinksResponse]], request: google.analytics.admin_v1alpha.types.analytics_admin.ListDisplayVideo360AdvertiserLinksRequest, response: google.analytics.admin_v1alpha.types.analytics_admin.ListDisplayVideo360AdvertiserLinksResponse, *, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ())[source]¶
A pager for iterating through
list_display_video360_advertiser_links
requests.This class thinly wraps an initial
google.analytics.admin_v1alpha.types.ListDisplayVideo360AdvertiserLinksResponse
object, and provides an__aiter__
method to iterate through itsdisplay_video_360_advertiser_links
field.If there are more pages, the
__aiter__
method will make additionalListDisplayVideo360AdvertiserLinks
requests and continue to iterate through thedisplay_video_360_advertiser_links
field on the corresponding responses.All the usual
google.analytics.admin_v1alpha.types.ListDisplayVideo360AdvertiserLinksResponse
attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.Instantiates the pager.
- Parameters
method (Callable) – The method that was originally called, and which instantiated this pager.
request (google.analytics.admin_v1alpha.types.ListDisplayVideo360AdvertiserLinksRequest) – The initial request object.
response (google.analytics.admin_v1alpha.types.ListDisplayVideo360AdvertiserLinksResponse) – The initial response object.
retry (google.api_core.retry.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- class google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListDisplayVideo360AdvertiserLinksPager(method: Callable[[...], google.analytics.admin_v1alpha.types.analytics_admin.ListDisplayVideo360AdvertiserLinksResponse], request: google.analytics.admin_v1alpha.types.analytics_admin.ListDisplayVideo360AdvertiserLinksRequest, response: google.analytics.admin_v1alpha.types.analytics_admin.ListDisplayVideo360AdvertiserLinksResponse, *, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ())[source]¶
A pager for iterating through
list_display_video360_advertiser_links
requests.This class thinly wraps an initial
google.analytics.admin_v1alpha.types.ListDisplayVideo360AdvertiserLinksResponse
object, and provides an__iter__
method to iterate through itsdisplay_video_360_advertiser_links
field.If there are more pages, the
__iter__
method will make additionalListDisplayVideo360AdvertiserLinks
requests and continue to iterate through thedisplay_video_360_advertiser_links
field on the corresponding responses.All the usual
google.analytics.admin_v1alpha.types.ListDisplayVideo360AdvertiserLinksResponse
attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.Instantiate the pager.
- Parameters
method (Callable) – The method that was originally called, and which instantiated this pager.
request (google.analytics.admin_v1alpha.types.ListDisplayVideo360AdvertiserLinksRequest) – The initial request object.
response (google.analytics.admin_v1alpha.types.ListDisplayVideo360AdvertiserLinksResponse) – The initial response object.
retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- class google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListEventCreateRulesAsyncPager(method: Callable[[...], Awaitable[google.analytics.admin_v1alpha.types.analytics_admin.ListEventCreateRulesResponse]], request: google.analytics.admin_v1alpha.types.analytics_admin.ListEventCreateRulesRequest, response: google.analytics.admin_v1alpha.types.analytics_admin.ListEventCreateRulesResponse, *, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ())[source]¶
A pager for iterating through
list_event_create_rules
requests.This class thinly wraps an initial
google.analytics.admin_v1alpha.types.ListEventCreateRulesResponse
object, and provides an__aiter__
method to iterate through itsevent_create_rules
field.If there are more pages, the
__aiter__
method will make additionalListEventCreateRules
requests and continue to iterate through theevent_create_rules
field on the corresponding responses.All the usual
google.analytics.admin_v1alpha.types.ListEventCreateRulesResponse
attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.Instantiates the pager.
- Parameters
method (Callable) – The method that was originally called, and which instantiated this pager.
request (google.analytics.admin_v1alpha.types.ListEventCreateRulesRequest) – The initial request object.
response (google.analytics.admin_v1alpha.types.ListEventCreateRulesResponse) – The initial response object.
retry (google.api_core.retry.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- class google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListEventCreateRulesPager(method: Callable[[...], google.analytics.admin_v1alpha.types.analytics_admin.ListEventCreateRulesResponse], request: google.analytics.admin_v1alpha.types.analytics_admin.ListEventCreateRulesRequest, response: google.analytics.admin_v1alpha.types.analytics_admin.ListEventCreateRulesResponse, *, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ())[source]¶
A pager for iterating through
list_event_create_rules
requests.This class thinly wraps an initial
google.analytics.admin_v1alpha.types.ListEventCreateRulesResponse
object, and provides an__iter__
method to iterate through itsevent_create_rules
field.If there are more pages, the
__iter__
method will make additionalListEventCreateRules
requests and continue to iterate through theevent_create_rules
field on the corresponding responses.All the usual
google.analytics.admin_v1alpha.types.ListEventCreateRulesResponse
attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.Instantiate the pager.
- Parameters
method (Callable) – The method that was originally called, and which instantiated this pager.
request (google.analytics.admin_v1alpha.types.ListEventCreateRulesRequest) – The initial request object.
response (google.analytics.admin_v1alpha.types.ListEventCreateRulesResponse) – The initial response object.
retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- class google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListEventEditRulesAsyncPager(method: Callable[[...], Awaitable[google.analytics.admin_v1alpha.types.analytics_admin.ListEventEditRulesResponse]], request: google.analytics.admin_v1alpha.types.analytics_admin.ListEventEditRulesRequest, response: google.analytics.admin_v1alpha.types.analytics_admin.ListEventEditRulesResponse, *, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ())[source]¶
A pager for iterating through
list_event_edit_rules
requests.This class thinly wraps an initial
google.analytics.admin_v1alpha.types.ListEventEditRulesResponse
object, and provides an__aiter__
method to iterate through itsevent_edit_rules
field.If there are more pages, the
__aiter__
method will make additionalListEventEditRules
requests and continue to iterate through theevent_edit_rules
field on the corresponding responses.All the usual
google.analytics.admin_v1alpha.types.ListEventEditRulesResponse
attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.Instantiates the pager.
- Parameters
method (Callable) – The method that was originally called, and which instantiated this pager.
request (google.analytics.admin_v1alpha.types.ListEventEditRulesRequest) – The initial request object.
response (google.analytics.admin_v1alpha.types.ListEventEditRulesResponse) – The initial response object.
retry (google.api_core.retry.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- class google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListEventEditRulesPager(method: Callable[[...], google.analytics.admin_v1alpha.types.analytics_admin.ListEventEditRulesResponse], request: google.analytics.admin_v1alpha.types.analytics_admin.ListEventEditRulesRequest, response: google.analytics.admin_v1alpha.types.analytics_admin.ListEventEditRulesResponse, *, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ())[source]¶
A pager for iterating through
list_event_edit_rules
requests.This class thinly wraps an initial
google.analytics.admin_v1alpha.types.ListEventEditRulesResponse
object, and provides an__iter__
method to iterate through itsevent_edit_rules
field.If there are more pages, the
__iter__
method will make additionalListEventEditRules
requests and continue to iterate through theevent_edit_rules
field on the corresponding responses.All the usual
google.analytics.admin_v1alpha.types.ListEventEditRulesResponse
attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.Instantiate the pager.
- Parameters
method (Callable) – The method that was originally called, and which instantiated this pager.
request (google.analytics.admin_v1alpha.types.ListEventEditRulesRequest) – The initial request object.
response (google.analytics.admin_v1alpha.types.ListEventEditRulesResponse) – The initial response object.
retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- class google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListExpandedDataSetsAsyncPager(method: Callable[[...], Awaitable[google.analytics.admin_v1alpha.types.analytics_admin.ListExpandedDataSetsResponse]], request: google.analytics.admin_v1alpha.types.analytics_admin.ListExpandedDataSetsRequest, response: google.analytics.admin_v1alpha.types.analytics_admin.ListExpandedDataSetsResponse, *, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ())[source]¶
A pager for iterating through
list_expanded_data_sets
requests.This class thinly wraps an initial
google.analytics.admin_v1alpha.types.ListExpandedDataSetsResponse
object, and provides an__aiter__
method to iterate through itsexpanded_data_sets
field.If there are more pages, the
__aiter__
method will make additionalListExpandedDataSets
requests and continue to iterate through theexpanded_data_sets
field on the corresponding responses.All the usual
google.analytics.admin_v1alpha.types.ListExpandedDataSetsResponse
attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.Instantiates the pager.
- Parameters
method (Callable) – The method that was originally called, and which instantiated this pager.
request (google.analytics.admin_v1alpha.types.ListExpandedDataSetsRequest) – The initial request object.
response (google.analytics.admin_v1alpha.types.ListExpandedDataSetsResponse) – The initial response object.
retry (google.api_core.retry.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- class google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListExpandedDataSetsPager(method: Callable[[...], google.analytics.admin_v1alpha.types.analytics_admin.ListExpandedDataSetsResponse], request: google.analytics.admin_v1alpha.types.analytics_admin.ListExpandedDataSetsRequest, response: google.analytics.admin_v1alpha.types.analytics_admin.ListExpandedDataSetsResponse, *, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ())[source]¶
A pager for iterating through
list_expanded_data_sets
requests.This class thinly wraps an initial
google.analytics.admin_v1alpha.types.ListExpandedDataSetsResponse
object, and provides an__iter__
method to iterate through itsexpanded_data_sets
field.If there are more pages, the
__iter__
method will make additionalListExpandedDataSets
requests and continue to iterate through theexpanded_data_sets
field on the corresponding responses.All the usual
google.analytics.admin_v1alpha.types.ListExpandedDataSetsResponse
attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.Instantiate the pager.
- Parameters
method (Callable) – The method that was originally called, and which instantiated this pager.
request (google.analytics.admin_v1alpha.types.ListExpandedDataSetsRequest) – The initial request object.
response (google.analytics.admin_v1alpha.types.ListExpandedDataSetsResponse) – The initial response object.
retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- class google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListFirebaseLinksAsyncPager(method: Callable[[...], Awaitable[google.analytics.admin_v1alpha.types.analytics_admin.ListFirebaseLinksResponse]], request: google.analytics.admin_v1alpha.types.analytics_admin.ListFirebaseLinksRequest, response: google.analytics.admin_v1alpha.types.analytics_admin.ListFirebaseLinksResponse, *, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ())[source]¶
A pager for iterating through
list_firebase_links
requests.This class thinly wraps an initial
google.analytics.admin_v1alpha.types.ListFirebaseLinksResponse
object, and provides an__aiter__
method to iterate through itsfirebase_links
field.If there are more pages, the
__aiter__
method will make additionalListFirebaseLinks
requests and continue to iterate through thefirebase_links
field on the corresponding responses.All the usual
google.analytics.admin_v1alpha.types.ListFirebaseLinksResponse
attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.Instantiates the pager.
- Parameters
method (Callable) – The method that was originally called, and which instantiated this pager.
request (google.analytics.admin_v1alpha.types.ListFirebaseLinksRequest) – The initial request object.
response (google.analytics.admin_v1alpha.types.ListFirebaseLinksResponse) – The initial response object.
retry (google.api_core.retry.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- class google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListFirebaseLinksPager(method: Callable[[...], google.analytics.admin_v1alpha.types.analytics_admin.ListFirebaseLinksResponse], request: google.analytics.admin_v1alpha.types.analytics_admin.ListFirebaseLinksRequest, response: google.analytics.admin_v1alpha.types.analytics_admin.ListFirebaseLinksResponse, *, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ())[source]¶
A pager for iterating through
list_firebase_links
requests.This class thinly wraps an initial
google.analytics.admin_v1alpha.types.ListFirebaseLinksResponse
object, and provides an__iter__
method to iterate through itsfirebase_links
field.If there are more pages, the
__iter__
method will make additionalListFirebaseLinks
requests and continue to iterate through thefirebase_links
field on the corresponding responses.All the usual
google.analytics.admin_v1alpha.types.ListFirebaseLinksResponse
attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.Instantiate the pager.
- Parameters
method (Callable) – The method that was originally called, and which instantiated this pager.
request (google.analytics.admin_v1alpha.types.ListFirebaseLinksRequest) – The initial request object.
response (google.analytics.admin_v1alpha.types.ListFirebaseLinksResponse) – The initial response object.
retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- class google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListGoogleAdsLinksAsyncPager(method: Callable[[...], Awaitable[google.analytics.admin_v1alpha.types.analytics_admin.ListGoogleAdsLinksResponse]], request: google.analytics.admin_v1alpha.types.analytics_admin.ListGoogleAdsLinksRequest, response: google.analytics.admin_v1alpha.types.analytics_admin.ListGoogleAdsLinksResponse, *, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ())[source]¶
A pager for iterating through
list_google_ads_links
requests.This class thinly wraps an initial
google.analytics.admin_v1alpha.types.ListGoogleAdsLinksResponse
object, and provides an__aiter__
method to iterate through itsgoogle_ads_links
field.If there are more pages, the
__aiter__
method will make additionalListGoogleAdsLinks
requests and continue to iterate through thegoogle_ads_links
field on the corresponding responses.All the usual
google.analytics.admin_v1alpha.types.ListGoogleAdsLinksResponse
attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.Instantiates the pager.
- Parameters
method (Callable) – The method that was originally called, and which instantiated this pager.
request (google.analytics.admin_v1alpha.types.ListGoogleAdsLinksRequest) – The initial request object.
response (google.analytics.admin_v1alpha.types.ListGoogleAdsLinksResponse) – The initial response object.
retry (google.api_core.retry.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- class google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListGoogleAdsLinksPager(method: Callable[[...], google.analytics.admin_v1alpha.types.analytics_admin.ListGoogleAdsLinksResponse], request: google.analytics.admin_v1alpha.types.analytics_admin.ListGoogleAdsLinksRequest, response: google.analytics.admin_v1alpha.types.analytics_admin.ListGoogleAdsLinksResponse, *, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ())[source]¶
A pager for iterating through
list_google_ads_links
requests.This class thinly wraps an initial
google.analytics.admin_v1alpha.types.ListGoogleAdsLinksResponse
object, and provides an__iter__
method to iterate through itsgoogle_ads_links
field.If there are more pages, the
__iter__
method will make additionalListGoogleAdsLinks
requests and continue to iterate through thegoogle_ads_links
field on the corresponding responses.All the usual
google.analytics.admin_v1alpha.types.ListGoogleAdsLinksResponse
attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.Instantiate the pager.
- Parameters
method (Callable) – The method that was originally called, and which instantiated this pager.
request (google.analytics.admin_v1alpha.types.ListGoogleAdsLinksRequest) – The initial request object.
response (google.analytics.admin_v1alpha.types.ListGoogleAdsLinksResponse) – The initial response object.
retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- class google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListKeyEventsAsyncPager(method: Callable[[...], Awaitable[google.analytics.admin_v1alpha.types.analytics_admin.ListKeyEventsResponse]], request: google.analytics.admin_v1alpha.types.analytics_admin.ListKeyEventsRequest, response: google.analytics.admin_v1alpha.types.analytics_admin.ListKeyEventsResponse, *, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ())[source]¶
A pager for iterating through
list_key_events
requests.This class thinly wraps an initial
google.analytics.admin_v1alpha.types.ListKeyEventsResponse
object, and provides an__aiter__
method to iterate through itskey_events
field.If there are more pages, the
__aiter__
method will make additionalListKeyEvents
requests and continue to iterate through thekey_events
field on the corresponding responses.All the usual
google.analytics.admin_v1alpha.types.ListKeyEventsResponse
attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.Instantiates the pager.
- Parameters
method (Callable) – The method that was originally called, and which instantiated this pager.
request (google.analytics.admin_v1alpha.types.ListKeyEventsRequest) – The initial request object.
response (google.analytics.admin_v1alpha.types.ListKeyEventsResponse) – The initial response object.
retry (google.api_core.retry.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- class google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListKeyEventsPager(method: Callable[[...], google.analytics.admin_v1alpha.types.analytics_admin.ListKeyEventsResponse], request: google.analytics.admin_v1alpha.types.analytics_admin.ListKeyEventsRequest, response: google.analytics.admin_v1alpha.types.analytics_admin.ListKeyEventsResponse, *, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ())[source]¶
A pager for iterating through
list_key_events
requests.This class thinly wraps an initial
google.analytics.admin_v1alpha.types.ListKeyEventsResponse
object, and provides an__iter__
method to iterate through itskey_events
field.If there are more pages, the
__iter__
method will make additionalListKeyEvents
requests and continue to iterate through thekey_events
field on the corresponding responses.All the usual
google.analytics.admin_v1alpha.types.ListKeyEventsResponse
attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.Instantiate the pager.
- Parameters
method (Callable) – The method that was originally called, and which instantiated this pager.
request (google.analytics.admin_v1alpha.types.ListKeyEventsRequest) – The initial request object.
response (google.analytics.admin_v1alpha.types.ListKeyEventsResponse) – The initial response object.
retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- class google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListMeasurementProtocolSecretsAsyncPager(method: Callable[[...], Awaitable[google.analytics.admin_v1alpha.types.analytics_admin.ListMeasurementProtocolSecretsResponse]], request: google.analytics.admin_v1alpha.types.analytics_admin.ListMeasurementProtocolSecretsRequest, response: google.analytics.admin_v1alpha.types.analytics_admin.ListMeasurementProtocolSecretsResponse, *, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ())[source]¶
A pager for iterating through
list_measurement_protocol_secrets
requests.This class thinly wraps an initial
google.analytics.admin_v1alpha.types.ListMeasurementProtocolSecretsResponse
object, and provides an__aiter__
method to iterate through itsmeasurement_protocol_secrets
field.If there are more pages, the
__aiter__
method will make additionalListMeasurementProtocolSecrets
requests and continue to iterate through themeasurement_protocol_secrets
field on the corresponding responses.All the usual
google.analytics.admin_v1alpha.types.ListMeasurementProtocolSecretsResponse
attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.Instantiates the pager.
- Parameters
method (Callable) – The method that was originally called, and which instantiated this pager.
request (google.analytics.admin_v1alpha.types.ListMeasurementProtocolSecretsRequest) – The initial request object.
response (google.analytics.admin_v1alpha.types.ListMeasurementProtocolSecretsResponse) – The initial response object.
retry (google.api_core.retry.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- class google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListMeasurementProtocolSecretsPager(method: Callable[[...], google.analytics.admin_v1alpha.types.analytics_admin.ListMeasurementProtocolSecretsResponse], request: google.analytics.admin_v1alpha.types.analytics_admin.ListMeasurementProtocolSecretsRequest, response: google.analytics.admin_v1alpha.types.analytics_admin.ListMeasurementProtocolSecretsResponse, *, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ())[source]¶
A pager for iterating through
list_measurement_protocol_secrets
requests.This class thinly wraps an initial
google.analytics.admin_v1alpha.types.ListMeasurementProtocolSecretsResponse
object, and provides an__iter__
method to iterate through itsmeasurement_protocol_secrets
field.If there are more pages, the
__iter__
method will make additionalListMeasurementProtocolSecrets
requests and continue to iterate through themeasurement_protocol_secrets
field on the corresponding responses.All the usual
google.analytics.admin_v1alpha.types.ListMeasurementProtocolSecretsResponse
attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.Instantiate the pager.
- Parameters
method (Callable) – The method that was originally called, and which instantiated this pager.
request (google.analytics.admin_v1alpha.types.ListMeasurementProtocolSecretsRequest) – The initial request object.
response (google.analytics.admin_v1alpha.types.ListMeasurementProtocolSecretsResponse) – The initial response object.
retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- class google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListPropertiesAsyncPager(method: Callable[[...], Awaitable[google.analytics.admin_v1alpha.types.analytics_admin.ListPropertiesResponse]], request: google.analytics.admin_v1alpha.types.analytics_admin.ListPropertiesRequest, response: google.analytics.admin_v1alpha.types.analytics_admin.ListPropertiesResponse, *, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ())[source]¶
A pager for iterating through
list_properties
requests.This class thinly wraps an initial
google.analytics.admin_v1alpha.types.ListPropertiesResponse
object, and provides an__aiter__
method to iterate through itsproperties
field.If there are more pages, the
__aiter__
method will make additionalListProperties
requests and continue to iterate through theproperties
field on the corresponding responses.All the usual
google.analytics.admin_v1alpha.types.ListPropertiesResponse
attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.Instantiates the pager.
- Parameters
method (Callable) – The method that was originally called, and which instantiated this pager.
request (google.analytics.admin_v1alpha.types.ListPropertiesRequest) – The initial request object.
response (google.analytics.admin_v1alpha.types.ListPropertiesResponse) – The initial response object.
retry (google.api_core.retry.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- class google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListPropertiesPager(method: Callable[[...], google.analytics.admin_v1alpha.types.analytics_admin.ListPropertiesResponse], request: google.analytics.admin_v1alpha.types.analytics_admin.ListPropertiesRequest, response: google.analytics.admin_v1alpha.types.analytics_admin.ListPropertiesResponse, *, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ())[source]¶
A pager for iterating through
list_properties
requests.This class thinly wraps an initial
google.analytics.admin_v1alpha.types.ListPropertiesResponse
object, and provides an__iter__
method to iterate through itsproperties
field.If there are more pages, the
__iter__
method will make additionalListProperties
requests and continue to iterate through theproperties
field on the corresponding responses.All the usual
google.analytics.admin_v1alpha.types.ListPropertiesResponse
attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.Instantiate the pager.
- Parameters
method (Callable) – The method that was originally called, and which instantiated this pager.
request (google.analytics.admin_v1alpha.types.ListPropertiesRequest) – The initial request object.
response (google.analytics.admin_v1alpha.types.ListPropertiesResponse) – The initial response object.
retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- class google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListRollupPropertySourceLinksAsyncPager(method: Callable[[...], Awaitable[google.analytics.admin_v1alpha.types.analytics_admin.ListRollupPropertySourceLinksResponse]], request: google.analytics.admin_v1alpha.types.analytics_admin.ListRollupPropertySourceLinksRequest, response: google.analytics.admin_v1alpha.types.analytics_admin.ListRollupPropertySourceLinksResponse, *, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ())[source]¶
A pager for iterating through
list_rollup_property_source_links
requests.This class thinly wraps an initial
google.analytics.admin_v1alpha.types.ListRollupPropertySourceLinksResponse
object, and provides an__aiter__
method to iterate through itsrollup_property_source_links
field.If there are more pages, the
__aiter__
method will make additionalListRollupPropertySourceLinks
requests and continue to iterate through therollup_property_source_links
field on the corresponding responses.All the usual
google.analytics.admin_v1alpha.types.ListRollupPropertySourceLinksResponse
attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.Instantiates the pager.
- Parameters
method (Callable) – The method that was originally called, and which instantiated this pager.
request (google.analytics.admin_v1alpha.types.ListRollupPropertySourceLinksRequest) – The initial request object.
response (google.analytics.admin_v1alpha.types.ListRollupPropertySourceLinksResponse) – The initial response object.
retry (google.api_core.retry.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- class google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListRollupPropertySourceLinksPager(method: Callable[[...], google.analytics.admin_v1alpha.types.analytics_admin.ListRollupPropertySourceLinksResponse], request: google.analytics.admin_v1alpha.types.analytics_admin.ListRollupPropertySourceLinksRequest, response: google.analytics.admin_v1alpha.types.analytics_admin.ListRollupPropertySourceLinksResponse, *, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ())[source]¶
A pager for iterating through
list_rollup_property_source_links
requests.This class thinly wraps an initial
google.analytics.admin_v1alpha.types.ListRollupPropertySourceLinksResponse
object, and provides an__iter__
method to iterate through itsrollup_property_source_links
field.If there are more pages, the
__iter__
method will make additionalListRollupPropertySourceLinks
requests and continue to iterate through therollup_property_source_links
field on the corresponding responses.All the usual
google.analytics.admin_v1alpha.types.ListRollupPropertySourceLinksResponse
attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.Instantiate the pager.
- Parameters
method (Callable) – The method that was originally called, and which instantiated this pager.
request (google.analytics.admin_v1alpha.types.ListRollupPropertySourceLinksRequest) – The initial request object.
response (google.analytics.admin_v1alpha.types.ListRollupPropertySourceLinksResponse) – The initial response object.
retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- class google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListSKAdNetworkConversionValueSchemasAsyncPager(method: Callable[[...], Awaitable[google.analytics.admin_v1alpha.types.analytics_admin.ListSKAdNetworkConversionValueSchemasResponse]], request: google.analytics.admin_v1alpha.types.analytics_admin.ListSKAdNetworkConversionValueSchemasRequest, response: google.analytics.admin_v1alpha.types.analytics_admin.ListSKAdNetworkConversionValueSchemasResponse, *, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ())[source]¶
A pager for iterating through
list_sk_ad_network_conversion_value_schemas
requests.This class thinly wraps an initial
google.analytics.admin_v1alpha.types.ListSKAdNetworkConversionValueSchemasResponse
object, and provides an__aiter__
method to iterate through itsskadnetwork_conversion_value_schemas
field.If there are more pages, the
__aiter__
method will make additionalListSKAdNetworkConversionValueSchemas
requests and continue to iterate through theskadnetwork_conversion_value_schemas
field on the corresponding responses.All the usual
google.analytics.admin_v1alpha.types.ListSKAdNetworkConversionValueSchemasResponse
attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.Instantiates the pager.
- Parameters
method (Callable) – The method that was originally called, and which instantiated this pager.
request (google.analytics.admin_v1alpha.types.ListSKAdNetworkConversionValueSchemasRequest) – The initial request object.
response (google.analytics.admin_v1alpha.types.ListSKAdNetworkConversionValueSchemasResponse) – The initial response object.
retry (google.api_core.retry.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- class google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListSKAdNetworkConversionValueSchemasPager(method: Callable[[...], google.analytics.admin_v1alpha.types.analytics_admin.ListSKAdNetworkConversionValueSchemasResponse], request: google.analytics.admin_v1alpha.types.analytics_admin.ListSKAdNetworkConversionValueSchemasRequest, response: google.analytics.admin_v1alpha.types.analytics_admin.ListSKAdNetworkConversionValueSchemasResponse, *, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ())[source]¶
A pager for iterating through
list_sk_ad_network_conversion_value_schemas
requests.This class thinly wraps an initial
google.analytics.admin_v1alpha.types.ListSKAdNetworkConversionValueSchemasResponse
object, and provides an__iter__
method to iterate through itsskadnetwork_conversion_value_schemas
field.If there are more pages, the
__iter__
method will make additionalListSKAdNetworkConversionValueSchemas
requests and continue to iterate through theskadnetwork_conversion_value_schemas
field on the corresponding responses.All the usual
google.analytics.admin_v1alpha.types.ListSKAdNetworkConversionValueSchemasResponse
attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.Instantiate the pager.
- Parameters
method (Callable) – The method that was originally called, and which instantiated this pager.
request (google.analytics.admin_v1alpha.types.ListSKAdNetworkConversionValueSchemasRequest) – The initial request object.
response (google.analytics.admin_v1alpha.types.ListSKAdNetworkConversionValueSchemasResponse) – The initial response object.
retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- class google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListSearchAds360LinksAsyncPager(method: Callable[[...], Awaitable[google.analytics.admin_v1alpha.types.analytics_admin.ListSearchAds360LinksResponse]], request: google.analytics.admin_v1alpha.types.analytics_admin.ListSearchAds360LinksRequest, response: google.analytics.admin_v1alpha.types.analytics_admin.ListSearchAds360LinksResponse, *, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ())[source]¶
A pager for iterating through
list_search_ads360_links
requests.This class thinly wraps an initial
google.analytics.admin_v1alpha.types.ListSearchAds360LinksResponse
object, and provides an__aiter__
method to iterate through itssearch_ads_360_links
field.If there are more pages, the
__aiter__
method will make additionalListSearchAds360Links
requests and continue to iterate through thesearch_ads_360_links
field on the corresponding responses.All the usual
google.analytics.admin_v1alpha.types.ListSearchAds360LinksResponse
attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.Instantiates the pager.
- Parameters
method (Callable) – The method that was originally called, and which instantiated this pager.
request (google.analytics.admin_v1alpha.types.ListSearchAds360LinksRequest) – The initial request object.
response (google.analytics.admin_v1alpha.types.ListSearchAds360LinksResponse) – The initial response object.
retry (google.api_core.retry.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- class google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListSearchAds360LinksPager(method: Callable[[...], google.analytics.admin_v1alpha.types.analytics_admin.ListSearchAds360LinksResponse], request: google.analytics.admin_v1alpha.types.analytics_admin.ListSearchAds360LinksRequest, response: google.analytics.admin_v1alpha.types.analytics_admin.ListSearchAds360LinksResponse, *, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ())[source]¶
A pager for iterating through
list_search_ads360_links
requests.This class thinly wraps an initial
google.analytics.admin_v1alpha.types.ListSearchAds360LinksResponse
object, and provides an__iter__
method to iterate through itssearch_ads_360_links
field.If there are more pages, the
__iter__
method will make additionalListSearchAds360Links
requests and continue to iterate through thesearch_ads_360_links
field on the corresponding responses.All the usual
google.analytics.admin_v1alpha.types.ListSearchAds360LinksResponse
attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.Instantiate the pager.
- Parameters
method (Callable) – The method that was originally called, and which instantiated this pager.
request (google.analytics.admin_v1alpha.types.ListSearchAds360LinksRequest) – The initial request object.
response (google.analytics.admin_v1alpha.types.ListSearchAds360LinksResponse) – The initial response object.
retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- class google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListSubpropertyEventFiltersAsyncPager(method: Callable[[...], Awaitable[google.analytics.admin_v1alpha.types.analytics_admin.ListSubpropertyEventFiltersResponse]], request: google.analytics.admin_v1alpha.types.analytics_admin.ListSubpropertyEventFiltersRequest, response: google.analytics.admin_v1alpha.types.analytics_admin.ListSubpropertyEventFiltersResponse, *, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ())[source]¶
A pager for iterating through
list_subproperty_event_filters
requests.This class thinly wraps an initial
google.analytics.admin_v1alpha.types.ListSubpropertyEventFiltersResponse
object, and provides an__aiter__
method to iterate through itssubproperty_event_filters
field.If there are more pages, the
__aiter__
method will make additionalListSubpropertyEventFilters
requests and continue to iterate through thesubproperty_event_filters
field on the corresponding responses.All the usual
google.analytics.admin_v1alpha.types.ListSubpropertyEventFiltersResponse
attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.Instantiates the pager.
- Parameters
method (Callable) – The method that was originally called, and which instantiated this pager.
request (google.analytics.admin_v1alpha.types.ListSubpropertyEventFiltersRequest) – The initial request object.
response (google.analytics.admin_v1alpha.types.ListSubpropertyEventFiltersResponse) – The initial response object.
retry (google.api_core.retry.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- class google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.ListSubpropertyEventFiltersPager(method: Callable[[...], google.analytics.admin_v1alpha.types.analytics_admin.ListSubpropertyEventFiltersResponse], request: google.analytics.admin_v1alpha.types.analytics_admin.ListSubpropertyEventFiltersRequest, response: google.analytics.admin_v1alpha.types.analytics_admin.ListSubpropertyEventFiltersResponse, *, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ())[source]¶
A pager for iterating through
list_subproperty_event_filters
requests.This class thinly wraps an initial
google.analytics.admin_v1alpha.types.ListSubpropertyEventFiltersResponse
object, and provides an__iter__
method to iterate through itssubproperty_event_filters
field.If there are more pages, the
__iter__
method will make additionalListSubpropertyEventFilters
requests and continue to iterate through thesubproperty_event_filters
field on the corresponding responses.All the usual
google.analytics.admin_v1alpha.types.ListSubpropertyEventFiltersResponse
attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.Instantiate the pager.
- Parameters
method (Callable) – The method that was originally called, and which instantiated this pager.
request (google.analytics.admin_v1alpha.types.ListSubpropertyEventFiltersRequest) – The initial request object.
response (google.analytics.admin_v1alpha.types.ListSubpropertyEventFiltersResponse) – The initial response object.
retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- class google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.SearchChangeHistoryEventsAsyncPager(method: Callable[[...], Awaitable[google.analytics.admin_v1alpha.types.analytics_admin.SearchChangeHistoryEventsResponse]], request: google.analytics.admin_v1alpha.types.analytics_admin.SearchChangeHistoryEventsRequest, response: google.analytics.admin_v1alpha.types.analytics_admin.SearchChangeHistoryEventsResponse, *, retry: Optional[Union[google.api_core.retry.retry_unary_async.AsyncRetry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ())[source]¶
A pager for iterating through
search_change_history_events
requests.This class thinly wraps an initial
google.analytics.admin_v1alpha.types.SearchChangeHistoryEventsResponse
object, and provides an__aiter__
method to iterate through itschange_history_events
field.If there are more pages, the
__aiter__
method will make additionalSearchChangeHistoryEvents
requests and continue to iterate through thechange_history_events
field on the corresponding responses.All the usual
google.analytics.admin_v1alpha.types.SearchChangeHistoryEventsResponse
attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.Instantiates the pager.
- Parameters
method (Callable) – The method that was originally called, and which instantiated this pager.
request (google.analytics.admin_v1alpha.types.SearchChangeHistoryEventsRequest) – The initial request object.
response (google.analytics.admin_v1alpha.types.SearchChangeHistoryEventsResponse) – The initial response object.
retry (google.api_core.retry.AsyncRetry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.
- class google.analytics.admin_v1alpha.services.analytics_admin_service.pagers.SearchChangeHistoryEventsPager(method: Callable[[...], google.analytics.admin_v1alpha.types.analytics_admin.SearchChangeHistoryEventsResponse], request: google.analytics.admin_v1alpha.types.analytics_admin.SearchChangeHistoryEventsRequest, response: google.analytics.admin_v1alpha.types.analytics_admin.SearchChangeHistoryEventsResponse, *, retry: Optional[Union[google.api_core.retry.retry_unary.Retry, google.api_core.gapic_v1.method._MethodDefault]] = _MethodDefault._DEFAULT_VALUE, timeout: Union[float, object] = _MethodDefault._DEFAULT_VALUE, metadata: Sequence[Tuple[str, str]] = ())[source]¶
A pager for iterating through
search_change_history_events
requests.This class thinly wraps an initial
google.analytics.admin_v1alpha.types.SearchChangeHistoryEventsResponse
object, and provides an__iter__
method to iterate through itschange_history_events
field.If there are more pages, the
__iter__
method will make additionalSearchChangeHistoryEvents
requests and continue to iterate through thechange_history_events
field on the corresponding responses.All the usual
google.analytics.admin_v1alpha.types.SearchChangeHistoryEventsResponse
attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.Instantiate the pager.
- Parameters
method (Callable) – The method that was originally called, and which instantiated this pager.
request (google.analytics.admin_v1alpha.types.SearchChangeHistoryEventsRequest) – The initial request object.
response (google.analytics.admin_v1alpha.types.SearchChangeHistoryEventsResponse) – The initial response object.
retry (google.api_core.retry.Retry) – Designation of what errors, if any, should be retried.
timeout (float) – The timeout for this request.
metadata (Sequence[Tuple[str, str]]) – Strings which should be sent along with the request as metadata.