Class ConversionSourcesServiceGrpc.ConversionSourcesServiceBlockingStub (0.8.0)

public static final class ConversionSourcesServiceGrpc.ConversionSourcesServiceBlockingStub extends AbstractBlockingStub<ConversionSourcesServiceGrpc.ConversionSourcesServiceBlockingStub>

A stub to allow clients to do synchronous 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.AbstractBlockingStub > ConversionSourcesServiceGrpc.ConversionSourcesServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

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

createConversionSource(CreateConversionSourceRequest request)

public ConversionSource createConversionSource(CreateConversionSourceRequest request)

Creates a new conversion source.

Parameter
Name Description
request CreateConversionSourceRequest
Returns
Type Description
ConversionSource

deleteConversionSource(DeleteConversionSourceRequest request)

public 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
Empty

getConversionSource(GetConversionSourceRequest request)

public ConversionSource getConversionSource(GetConversionSourceRequest request)

Fetches a conversion source.

Parameter
Name Description
request GetConversionSourceRequest
Returns
Type Description
ConversionSource

listConversionSources(ListConversionSourcesRequest request)

public ListConversionSourcesResponse listConversionSources(ListConversionSourcesRequest request)

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

Parameter
Name Description
request ListConversionSourcesRequest
Returns
Type Description
ListConversionSourcesResponse

undeleteConversionSource(UndeleteConversionSourceRequest request)

public 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
ConversionSource

updateConversionSource(UpdateConversionSourceRequest request)

public 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
ConversionSource