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.
-
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) com.google.common.util.concurrent.ListenableFuture<GenerateBenchmarksMetricsResponse>Returns YouTube advertisement metrics for the given client against industry benchmarks.com.google.common.util.concurrent.ListenableFuture<ListBenchmarksAvailableDatesResponse>Returns a date range that supports benchmarks.com.google.common.util.concurrent.ListenableFuture<ListBenchmarksLocationsResponse>Returns the list of locations that support benchmarks (for example, countries).com.google.common.util.concurrent.ListenableFuture<ListBenchmarksProductsResponse>Returns the list of products that supports benchmarks.com.google.common.util.concurrent.ListenableFuture<ListBenchmarksSourcesResponse>Returns the list of benchmarks sources (for example, Industry Verticals).Methods inherited from class io.grpc.stub.AbstractFutureStub
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.BenchmarksServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.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]()
-