Class BenchmarksServiceGrpc.BenchmarksServiceFutureStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<BenchmarksServiceGrpc.BenchmarksServiceFutureStub>
com.google.ads.googleads.v23.services.BenchmarksServiceGrpc.BenchmarksServiceFutureStub
Enclosing class:
BenchmarksServiceGrpc

public static final class BenchmarksServiceGrpc.BenchmarksServiceFutureStub extends io.grpc.stub.AbstractFutureStub<BenchmarksServiceGrpc.BenchmarksServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service BenchmarksService.
 BenchmarksService helps users compare YouTube advertisement data against
 industry benchmarks. Accessible to allowlisted customers only.
 
  • Method Details

    • build

      protected BenchmarksServiceGrpc.BenchmarksServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<BenchmarksServiceGrpc.BenchmarksServiceFutureStub>
    • listBenchmarksAvailableDates

      public com.google.common.util.concurrent.ListenableFuture<ListBenchmarksAvailableDatesResponse> listBenchmarksAvailableDates(ListBenchmarksAvailableDatesRequest request)
       Returns a date range that supports benchmarks.
       List of thrown errors:
         [AuthenticationError]()
         [AuthorizationError]()
         [FieldError]()
         [HeaderError]()
         [InternalError]()
         [QuotaError]()
         [RequestError]()
       
    • listBenchmarksLocations

      public com.google.common.util.concurrent.ListenableFuture<ListBenchmarksLocationsResponse> listBenchmarksLocations(ListBenchmarksLocationsRequest request)
       Returns the list of locations that support benchmarks (for example,
       countries).
       List of thrown errors:
         [AuthenticationError]()
         [AuthorizationError]()
         [FieldError]()
         [HeaderError]()
         [InternalError]()
         [QuotaError]()
         [RequestError]()
       
    • listBenchmarksProducts

      public com.google.common.util.concurrent.ListenableFuture<ListBenchmarksProductsResponse> listBenchmarksProducts(ListBenchmarksProductsRequest request)
       Returns the list of products that supports benchmarks.
       List of thrown errors:
         [AuthenticationError]()
         [AuthorizationError]()
         [FieldError]()
         [HeaderError]()
         [InternalError]()
         [QuotaError]()
         [RequestError]()
       
    • listBenchmarksSources

      public com.google.common.util.concurrent.ListenableFuture<ListBenchmarksSourcesResponse> listBenchmarksSources(ListBenchmarksSourcesRequest request)
       Returns the list of benchmarks sources (for example, Industry Verticals).
       List of thrown errors:
         [AuthenticationError]()
         [AuthorizationError]()
         [FieldError]()
         [HeaderError]()
         [InternalError]()
         [QuotaError]()
         [RequestError]()
       
    • generateBenchmarksMetrics

      public com.google.common.util.concurrent.ListenableFuture<GenerateBenchmarksMetricsResponse> generateBenchmarksMetrics(GenerateBenchmarksMetricsRequest request)
       Returns YouTube advertisement metrics for the given client against industry
       benchmarks.
       List of thrown errors:
         [AuthenticationError]()
         [AuthorizationError]()
         [BenchmarksError]()
         [FieldError]()
         [HeaderError]()
         [InternalError]()
         [QuotaError]()
         [RangeError]()
         [RequestError]()