Class CampaignServiceGrpc.CampaignServiceStub

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

public static final class CampaignServiceGrpc.CampaignServiceStub extends io.grpc.stub.AbstractAsyncStub<CampaignServiceGrpc.CampaignServiceStub>
A stub to allow clients to do asynchronous rpc calls to service CampaignService.
 Service to manage campaigns.
 
  • 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
    mutateCampaigns(MutateCampaignsRequest request, io.grpc.stub.StreamObserver<MutateCampaignsResponse> responseObserver)
    Creates, updates, or removes campaigns.

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

      public void mutateCampaigns(MutateCampaignsRequest request, io.grpc.stub.StreamObserver<MutateCampaignsResponse> responseObserver)
       Creates, updates, or removes campaigns. Operation statuses are returned.
       List of thrown errors:
         [AdxError]()
         [AuthenticationError]()
         [AuthorizationError]()
         [BiddingError]()
         [BiddingStrategyError]()
         [CampaignBudgetError]()
         [CampaignError]()
         [ContextError]()
         [DatabaseError]()
         [DateError]()
         [DateRangeError]()
         [DistinctError]()
         [FieldError]()
         [FieldMaskError]()
         [HeaderError]()
         [IdError]()
         [InternalError]()
         [ListOperationError]()
         [MutateError]()
         [NewResourceCreationError]()
         [NotAllowlistedError]()
         [NotEmptyError]()
         [NullError]()
         [OperationAccessDeniedError]()
         [OperatorError]()
         [QuotaError]()
         [RangeError]()
         [RegionCodeError]()
         [RequestError]()
         [ResourceCountLimitExceededError]()
         [SettingError]()
         [SizeLimitError]()
         [StringFormatError]()
         [StringLengthError]()
         [UrlFieldError]()