Interface ConversionSourcesServiceGrpc.AsyncService (0.12.0)

public static interface ConversionSourcesServiceGrpc.AsyncService

Service for managing conversion sources for a merchant account.

Methods

createConversionSource(CreateConversionSourceRequest request, StreamObserver<ConversionSource> responseObserver)

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