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.
-
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) Returns YouTube advertisement metrics for the given client against industry benchmarks.Returns a date range that supports benchmarks.Returns the list of locations that support benchmarks (for example, countries).Returns the list of products that supports benchmarks.Returns the list of benchmarks sources (for example, Industry Verticals).Methods inherited from class io.grpc.stub.AbstractBlockingStub
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.BenchmarksServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.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
-