Class AdGroupAdServiceGrpc.AdGroupAdServiceFutureStub

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

public static final class AdGroupAdServiceGrpc.AdGroupAdServiceFutureStub extends io.grpc.stub.AbstractFutureStub<AdGroupAdServiceGrpc.AdGroupAdServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service AdGroupAdService.
 Service to manage ads in an ad group.
 
  • 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<MutateAdGroupAdsResponse>
    Creates, updates, or removes ads.
    com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
    Remove automatically created assets from an ad.

    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 AdGroupAdServiceGrpc.AdGroupAdServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<AdGroupAdServiceGrpc.AdGroupAdServiceFutureStub>
    • mutateAdGroupAds

      public com.google.common.util.concurrent.ListenableFuture<MutateAdGroupAdsResponse> mutateAdGroupAds(MutateAdGroupAdsRequest request)
       Creates, updates, or removes ads. Operation statuses are returned.
       List of thrown errors:
         [AdCustomizerError]()
         [AdError]()
         [AdGroupAdError]()
         [AdSharingError]()
         [AdxError]()
         [AssetError]()
         [AssetLinkError]()
         [AuthenticationError]()
         [AuthorizationError]()
         [CollectionSizeError]()
         [ContextError]()
         [DatabaseError]()
         [DateError]()
         [DistinctError]()
         [FeedAttributeReferenceError]()
         [FieldError]()
         [FieldMaskError]()
         [FunctionError]()
         [FunctionParsingError]()
         [HeaderError]()
         [IdError]()
         [ImageError]()
         [InternalError]()
         [ListOperationError]()
         [MediaBundleError]()
         [MediaFileError]()
         [MutateError]()
         [NewResourceCreationError]()
         [NotEmptyError]()
         [NullError]()
         [OperationAccessDeniedError]()
         [OperatorError]()
         [PolicyFindingError]()
         [PolicyValidationParameterError]()
         [PolicyViolationError]()
         [QuotaError]()
         [RangeError]()
         [RequestError]()
         [ResourceCountLimitExceededError]()
         [SizeLimitError]()
         [StringFormatError]()
         [StringLengthError]()
         [UrlFieldError]()
       
    • removeAutomaticallyCreatedAssets

      public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> removeAutomaticallyCreatedAssets(RemoveAutomaticallyCreatedAssetsRequest request)
       Remove automatically created assets from an ad.
       List of thrown errors:
         [AdError]()
         [AuthenticationError]()
         [AuthorizationError]()
         [AutomaticallyCreatedAssetRemovalError]()
         [HeaderError]()
         [InternalError]()
         [MutateError]()
         [QuotaError]()
         [RequestError]()