Class BenchmarksServiceGrpc.BenchmarksServiceBlockingV2Stub

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

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

      public ListBenchmarksAvailableDatesResponse listBenchmarksAvailableDates(ListBenchmarksAvailableDatesRequest request) throws io.grpc.StatusException
       Returns a date range that supports benchmarks.
       List of thrown errors:
         [AuthenticationError]()
         [AuthorizationError]()
         [FieldError]()
         [HeaderError]()
         [InternalError]()
         [QuotaError]()
         [RequestError]()
       
      Throws:
      io.grpc.StatusException
    • listBenchmarksLocations

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

      public ListBenchmarksProductsResponse listBenchmarksProducts(ListBenchmarksProductsRequest request) throws io.grpc.StatusException
       Returns the list of products that supports benchmarks.
       List of thrown errors:
         [AuthenticationError]()
         [AuthorizationError]()
         [FieldError]()
         [HeaderError]()
         [InternalError]()
         [QuotaError]()
         [RequestError]()
       
      Throws:
      io.grpc.StatusException
    • listBenchmarksSources

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

      public GenerateBenchmarksMetricsResponse generateBenchmarksMetrics(GenerateBenchmarksMetricsRequest request) throws io.grpc.StatusException
       Returns YouTube advertisement metrics for the given client against industry
       benchmarks.
       List of thrown errors:
         [AuthenticationError]()
         [AuthorizationError]()
         [BenchmarksError]()
         [FieldError]()
         [HeaderError]()
         [InternalError]()
         [QuotaError]()
         [RangeError]()
         [RequestError]()
       
      Throws:
      io.grpc.StatusException