Interface ReachPlanServiceGrpc.AsyncService

All Known Implementing Classes:
ReachPlanServiceGrpc.ReachPlanServiceImplBase
Enclosing class:
ReachPlanServiceGrpc

public static interface ReachPlanServiceGrpc.AsyncService
 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.
 
  • Method Details

    • listPlannableLocations

      default 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

      default 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

      default 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]()