Class BenchmarksServiceGrpc.BenchmarksServiceStub

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

public static final class BenchmarksServiceGrpc.BenchmarksServiceStub extends io.grpc.stub.AbstractAsyncStub<BenchmarksServiceGrpc.BenchmarksServiceStub>
A stub to allow clients to do asynchronous 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.BenchmarksServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<BenchmarksServiceGrpc.BenchmarksServiceStub>
    • listBenchmarksAvailableDates

      public void listBenchmarksAvailableDates(ListBenchmarksAvailableDatesRequest request, io.grpc.stub.StreamObserver<ListBenchmarksAvailableDatesResponse> responseObserver)
       Returns a date range that supports benchmarks.
       List of thrown errors:
         [AuthenticationError]()
         [AuthorizationError]()
         [FieldError]()
         [HeaderError]()
         [InternalError]()
         [QuotaError]()
         [RequestError]()
       
    • listBenchmarksLocations

      public void listBenchmarksLocations(ListBenchmarksLocationsRequest request, io.grpc.stub.StreamObserver<ListBenchmarksLocationsResponse> responseObserver)
       Returns the list of locations that support benchmarks (for example,
       countries).
       List of thrown errors:
         [AuthenticationError]()
         [AuthorizationError]()
         [FieldError]()
         [HeaderError]()
         [InternalError]()
         [QuotaError]()
         [RequestError]()
       
    • listBenchmarksProducts

      public void listBenchmarksProducts(ListBenchmarksProductsRequest request, io.grpc.stub.StreamObserver<ListBenchmarksProductsResponse> responseObserver)
       Returns the list of products that supports benchmarks.
       List of thrown errors:
         [AuthenticationError]()
         [AuthorizationError]()
         [FieldError]()
         [HeaderError]()
         [InternalError]()
         [QuotaError]()
         [RequestError]()
       
    • listBenchmarksSources

      public void listBenchmarksSources(ListBenchmarksSourcesRequest request, io.grpc.stub.StreamObserver<ListBenchmarksSourcesResponse> responseObserver)
       Returns the list of benchmarks sources (for example, Industry Verticals).
       List of thrown errors:
         [AuthenticationError]()
         [AuthorizationError]()
         [FieldError]()
         [HeaderError]()
         [InternalError]()
         [QuotaError]()
         [RequestError]()
       
    • generateBenchmarksMetrics

      public void generateBenchmarksMetrics(GenerateBenchmarksMetricsRequest request, io.grpc.stub.StreamObserver<GenerateBenchmarksMetricsResponse> responseObserver)
       Returns YouTube advertisement metrics for the given client against industry
       benchmarks.
       List of thrown errors:
         [AuthenticationError]()
         [AuthorizationError]()
         [BenchmarksError]()
         [FieldError]()
         [HeaderError]()
         [InternalError]()
         [QuotaError]()
         [RangeError]()
         [RequestError]()