Class AdServiceGrpc.AdServiceBlockingV2Stub

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

public static final class AdServiceGrpc.AdServiceBlockingV2Stub extends io.grpc.stub.AbstractBlockingStub<AdServiceGrpc.AdServiceBlockingV2Stub>
A stub to allow clients to do synchronous 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)
     
    Updates ads.

    Methods inherited from class io.grpc.stub.AbstractBlockingStub

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

      public 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]()