Class ConversionSourcesServiceGrpc.ConversionSourcesServiceFutureStub (0.6.0)

public static final class ConversionSourcesServiceGrpc.ConversionSourcesServiceFutureStub extends AbstractFutureStub<ConversionSourcesServiceGrpc.ConversionSourcesServiceFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service ConversionSourcesService.

Service for managing conversion sources for a merchant account.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > ConversionSourcesServiceGrpc.ConversionSourcesServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

createConversionSource(CreateConversionSourceRequest request)

public ListenableFuture<ConversionSource> createConversionSource(CreateConversionSourceRequest request)

Creates a new conversion source.

Parameter
Name Description
request CreateConversionSourceRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ConversionSource>

deleteConversionSource(DeleteConversionSourceRequest request)

public ListenableFuture<Empty> deleteConversionSource(DeleteConversionSourceRequest request)

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.

Parameter
Name Description
request DeleteConversionSourceRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Empty>

getConversionSource(GetConversionSourceRequest request)

public ListenableFuture<ConversionSource> getConversionSource(GetConversionSourceRequest request)

Fetches a conversion source.

Parameter
Name Description
request GetConversionSourceRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ConversionSource>

listConversionSources(ListConversionSourcesRequest request)

public ListenableFuture<ListConversionSourcesResponse> listConversionSources(ListConversionSourcesRequest request)

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

Parameter
Name Description
request ListConversionSourcesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListConversionSourcesResponse>

undeleteConversionSource(UndeleteConversionSourceRequest request)

public ListenableFuture<ConversionSource> undeleteConversionSource(UndeleteConversionSourceRequest request)

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

Parameter
Name Description
request UndeleteConversionSourceRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ConversionSource>

updateConversionSource(UpdateConversionSourceRequest request)

public ListenableFuture<ConversionSource> updateConversionSource(UpdateConversionSourceRequest request)

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

Parameter
Name Description
request UpdateConversionSourceRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ConversionSource>