Class ConversionSourcesServiceGrpc.ConversionSourcesServiceStub (0.3.0)

public static final class ConversionSourcesServiceGrpc.ConversionSourcesServiceStub extends AbstractAsyncStub<ConversionSourcesServiceGrpc.ConversionSourcesServiceStub>

A stub to allow clients to do asynchronous 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.AbstractAsyncStub > ConversionSourcesServiceGrpc.ConversionSourcesServiceStub

Methods

build(Channel channel, CallOptions callOptions)

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

createConversionSource(CreateConversionSourceRequest request, StreamObserver<ConversionSource> responseObserver)

public void createConversionSource(CreateConversionSourceRequest request, StreamObserver<ConversionSource> responseObserver)

Creates a new conversion source.

Parameters
Name Description
request CreateConversionSourceRequest
responseObserver io.grpc.stub.StreamObserver<ConversionSource>

deleteConversionSource(DeleteConversionSourceRequest request, StreamObserver<Empty> responseObserver)

public void deleteConversionSource(DeleteConversionSourceRequest request, StreamObserver<Empty> responseObserver)

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.

Parameters
Name Description
request DeleteConversionSourceRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

getConversionSource(GetConversionSourceRequest request, StreamObserver<ConversionSource> responseObserver)

public void getConversionSource(GetConversionSourceRequest request, StreamObserver<ConversionSource> responseObserver)

Fetches a conversion source.

Parameters
Name Description
request GetConversionSourceRequest
responseObserver io.grpc.stub.StreamObserver<ConversionSource>

listConversionSources(ListConversionSourcesRequest request, StreamObserver<ListConversionSourcesResponse> responseObserver)

public void listConversionSources(ListConversionSourcesRequest request, StreamObserver<ListConversionSourcesResponse> responseObserver)

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

Parameters
Name Description
request ListConversionSourcesRequest
responseObserver io.grpc.stub.StreamObserver<ListConversionSourcesResponse>

undeleteConversionSource(UndeleteConversionSourceRequest request, StreamObserver<ConversionSource> responseObserver)

public void undeleteConversionSource(UndeleteConversionSourceRequest request, StreamObserver<ConversionSource> responseObserver)

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

Parameters
Name Description
request UndeleteConversionSourceRequest
responseObserver io.grpc.stub.StreamObserver<ConversionSource>

updateConversionSource(UpdateConversionSourceRequest request, StreamObserver<ConversionSource> responseObserver)

public void updateConversionSource(UpdateConversionSourceRequest request, StreamObserver<ConversionSource> responseObserver)

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

Parameters
Name Description
request UpdateConversionSourceRequest
responseObserver io.grpc.stub.StreamObserver<ConversionSource>