Show / Hide Table of Contents

Class ConversionSourcesService.ConversionSourcesServiceBase

Base class for server-side implementations of ConversionSourcesService

Inheritance
object
ConversionSourcesService.ConversionSourcesServiceBase
Inherited Members
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ToString()
Namespace: Google.Shopping.Merchant.Conversions.V1Beta
Assembly: Google.Shopping.Merchant.Conversions.V1Beta.dll
Syntax
[BindServiceMethod(typeof(ConversionSourcesService), "BindService")]
public abstract class ConversionSourcesService.ConversionSourcesServiceBase

Methods

CreateConversionSource(CreateConversionSourceRequest, ServerCallContext)

Creates a new conversion source.

Declaration
public virtual Task<ConversionSource> CreateConversionSource(CreateConversionSourceRequest request, ServerCallContext context)
Parameters
Type Name Description
CreateConversionSourceRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<ConversionSource>

The response to send back to the client (wrapped by a task).

DeleteConversionSource(DeleteConversionSourceRequest, ServerCallContext)

Archives an existing conversion source. If the conversion source is a Merchant Center Destination, it will be recoverable for 30 days. If the conversion source is a Google Analytics Link, it will be deleted immediately and can be restored by creating a new one.

Declaration
public virtual Task<Empty> DeleteConversionSource(DeleteConversionSourceRequest request, ServerCallContext context)
Parameters
Type Name Description
DeleteConversionSourceRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<Empty>

The response to send back to the client (wrapped by a task).

GetConversionSource(GetConversionSourceRequest, ServerCallContext)

Fetches a conversion source.

Declaration
public virtual Task<ConversionSource> GetConversionSource(GetConversionSourceRequest request, ServerCallContext context)
Parameters
Type Name Description
GetConversionSourceRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<ConversionSource>

The response to send back to the client (wrapped by a task).

ListConversionSources(ListConversionSourcesRequest, ServerCallContext)

Retrieves the list of conversion sources the caller has access to.

Declaration
public virtual Task<ListConversionSourcesResponse> ListConversionSources(ListConversionSourcesRequest request, ServerCallContext context)
Parameters
Type Name Description
ListConversionSourcesRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<ListConversionSourcesResponse>

The response to send back to the client (wrapped by a task).

UndeleteConversionSource(UndeleteConversionSourceRequest, ServerCallContext)

Re-enables an archived conversion source. Only Available for Merchant Center Destination conversion sources.

Declaration
public virtual Task<ConversionSource> UndeleteConversionSource(UndeleteConversionSourceRequest request, ServerCallContext context)
Parameters
Type Name Description
UndeleteConversionSourceRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<ConversionSource>

The response to send back to the client (wrapped by a task).

UpdateConversionSource(UpdateConversionSourceRequest, ServerCallContext)

Updates information of an existing conversion source. Available only for Merchant Center Destination conversion sources.

Declaration
public virtual Task<ConversionSource> UpdateConversionSource(UpdateConversionSourceRequest request, ServerCallContext context)
Parameters
Type Name Description
UpdateConversionSourceRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<ConversionSource>

The response to send back to the client (wrapped by a task).

In this article
Back to top Generated by DocFX