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.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidgenerateBenchmarksMetrics(GenerateBenchmarksMetricsRequest request, io.grpc.stub.StreamObserver<GenerateBenchmarksMetricsResponse> responseObserver) Returns YouTube advertisement metrics for the given client against industry benchmarks.voidlistBenchmarksAvailableDates(ListBenchmarksAvailableDatesRequest request, io.grpc.stub.StreamObserver<ListBenchmarksAvailableDatesResponse> responseObserver) Returns a date range that supports benchmarks.voidlistBenchmarksLocations(ListBenchmarksLocationsRequest request, io.grpc.stub.StreamObserver<ListBenchmarksLocationsResponse> responseObserver) Returns the list of locations that support benchmarks (for example, countries).voidlistBenchmarksProducts(ListBenchmarksProductsRequest request, io.grpc.stub.StreamObserver<ListBenchmarksProductsResponse> responseObserver) Returns the list of products that supports benchmarks.voidlistBenchmarksSources(ListBenchmarksSourcesRequest request, io.grpc.stub.StreamObserver<ListBenchmarksSourcesResponse> responseObserver) Returns the list of benchmarks sources (for example, Industry Verticals).Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected BenchmarksServiceGrpc.BenchmarksServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.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]()
-