Class ReachPlanServiceGrpc.ReachPlanServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<ReachPlanServiceGrpc.ReachPlanServiceStub>
com.google.ads.googleads.v18.services.ReachPlanServiceGrpc.ReachPlanServiceStub
- Enclosing class:
- ReachPlanServiceGrpc
public static final class ReachPlanServiceGrpc.ReachPlanServiceStub
extends io.grpc.stub.AbstractAsyncStub<ReachPlanServiceGrpc.ReachPlanServiceStub>
A stub to allow clients to do asynchronous rpc calls to service ReachPlanService.
Reach Plan Service gives users information about audience size that can be reached through advertisement on YouTube. In particular, GenerateReachForecast provides estimated number of people of specified demographics that can be reached by an ad in a given market by a campaign of certain duration with a defined budget.
-
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) voidgenerateReachForecast(GenerateReachForecastRequest request, io.grpc.stub.StreamObserver<GenerateReachForecastResponse> responseObserver) Generates a reach forecast for a given targeting / product mix.voidlistPlannableLocations(ListPlannableLocationsRequest request, io.grpc.stub.StreamObserver<ListPlannableLocationsResponse> responseObserver) Returns the list of plannable locations (for example, countries).voidlistPlannableProducts(ListPlannableProductsRequest request, io.grpc.stub.StreamObserver<ListPlannableProductsResponse> responseObserver) Returns the list of per-location plannable YouTube ad formats with allowed targeting.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 ReachPlanServiceGrpc.ReachPlanServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<ReachPlanServiceGrpc.ReachPlanServiceStub>
-
listPlannableLocations
public void listPlannableLocations(ListPlannableLocationsRequest request, io.grpc.stub.StreamObserver<ListPlannableLocationsResponse> responseObserver) Returns the list of plannable locations (for example, countries). List of thrown errors: [AuthenticationError]() [AuthorizationError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]()
-
listPlannableProducts
public void listPlannableProducts(ListPlannableProductsRequest request, io.grpc.stub.StreamObserver<ListPlannableProductsResponse> responseObserver) Returns the list of per-location plannable YouTube ad formats with allowed targeting. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]()
-
generateReachForecast
public void generateReachForecast(GenerateReachForecastRequest request, io.grpc.stub.StreamObserver<GenerateReachForecastResponse> responseObserver) Generates a reach forecast for a given targeting / product mix. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [FieldError]() [HeaderError]() [InternalError]() [QuotaError]() [RangeError]() [ReachPlanError]() [RequestError]()
-