Class DataLinkServiceGrpc.DataLinkServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<DataLinkServiceGrpc.DataLinkServiceStub>
com.google.ads.googleads.v18.services.DataLinkServiceGrpc.DataLinkServiceStub
- Enclosing class:
- DataLinkServiceGrpc
public static final class DataLinkServiceGrpc.DataLinkServiceStub
extends io.grpc.stub.AbstractAsyncStub<DataLinkServiceGrpc.DataLinkServiceStub>
A stub to allow clients to do asynchronous 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 TypeMethodDescriptionprotected DataLinkServiceGrpc.DataLinkServiceStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidcreateDataLink(CreateDataLinkRequest request, io.grpc.stub.StreamObserver<CreateDataLinkResponse> responseObserver) Creates a data link.Methods inherited from class io.grpc.stub.AbstractAsyncStub
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.DataLinkServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<DataLinkServiceGrpc.DataLinkServiceStub>
-
createDataLink
public void createDataLink(CreateDataLinkRequest request, io.grpc.stub.StreamObserver<CreateDataLinkResponse> responseObserver) 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]()
-