Class CampaignServiceGrpc.CampaignServiceBlockingV2Stub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<CampaignServiceGrpc.CampaignServiceBlockingV2Stub>
com.google.ads.googleads.v19.services.CampaignServiceGrpc.CampaignServiceBlockingV2Stub
Enclosing class:
CampaignServiceGrpc

public static final class CampaignServiceGrpc.CampaignServiceBlockingV2Stub extends io.grpc.stub.AbstractBlockingStub<CampaignServiceGrpc.CampaignServiceBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service CampaignService.
 Service to manage campaigns.
 
  • Method Details

    • build

      protected CampaignServiceGrpc.CampaignServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<CampaignServiceGrpc.CampaignServiceBlockingV2Stub>
    • mutateCampaigns

      public MutateCampaignsResponse mutateCampaigns(MutateCampaignsRequest request)
       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 EnablePMaxBrandGuidelinesResponse enablePMaxBrandGuidelines(EnablePMaxBrandGuidelinesRequest request)
       Enables Brand Guidelines for Performance Max campaigns.
       List of thrown errors:
         [AuthenticationError]()
         [AssetError]()
         [AssetLinkError]()
         [AuthorizationError]()
         [BrandGuidelinesMigrationError]()
         [CampaignError]()
         [HeaderError]()
         [InternalError]()
         [MutateError]()
         [QuotaError]()
         [RequestError]()
         [ResourceCountLimitExceededError]()