Class AdServiceGrpc.AdServiceFutureStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<AdServiceGrpc.AdServiceFutureStub>
com.google.ads.googleads.v18.services.AdServiceGrpc.AdServiceFutureStub
Enclosing class:
AdServiceGrpc

public static final class AdServiceGrpc.AdServiceFutureStub extends io.grpc.stub.AbstractFutureStub<AdServiceGrpc.AdServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service AdService.
 Service to manage ads.
 
  • 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 Type
    Method
    Description
    build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
     
    com.google.common.util.concurrent.ListenableFuture<MutateAdsResponse>
    Updates ads.

    Methods inherited from class io.grpc.stub.AbstractFutureStub

    newStub, newStub

    Methods inherited from class io.grpc.stub.AbstractStub

    getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • build

      protected AdServiceGrpc.AdServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<AdServiceGrpc.AdServiceFutureStub>
    • mutateAds

      public com.google.common.util.concurrent.ListenableFuture<MutateAdsResponse> mutateAds(MutateAdsRequest request)
       Updates ads. Operation statuses are returned. Updating ads is not supported
       for TextAd, ExpandedDynamicSearchAd, GmailAd and ImageAd.
       List of thrown errors:
         [AdCustomizerError]()
         [AdError]()
         [AdSharingError]()
         [AdxError]()
         [AssetError]()
         [AssetLinkError]()
         [AuthenticationError]()
         [AuthorizationError]()
         [CollectionSizeError]()
         [DatabaseError]()
         [DateError]()
         [DistinctError]()
         [FeedAttributeReferenceError]()
         [FieldError]()
         [FieldMaskError]()
         [FunctionError]()
         [FunctionParsingError]()
         [HeaderError]()
         [IdError]()
         [ImageError]()
         [InternalError]()
         [ListOperationError]()
         [MediaBundleError]()
         [MediaFileError]()
         [MutateError]()
         [NewResourceCreationError]()
         [NotEmptyError]()
         [NullError]()
         [OperatorError]()
         [PolicyFindingError]()
         [PolicyViolationError]()
         [QuotaError]()
         [RangeError]()
         [RequestError]()
         [SizeLimitError]()
         [StringFormatError]()
         [StringLengthError]()
         [UrlFieldError]()