Class ReachPlanServiceGrpc.ReachPlanServiceImplBase

  • All Implemented Interfaces:
    io.grpc.BindableService
    Enclosing class:
    ReachPlanServiceGrpc

    public abstract static class ReachPlanServiceGrpc.ReachPlanServiceImplBase
    extends java.lang.Object
    implements io.grpc.BindableService
     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.
     
    • Constructor Detail

      • ReachPlanServiceImplBase

        public ReachPlanServiceImplBase()
    • Method Detail

      • listPlannableLocations

        public void listPlannableLocations​(ListPlannableLocationsRequest request,
                                           io.grpc.stub.StreamObserver<ListPlannableLocationsResponse> responseObserver)
         Returns the list of plannable locations (for example, countries & DMAs).
         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]()
         
      • generateProductMixIdeas

        public void generateProductMixIdeas​(GenerateProductMixIdeasRequest request,
                                            io.grpc.stub.StreamObserver<GenerateProductMixIdeasResponse> responseObserver)
         Generates a product mix ideas given a set of preferences. This method
         helps the advertiser to obtain a good mix of ad formats and budget
         allocations based on its preferences.
         List of thrown errors:
           [AuthenticationError]()
           [AuthorizationError]()
           [HeaderError]()
           [InternalError]()
           [QuotaError]()
           [ReachPlanError]()
           [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]()
         
      • bindService

        public final io.grpc.ServerServiceDefinition bindService()
        Specified by:
        bindService in interface io.grpc.BindableService