Class RecommendationServiceGrpc.RecommendationServiceFutureStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<RecommendationServiceGrpc.RecommendationServiceFutureStub>
com.google.ads.googleads.v18.services.RecommendationServiceGrpc.RecommendationServiceFutureStub
Enclosing class:
RecommendationServiceGrpc

public static final class RecommendationServiceGrpc.RecommendationServiceFutureStub extends io.grpc.stub.AbstractFutureStub<RecommendationServiceGrpc.RecommendationServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service RecommendationService.
 Service to manage recommendations.
 
  • Method Details

    • build

      protected RecommendationServiceGrpc.RecommendationServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<RecommendationServiceGrpc.RecommendationServiceFutureStub>
    • applyRecommendation

      public com.google.common.util.concurrent.ListenableFuture<ApplyRecommendationResponse> applyRecommendation(ApplyRecommendationRequest request)
       Applies given recommendations with corresponding apply parameters.
       List of thrown errors:
         [AuthenticationError]()
         [AuthorizationError]()
         [DatabaseError]()
         [FieldError]()
         [HeaderError]()
         [InternalError]()
         [MutateError]()
         [QuotaError]()
         [RecommendationError]()
         [RequestError]()
         [UrlFieldError]()
       
    • dismissRecommendation

      public com.google.common.util.concurrent.ListenableFuture<DismissRecommendationResponse> dismissRecommendation(DismissRecommendationRequest request)
       Dismisses given recommendations.
       List of thrown errors:
         [AuthenticationError]()
         [AuthorizationError]()
         [HeaderError]()
         [InternalError]()
         [QuotaError]()
         [RecommendationError]()
         [RequestError]()
       
    • generateRecommendations

      public com.google.common.util.concurrent.ListenableFuture<GenerateRecommendationsResponse> generateRecommendations(GenerateRecommendationsRequest request)
       Generates Recommendations based off the requested recommendation_types.
       List of thrown errors:
         [AuthenticationError]()
         [AuthorizationError]()
         [HeaderError]()
         [InternalError]()
         [QuotaError]()
         [RecommendationError]()
         [RequestError]()