Class CampaignServiceGrpc.CampaignServiceStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<CampaignServiceGrpc.CampaignServiceStub>
com.google.ads.googleads.v21.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.
 
  • 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]()
       
    • enablePMaxBrandGuidelines

      public void enablePMaxBrandGuidelines(EnablePMaxBrandGuidelinesRequest request, io.grpc.stub.StreamObserver<EnablePMaxBrandGuidelinesResponse> responseObserver)
       Enables Brand Guidelines for Performance Max campaigns.
       List of thrown errors:
         [AuthenticationError]()
         [AssetError]()
         [AssetLinkError]()
         [AuthorizationError]()
         [BrandGuidelinesMigrationError]()
         [CampaignError]()
         [HeaderError]()
         [InternalError]()
         [MutateError]()
         [QuotaError]()
         [RequestError]()
         [ResourceCountLimitExceededError]()