Class DataLinkServiceGrpc.DataLinkServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<DataLinkServiceGrpc.DataLinkServiceFutureStub>
com.google.ads.googleads.v18.services.DataLinkServiceGrpc.DataLinkServiceFutureStub
- Enclosing class:
- DataLinkServiceGrpc
public static final class DataLinkServiceGrpc.DataLinkServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<DataLinkServiceGrpc.DataLinkServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service DataLinkService.
This service allows management of data links between a Google Ads customer and another data entity.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<CreateDataLinkResponse>createDataLink(CreateDataLinkRequest request) Creates a data link.Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected DataLinkServiceGrpc.DataLinkServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<DataLinkServiceGrpc.DataLinkServiceFutureStub>
-
createDataLink
public com.google.common.util.concurrent.ListenableFuture<CreateDataLinkResponse> createDataLink(CreateDataLinkRequest request) Creates a data link. The requesting Google Ads account name and account ID will be shared with the third party (such as YouTube creators for video links) to whom you are creating the link with. Only customers on the allow-list can create data links. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [DatabaseError]() [DataLinkError]() [FieldError]() [HeaderError]() [InternalError]() [MutateError]() [QuotaError]() [RequestError]()
-