Class DataLinkServiceGrpc.DataLinkServiceStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<DataLinkServiceGrpc.DataLinkServiceStub>
com.google.ads.googleads.v20.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.
 
  • Method Details

    • build

      protected DataLinkServiceGrpc.DataLinkServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.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]()
       
    • removeDataLink

      public void removeDataLink(RemoveDataLinkRequest request, io.grpc.stub.StreamObserver<RemoveDataLinkResponse> responseObserver)
       Remove a data link.
       List of thrown errors:
         [AuthenticationError]()
         [AuthorizationError]()
         [DatabaseError]()
         [DataLinkError]()
         [FieldError]()
         [HeaderError]()
         [InternalError]()
         [MutateError]()
         [QuotaError]()
         [RequestError]()
       
    • updateDataLink

      public void updateDataLink(UpdateDataLinkRequest request, io.grpc.stub.StreamObserver<UpdateDataLinkResponse> responseObserver)
       Update a data link.
       List of thrown errors:
         [AuthenticationError]()
         [AuthorizationError]()
         [DatabaseError]()
         [DataLinkError]()
         [FieldError]()
         [HeaderError]()
         [InternalError]()
         [MutateError]()
         [QuotaError]()
         [RequestError]()