AnalyticsAdminService

google.analytics.admin.v1beta. AnalyticsAdminService

Represents an AnalyticsAdminService

Constructor

new AnalyticsAdminService(rpcImpl, requestDelimitedopt, responseDelimitedopt)

Constructs a new AnalyticsAdminService service.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Extends

  • $protobuf.rpc.Service

Methods

acknowledgeUserDataCollection(request, callback) → {undefined}

Calls AcknowledgeUserDataCollection.

Parameters:
Name Type Description
request google.analytics.admin.v1beta.IAcknowledgeUserDataCollectionRequest

AcknowledgeUserDataCollectionRequest message or plain object

callback google.analytics.admin.v1beta.AnalyticsAdminService.AcknowledgeUserDataCollectionCallback

Node-style callback called with the error, if any, and AcknowledgeUserDataCollectionResponse

Returns:
Type Description
undefined

acknowledgeUserDataCollection(request) → {Promise.<google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse>}

Calls AcknowledgeUserDataCollection.

Parameters:
Name Type Description
request google.analytics.admin.v1beta.IAcknowledgeUserDataCollectionRequest

AcknowledgeUserDataCollectionRequest message or plain object

Returns:
Type Description
Promise.<google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse>

Promise

archiveCustomDimension(request, callback) → {undefined}

Calls ArchiveCustomDimension.

Parameters:
Name Type Description
request google.analytics.admin.v1beta.IArchiveCustomDimensionRequest

ArchiveCustomDimensionRequest message or plain object

callback google.analytics.admin.v1beta.AnalyticsAdminService.ArchiveCustomDimensionCallback

Node-style callback called with the error, if any, and Empty

Returns:
Type Description
undefined

archiveCustomDimension(request) → {Promise.<google.protobuf.Empty>}

Calls ArchiveCustomDimension.

Parameters:
Name Type Description
request google.analytics.admin.v1beta.IArchiveCustomDimensionRequest

ArchiveCustomDimensionRequest message or plain object

Returns:
Type Description
Promise.<google.protobuf.Empty>

Promise

archiveCustomMetric(request, callback) → {undefined}

Calls ArchiveCustomMetric.

Parameters:
Name Type Description
request google.analytics.admin.v1beta.IArchiveCustomMetricRequest

ArchiveCustomMetricRequest message or plain object

callback google.analytics.admin.v1beta.AnalyticsAdminService.ArchiveCustomMetricCallback

Node-style callback called with the error, if any, and Empty

Returns:
Type Description
undefined

archiveCustomMetric(request) → {Promise.<google.protobuf.Empty>}

Calls ArchiveCustomMetric.

Parameters:
Name Type Description
request google.analytics.admin.v1beta.IArchiveCustomMetricRequest

ArchiveCustomMetricRequest message or plain object

Returns:
Type Description
Promise.<google.protobuf.Empty>

Promise

createConversionEvent(request, callback) → {undefined}

Calls CreateConversionEvent.

Parameters:
Name Type Description
request google.analytics.admin.v1beta.ICreateConversionEventRequest

CreateConversionEventRequest message or plain object

callback google.analytics.admin.v1beta.AnalyticsAdminService.CreateConversionEventCallback

Node-style callback called with the error, if any, and ConversionEvent

Returns:
Type Description
undefined

createConversionEvent(request) → {Promise.<google.analytics.admin.v1beta.ConversionEvent>}

Calls CreateConversionEvent.

Parameters:
Name Type Description
request google.analytics.admin.v1beta.ICreateConversionEventRequest

CreateConversionEventRequest message or plain object

Returns:
Type Description
Promise.<google.analytics.admin.v1beta.ConversionEvent>

Promise

createCustomDimension(request, callback) → {undefined}

Calls CreateCustomDimension.

Parameters:
Name Type Description
request google.analytics.admin.v1beta.ICreateCustomDimensionRequest

CreateCustomDimensionRequest message or plain object

callback google.analytics.admin.v1beta.AnalyticsAdminService.CreateCustomDimensionCallback

Node-style callback called with the error, if any, and CustomDimension

Returns:
Type Description
undefined

createCustomDimension(request) → {Promise.<google.analytics.admin.v1beta.CustomDimension>}

Calls CreateCustomDimension.

Parameters:
Name Type Description
request google.analytics.admin.v1beta.ICreateCustomDimensionRequest

CreateCustomDimensionRequest message or plain object

Returns:
Type Description
Promise.<google.analytics.admin.v1beta.CustomDimension>

Promise

createCustomMetric(request, callback) → {undefined}

Calls CreateCustomMetric.

Parameters:
Name Type Description
request google.analytics.admin.v1beta.ICreateCustomMetricRequest

CreateCustomMetricRequest message or plain object

callback google.analytics.admin.v1beta.AnalyticsAdminService.CreateCustomMetricCallback

Node-style callback called with the error, if any, and CustomMetric

Returns:
Type Description
undefined

createCustomMetric(request) → {Promise.<google.analytics.admin.v1beta.CustomMetric>}

Calls CreateCustomMetric.

Parameters:
Name Type Description
request google.analytics.admin.v1beta.ICreateCustomMetricRequest

CreateCustomMetricRequest message or plain object

Returns:
Type Description
Promise.<google.analytics.admin.v1beta.CustomMetric>

Promise

createDataStream(request, callback) → {undefined}

Calls CreateDataStream.

Parameters:
Name Type Description
request google.analytics.admin.v1beta.ICreateDataStreamRequest

CreateDataStreamRequest message or plain object

callback google.analytics.admin.v1beta.AnalyticsAdminService.CreateDataStreamCallback

Node-style callback called with the error, if any, and DataStream

Returns:
Type Description
undefined

createDataStream(request) → {Promise.<google.analytics.admin.v1beta.DataStream>}

Calls CreateDataStream.

Parameters:
Name Type Description
request google.analytics.admin.v1beta.ICreateDataStreamRequest

CreateDataStreamRequest message or plain object

Returns:
Type Description
Promise.<google.analytics.admin.v1beta.DataStream>

Promise

createFirebaseLink(request, callback) → {undefined}

Calls CreateFirebaseLink.

Parameters:
Name Type Description
request google.analytics.admin.v1beta.ICreateFirebaseLinkRequest

CreateFirebaseLinkRequest message or plain object

callback google.analytics.admin.v1beta.AnalyticsAdminService.CreateFirebaseLinkCallback

Node-style callback called with the error, if any, and FirebaseLink

Returns:
Type Description
undefined

createFirebaseLink(request) → {Promise.<google.analytics.admin.v1beta.FirebaseLink>}

Calls CreateFirebaseLink.

Parameters:
Name Type Description
request google.analytics.admin.v1beta.ICreateFirebaseLinkRequest

CreateFirebaseLinkRequest message or plain object

Returns:
Type Description
Promise.<google.analytics.admin.v1beta.FirebaseLink>

Promise

createGoogleAdsLink(request, callback) → {undefined}

Calls CreateGoogleAdsLink.

Parameters:
Name Type Description
request google.analytics.admin.v1beta.ICreateGoogleAdsLinkRequest

CreateGoogleAdsLinkRequest message or plain object

callback google.analytics.admin.v1beta.AnalyticsAdminService.CreateGoogleAdsLinkCallback

Node-style callback called with the error, if any, and GoogleAdsLink

Returns:
Type Description
undefined

createGoogleAdsLink(request) → {Promise.<google.analytics.admin.v1beta.GoogleAdsLink>}

Calls CreateGoogleAdsLink.

Parameters:
Name Type Description
request google.analytics.admin.v1beta.ICreateGoogleAdsLinkRequest

CreateGoogleAdsLinkRequest message or plain object

Returns:
Type Description
Promise.<google.analytics.admin.v1beta.GoogleAdsLink>

Promise

createMeasurementProtocolSecret(request, callback) → {undefined}

Calls CreateMeasurementProtocolSecret.

Parameters:
Name Type Description
request google.