Class AdGroupAdServiceGrpc.AdGroupAdServiceStub

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

public static final class AdGroupAdServiceGrpc.AdGroupAdServiceStub extends io.grpc.stub.AbstractAsyncStub<AdGroupAdServiceGrpc.AdGroupAdServiceStub>
A stub to allow clients to do asynchronous 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)
     
    void
    mutateAdGroupAds(MutateAdGroupAdsRequest request, io.grpc.stub.StreamObserver<MutateAdGroupAdsResponse> responseObserver)
    Creates, updates, or removes ads.
    void
    removeAutomaticallyCreatedAssets(RemoveAutomaticallyCreatedAssetsRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
    Remove automatically created assets from an ad.

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

      public void mutateAdGroupAds(MutateAdGroupAdsRequest request, io.grpc.stub.StreamObserver<MutateAdGroupAdsResponse> responseObserver)
       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 void removeAutomaticallyCreatedAssets(RemoveAutomaticallyCreatedAssetsRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
       Remove automatically created assets from an ad.
       List of thrown errors:
         [AdError]()
         [AuthenticationError]()
         [AuthorizationError]()
         [AutomaticallyCreatedAssetRemovalError]()
         [HeaderError]()
         [InternalError]()
         [MutateError]()
         [QuotaError]()
         [RequestError]()