Class AdServiceGrpc.AdServiceStub

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

public static final class AdServiceGrpc.AdServiceStub extends io.grpc.stub.AbstractAsyncStub<AdServiceGrpc.AdServiceStub>
A stub to allow clients to do asynchronous 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)
     
    void
    mutateAds(MutateAdsRequest request, io.grpc.stub.StreamObserver<MutateAdsResponse> responseObserver)
    Updates ads.

    Methods inherited from class io.grpc.stub.AbstractAsyncStub

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

      public void mutateAds(MutateAdsRequest request, io.grpc.stub.StreamObserver<MutateAdsResponse> responseObserver)
       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]()